469,267 Members | 1,039 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,267 developers. It's quick & easy.

Run .Java as a Windows-service?

Bas
Hi Guru's,

Does anyone know how to 'convert' a .java-program to a Windows XP Service?

Someone wrote a Java application to copy records from an external database
to a MySQL database running on the local machine. This program is started
with a batchfile with the command "JAVA PROGRAM.JAVA". This batchfile runs
automatically at login (it's in the startup-folder). The problem is you
always have to log on to start the program. I'd rather would like to have it
running as a service.

As an additional problem; the application generates output wich is important
to see.
Thanks, Bas.
Apr 6 '06 #1
4 28492
"Bas" <nospam> wrote in news:44**********************@text.nova.planet.nl:
Hi Guru's,

Does anyone know how to 'convert' a .java-program to a Windows XP
Service?


I have seen programs available on the web to do this. I don't recall their
names, but Google and AltaVista are your friends.

A search on AltaVista requiring all three words java, windows and service
returned many hits, with several of the first 50 hits being free software to
provide this service.

--
Ian Shef 805/F6 * These are my personal opinions
Raytheon Company * and not those of my employer.
PO Box 11337 *
Tucson, AZ 85734-1337 *
Apr 6 '06 #2
Bas wrote:
Hi Guru's,

Does anyone know how to 'convert' a .java-program to a Windows XP Service?


There are several free tools for this. I've had good experiences so far
with http://jslwin.sourceforge.net/

--
Cheers,
Herman Jurjus
May 20 '06 #3
On Sat, 20 May 2006 08:42:18 +0200, Herman Jurjus <h.******@hetnet.nl>
wrote:
Bas wrote:
Hi Guru's,

Does anyone know how to 'convert' a .java-program to a Windows XP Service?


There are several free tools for this. I've had good experiences so far
with http://jslwin.sourceforge.net/


I can highly recommend Java Service Wrapper. Supports running both as
Windows service, or as UNIX daemon.

http://wrapper.tanukisoftware.org/do...roduction.html

Domchi

--
Ouroboros ltd. - http://www.ouroboros.hr
Antispam: to reply, remove extra monkey from reply-to address.
May 20 '06 #4
Domagoj Klepac wrote:
On Sat, 20 May 2006 08:42:18 +0200, Herman Jurjus <h.******@hetnet.nl>
wrote:
>Bas wrote:
>>Hi Guru's,

Does anyone know how to 'convert' a .java-program to a Windows XP Service?
There are several free tools for this. I've had good experiences so far
with http://jslwin.sourceforge.net/

I can highly recommend Java Service Wrapper. Supports running both as
Windows service, or as UNIX daemon.

http://wrapper.tanukisoftware.org/do...roduction.html

Domchi
We are using Java Service Wrapper in the product. It works well except
that there are a few issues with BEA JRockit.

-William
Dec 14 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Gram | last post: by
1 post views Thread by de_subhadeep | last post: by
6 posts views Thread by Alan Brown | last post: by
8 posts views Thread by Beatrice Rutger | last post: by
8 posts views Thread by Scott | last post: by
12 posts views Thread by Von Clubusev | last post: by
2 posts views Thread by Janna | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.