Home/Modules/connector

connector

system module connector

Examples

lib/examples/connector

6 file(s)

SLeeLa Java Connector

The top-level connector/ module contains Java-side connectors, the JDK bridge, class and native-library loaders, HTTP servlet support, and deployment examples.

Requirements

Build and test

From the repository root:

make -C connector help
make -C connector clean
make -C connector all
make -C connector test
make -C connector jar

Compiled classes are written to connector/build/classes/, downloaded dependencies go under connector/build/deps/, and the packaged JAR is connector/build/dist/sleela-connector.jar. The repository's existing **/build/ ignore rule excludes these generated outputs from Git.

Install the JAR into a directory you control:

make -C connector install DESTDIR=/opt/sleela/connector

On Windows, use a GNU Make/POSIX shell environment such as MSYS2. If the Java tools require Windows classpath separators, pass CLASSPATH_SEP=';' to Make. This is a GNU Makefile, not an MSVC nmake file.

Targets

TargetDescription
all, build, compileCompile all Java connector sources
depsDownload Jakarta Servlet API 6.0.0
testRun JDK bridge conformance and deployment-file checks
conformanceRun SleelaJdkConformance with assertions enabled
jar, packageBuild the connector JAR
checkCheck required deployment files and validate web.xml XML
installCopy the JAR to an explicit DESTDIR
cleanRemove generated build output
helpList targets and overridable settings

HTTP deployment notes

The JAR includes compiled connector classes and the servlet implementation, but does not bundle a servlet container or the Jakarta Servlet API. Deploy the servlet in a compatible container such as Tomcat and follow the deployment guide. The Apache and Tomcat files in deploy/ are examples and must be reviewed for the target server, TLS settings, backend pipeline wiring, and operational policy before production use.

Security note

The class and native-library loaders enforce their documented allow-list and root policies, but loading native code executes with the process's privileges. Only allow trusted libraries and directories. This build does not sandbox native code.


SLeeLa

<p align="center"><img src="images/sleela/sleela-wordmark.svg" alt="SLeeLa — The Now. The Ingredient." width="560"></p> <p align="center"><img src="https://github.com/mearvk/SLeeLa/blob/master/images/sleela-programming-language-002.jpg" alt="SLeeLa Marketing Logo" width="560"></p>

Files 8