Excelsior JET eases conversion of programs designed to run on the JVM into Windows services by providing a custom WinService API and necessary support in the compiler and runtime system.
The API is published at Maven Central to enable Maven and Gradle users to reference it from their projects and subsequently build those projects with Excelsior JET Maven and Gradle plugins.
The complete documentation for the API can be found in the "Windows Services" chapter of the Excelsior JET User's Guide.
Note: The API can be used only in conjunction with the Excelsior JET JVM, as other JVM implementations do not support it.
To include the WinService API in a Maven-based build, add the following dependency to the <dependencies>
section of your pom.xml
file:
<dependency>
<groupId>com.excelsiorjet</groupId>
<artifactId>excelsior-jet-winservice-api</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
To include the WinService API in a Gradle-based build, add the following dependency to your build.gradle
file:
dependencies {
compileOnly "com.excelsiorjet:excelsior-jet-winservice-api:1.0.0"
}
Support for Windows Services in Excelsior JET Maven and Gradle plugins will appear soon.