Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Java service wrapper

Posted on 2010-08-19
4
Medium Priority
?
499 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 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

876 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