Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

edward3h/fcgi-with-graal

Repository files navigation

FCGI with Graal

This is my third in a series of attempts to be able to write web services in Java but still have them run on my basic shared hosting account. The most performant API available in that environment seems to be FCGI. I’m using Graal Native Image to target it.

Still under heavy development, don’t expect stability for now

Current Modules

cgi-api

Java interfaces for building a CGI web app against - pretty low level.

cgi-micronaut

Micronaut server support on top of cgi-api. Based on micronaut-servlet. No websocket support and minimal reactive programming support because it’s CGI!

cgi-servlet-container

Java Servlet support on top of cgi-api. With some big limitations!

libfcgi-graal

Implementation of cgi-api that uses Graal native CLibrary to link with libfcgi.

logback-native-patch

This is a workaround for a build issue with using Logback file appenders in Graal native image.

plain-cgi

Implementation of cgi-api using basic CGI semantics - environment variables, standard in and out.

standalone

Implementation of cgi-api in a standalone Java server application, mainly for testing because if you can run a Java server you probably don’t want the restrictions of this library!

test-cgi

Test web app built on cgi-api.

test-cli

Hello world app to test the native image build process.

test-javalin

A test app built with Javalin deployed into cgi-servlet-container. JTE is used for pre-compiled templates which get built into the native image.

test-micronaut

A test app built on Micronaut.

About

Java web service as native FCGI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •