Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Java service wrapper

Posted on 2010-08-19
4
Medium Priority
?
490 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

722 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