Commons Daemon: Difference between revisions
m Fixed capitalization |
Faisal.akeel (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
==External links== |
==External links== |
||
* [http://jakarta.apache.org/commons/daemon/ The Commons Daemon home page] |
* [http://jakarta.apache.org/commons/daemon/ The Commons Daemon home page] |
||
{{Apache}} |
|||
[[Category:Java libraries]] |
[[Category:Java libraries]] |
||
[[Category:Apache Software Foundation projects]] |
[[Category:Apache Software Foundation projects]] |
Revision as of 15:21, 21 November 2006
![]() | This article provides insufficient context for those unfamiliar with the subject. |
Commons Daemon, formerly known as JSVC, is a Java software library belonging to the Apache Jakarta Project.
Daemon provides a portable means of starting and stopping a Java Virtual Machine (JVM) that is running server-side applications. Such applications often have additional requirements compared to client-side applications. For example, the servlet container Tomcat 4 would need to serialize sessions and shutdown web applications before the JVM process terminates.
Daemon comprises 2 parts: a native library written in C that interfaces with the operating system, and the library that provides the Daemon API, written in Java.
There are two ways to use Commons Daemon: by implementing the daemon interface or by calling a class that provides the required methods for daemon. For example, Tomcat-4.1.x uses the daemon interface and Tomcat-5.0.x provides a class whose methods are called by JSVC directly.