Английская Википедия:Commons Daemon

Материал из Онлайн справочника
Версия от 18:53, 20 февраля 2024; EducationBot (обсуждение | вклад) (Новая страница: «{{Английская Википедия/Панель перехода}} {{more citations needed|date=June 2023}} {{Infobox software | name = Commons Daemon | logo = | screenshot = | caption = | developer = Apache Software Foundation | latest release version = 1.3.4<ref>{{cite web | url=https://commons.apache.org/proper/commons-daemon/changes-report.html | title=Daemon – Apache Commons Daemon Release Notes }}</ref> | latest release date = {{Start d...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигацииПерейти к поиску

Шаблон:More citations needed Шаблон:Infobox software Commons Daemon, formerly known as JSVC, is a Java software library belonging to the Apache Commons 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.

Шаблон:Apache Software Foundation

References

Шаблон:Reflist