Solved

Java service wrapper

Posted on 2010-08-19
4
467 Views
Last Modified: 2013-11-23
Hi,

Can anyone recommend a good (preferably free to redistribute) wrapper for a java app.

Preferably fully wrapping the jar (not just launching it from another directory).

This is for an app to be run as a service (or daemon).

Thanks

Dbb
0
Comment
Question by:DBB
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
eicheled earned 500 total points
ID: 33476810
I have successfully used Java Service Wrapper from Tanuki -

http://wrapper.tanukisoftware.com/doc/english/introduction.html

0
 
LVL 2

Author Comment

by:DBB
ID: 33476860
How does this work, does is wrap the jar leaving an exe?
0
 
LVL 3

Expert Comment

by:eicheled
ID: 33477209
For windows, we deploy the 'application' as a folder that contains everything we need to run the application (a lib dir containing jars, a conf dir containing config files, etc). Then we configure the service wrapper (by way of it's predetermined configuration file) to include all the necessary files in it's classpath. The distribution contains scripts for running the app as a service, or running it directly as an exe via the wrapper.exe executable.

0
 
LVL 2

Author Comment

by:DBB
ID: 33499477
Thanks, any more with a more flexible distribution license?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now