Use of JCP site is subject to the
JCP Terms of Use and the
Oracle Privacy Policy
|
JSRs: Java Specification Requests
JSR 96: JavaTM Daemons
This JSR has been Withdrawn
Identification |
Request |
Contributions
Section 1. Identification
Specification Lead: Thomas Kopp
Initial Expert Group Membership:
Section 2: Request
The Java platform has currently no suitable tools for developing and deploying
independently running services like UNIX daemons in a uniform cross-platform
fashion. System level services, however, are an essential need on each
server platform. Developers are left alone when the question arises, how
to install Java services on a given platform. This dilemma is caused by
differences in handling system level services on the individual platforms,
e.g. Unix versa NT. In addition, some platforms, e.g. Windows 95, are completely
missing such functionality.
The Java daemon framework should fill this gap. The proposal consists
of interfaces and classes for developing and deploying independently running
services using the Java language and tools, only. In addition, the framework
contains an SPI for providing suitable containers in order to host Java
daemons.
Daemon containers may be supplied on both, the Java platform and native
platforms.
Daemons are required on arbitrary platforms. The server platform would,
however, be the typical target environment. The Java community would obtain tools for developing and deploying any
kind of platform-independent services without having to integrate the Java
application launcher with platform-specific handling routines, e.g. using
native scripting and/or other wrapping techniques. Using the current JDK, developers are still forced to deal with platform-dependent
interfaces and deployment facilities if they want to establish simple services
beyond high-level application container frameworks like EJB. The framework would consist of a common notion of system level services
available on each platform. Native platforms, which are completely missing
a notion of service, would be equipped with a maximum functionality available
on the basis of the tools proposed for hosting Java daemons.
The Java daemon framework would supply classes, interfaces and command
line tools
2.6 Is there a proposed package name for the API Specification? (i.e., javapi.something, org.something, etc.)
2.7 Does the proposed specification have any dependencies on specific operating systems, CPUs, or I/O devices that you know of?No. 2.8 Are there any security issues that cannot be addressed by the current security model?No. 2.9 Are there any internationalization or localization issues?Existing standard Java internationalization APIs will be sufficient. 2.10 Are there any existing specifications that might be rendered obsolete, deprecated, or in need of revision as a result of this work?No. Current Java tools, however, e.g. rmid may benefit from the new API and could be re-designed for also running as Java daemons. 2.11 Please describe the anticipated schedule for the development of this specification.Initiation: November 2000.
Further schedule will depend on the review process. Section 3: Contributions
3.1 Please list any existing documents, specifications, or implementations that describe the technology. Please include links to the documents if they are publicly available.A first document containing specifications and source code fragments is attached to the JSR as a PDF file. The complete source code is attached to the JSR as a zip archive. 3.2 Explanation of how these items might be used as a starting point for the work.The document attached shows a first structural notion of Java daemons. The compiled sources can already be used for implementing samples. This starting point might encourage participants to join the expert group. In addition, the sources form a fully functioning preliminary RI for the NT platform. A Unix RI would result from an analogous mapping of the proposed interfaces to the semantics of rc init scripts. |