Skip to content

nemolovich/NemoLightServer

Repository files navigation

NemoLightServer

A very light server. Using its owned Servlet definition. Using:

  • Spark to listen Web requests actions (like Servlets).
  • Freemarker to compile web pages (like JSP/JSF).

The project use the master module: NemoLightMaster (fr.nemolivich.apps.nemolight.nemolight-master) including submodules:

  • NemoLightAdminCommon (fr.nemolivich.apps.nemolight.nemolight-admin-common): definition of common admin code;
  • NemoLightServer (fr.nemolivich.apps.nemolight.nemolight-server): definition of Interfaces and Classes used to deploy applications;
  • NemoLightCore (fr.nemolivich.apps.nemolight.nemolight-core): server deployment manager;
  • NemoLightAdmin (fr.nemolivich.apps.nemolight.nemolight-admin): admin client to connect to server administration (console);
  • NemoLightAdminGUI (fr.nemolivich.apps.nemolight.nemolight-admin-gui): admin client to connect to server administration (GUI).

To create an application:

  • Create a maven project;
  • add the following dependency:
<dependency>
	<groupId>fr.nemolovich.apps.nemolight</groupId>
	<artifactId>nemolight-server</artifactId>
	<version>0.1</version>
	<scope>provided</scope>
</dependency>

To deploy an application:

  • Go to NemoLightCore module;
  • Put JAR file in the "deploy" folder (default ./deploy);
  • [ If the application depends of others libraries:
    • Extern JARS: put it in the folder "dependencies" (default ./dependencies);
    • Maven dependencies: If the dependencies are embedded in the pom.xml in JAR the deploy will download it (using MavenDependeciesDownloader); ]
  • Run Launcher in NemoLightCore.

About

Light deployment server in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages