Nowadays Java is used more and more for server application development, and also backend processes for ETL purposes. For this, there is a need to run the Java program as Windows Service in Windows platform, or as a Unix daemon process. The tools described can be used both for Windows and Unix/Linux platforms.
Java Service Wrapper makes it possible to install a Java Application as a Windows NT Service. The scripts provided with the Wrapper also make it very easy to install those same Java Applications as daemon processes on UNIX systems.
The Wrapper correctly handles user log outs under Windows, service dependencies, and the ability to run services which interact with the desktop.
The following platforms are supported.
- aix - AIX
- freebsd - FreeBSD
- hpux, hpux64 - HP-UX, 32 and 64-bit versions.
- irix - SGI Irix
- linux - Linux kernels; 2.2.x 2.4.x, 2.6.x. Known to work with Debian and Red Hat, but should work with any distribution. Currently supported on both 32 and 64-bit x86, and 64-bit ppc systems.
- macosx - Macintosh OS X.
- osf1 - DEC OSF1.
- solaris - Sun OS, Solaris 7, 8, 9 and 10. Currently supported on both 32 and 64-bit sparc, and x86 systems.
- win32 - Windows NT, 2000, XP, and 2003.
Commons Daemon initially comes from Tomcat project. It is made of 2 parts. One written in C that makes the interface to the operating system and the other in Java that provides the Daemon API.
The binaries are provided for