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 / First Aid / July 2006

Tip: Looking for answers? Try searching our database.

Running a Java App as a Service

Thread view: 
Raga - 26 Jul 2006 11:26 GMT
Hi,

I have a pure java application which I want to run as a service. Any
suggestions on how to do it ? I saw some articles saying how to use JNI
to do it along with C code. But I am looking for  a pure Java solution.
Also, some said that -Xrs option of the 'java' command would help. But
when I ran the application with 'Xrs' option, I didn't notice any
difference from the run without the option.

Thanks.
Ingo R. Homann - 26 Jul 2006 12:04 GMT
Hi,

> I have a pure java application which I want to run as a service.

Some time ago, I used JSL (Java Service Launcher). It worked fine. (But
I do not know if it is limited to a certain java version. I used java
1.4, IIRC).

Ciao,
Ingo
Raga - 26 Jul 2006 12:27 GMT
Thanks for the pointer!

> Hi,
>
[quoted text clipped - 6 lines]
> Ciao,
> Ingo
IchBin - 26 Jul 2006 22:25 GMT
> Hi,
>
[quoted text clipped - 6 lines]
>
> Thanks.

You could look at 'Java Service Wrapper'.

http://wrapper.tanukisoftware.org

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA              http://weconsultants.phpnet.us
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)
Raga - 27 Jul 2006 14:18 GMT
Thanks!

I have doubts on the licensing of Apache Commons Daemon & Java Service
Wrapper.

Is it ok to bundle Java Service Wrapper with a company's proprietary
product & sell the product? Meaning say if a company product named
product-1 uses Java Service Wrapper to run as a Windows Service. Is it
ok to sell product-1 (naturally Java Service Wrapper has to be bundled
with it to enable it to be run as a Windows Service) as a proprietary
product?

Thanks.

> > Hi,
> >
[quoted text clipped - 17 lines]
> 'If there is one, Knowledge is the "Fountain of Youth"'
> -William E. Taylor,  Regular Guy (1952-)


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.