running in the background

You are here

running in the background

6 posts / 0 new
Last post
tcosta
tcosta's picture
running in the background

Hello.

I'd like to know if it is possible and how to run the application as a Windows service running in the background.

Thanks in advance,
Tiago

heller
heller's picture

tcosta,

This is a pure java application. That means it is not possible to do this per default. But there are some tools out to convert java programs to windows services, e.g. the wrapper from tanuki software.

Because m-e-c as2 contains server and gui in one application I am not sure if creating this service wrapper will be successful. Anyway it would be great if you could try this and post your experiences.

Best regards
Heller

tcosta
tcosta's picture

Heller,
I've been testing the wrapper from tanuki software and, so far, it works great with your application.
For the record, I used the recommended and easiest integration method and it works fine.

Regards,
Tiago

heller
heller's picture

Tiago,

perfect. Would you mind to just post an overview of what you have done to set it up? This Windows service/unix demon question comes up fairly often and I am sure this will help the community a lot.

Regards
Heller

lstoumbos
lstoumbos's picture

I am a Linux user and want to create the program into a command line tool as well. Is there an easy way to get all the libraries I might need and the NetBeans Project Folder?

heller
heller's picture

There exists a zip archive in the download section that contains the jars, too. Just set them in Netbeans project properties as libraries and thats it. Would you mind to post you package to the addon section? I will see to enable attachments.

Heller