Solved

Java service wrapper

Posted on 2010-08-19
4
470 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
micro services vs rest web services 16 105
servlet  URL Rewriting 1 36
How to execute a Python program and gather return output in Java 2 30
Chrome and Firefox Java 5 31
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 Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

772 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