🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1003

one java app to another

#1003
From: Alan Shiers
Date: Thu, 27 Jun 2002 17:17
23 lines
1948 bytes
Hi there,

I'm wondering if it is possible to create a Java application that can
launch other Java applications without having to type "javaw
/somedirectory/some_subdirectory/myapp" everytime in the terminal
window?

For instance, I'm getting to learn a bit about Linux and they have a
command called "service".  This command is used in a terminal window to
start and stop applications from running.

Example: [root@localhost.localdomain]# service httpd start

My thought was to have a Java application called "jservice" that did the
same thing only dedicated to starting and stopping Java applications on
the computer. The "jservice" application could be tied to a database
which kept record of all Java applications on the computer and their
absolute path name for launching purposes.

Just want to tweek your brains a bit to see what you think of this idea?
What say you?  Any other ideas or comments welcome.

Alan
Technical Details
Message-ID: <3d233182$0$223$4d4ebb8e@read.news.nl.uu.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!supernews.com!news.cs.utwente.nl!newshunter!cosy.sbg.ac.at!fu-berlin.de!bnewspeer00.bru.ops.eu.uu.net!bnewsifeed02.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!read.news.nl.uu.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,a54d248e6767e8
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-07-03 10:19:17 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!supernews.com!news.cs.utwente.nl!newshunter!cosy.sbg.ac.at!fu-berlin.de!bnewspeer00.bru.ops.eu.uu.net!bnewsifeed02.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!read.news.nl.uu.net!not-for-mail
Date: Thu, 27 Jun 2002 13:17:13 -0400
From: Alan Shiers <ashiers@hfx.eastlink.ca>
Organization: Mustard Seed Software
X-Mailer: Mozilla 4.78 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api
Subject: one java app to another
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 23
Message-ID: <3d233182$0$223$4d4ebb8e@read.news.nl.uu.net>
NNTP-Posting-Host: ns.hiscom.nl
X-Trace: 1025716610 read.news.nl.uu.net 223 130.78.143.1
X-Complaints-To: abuse@nl.uu.net