Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

About starting a separate new process in java application

Thread view: 
lightning - 22 Nov 2006 06:03 GMT
how to start up some servers or other applications separately by using
Runtime.exec or something  else ?
Just like the shell can do,is java app has this capability to achieve
my goal without jni?
It seems that java takes the total control the whole life of the
process it starts,how can we cut the umbilical cord gracefully?
rxreyn3@gmail.com - 25 Nov 2006 07:04 GMT
Is this app running inside of a J2EE container or stadalone? Are you
trying to daemonize something.  Meaning, if the original thread exits,
this new thread continues?

Ryan

> how to start up some servers or other applications separately by using
> Runtime.exec or something  else ?
> Just like the shell can do,is java app has this capability to achieve
> my goal without jni?
> It seems that java takes the total control the whole life of the
> process it starts,how can we cut the umbilical cord gracefully?
sgoo - 25 Nov 2006 08:08 GMT
ProcessBuilder? You can redirect input and output streams.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.