jFastCGI is the implementation of the FastCGI Protocol with the Java language.
The project gets build using Apache Maven 3 and is split into two main modules:
This module contains code originally published on http://www.fastcgi.com/ to allow simple Java Programs to expose their functionality to a FastCGI client.
In our code its main purpose is for Unit Testing, but you can of course use it to build your own applications that want to expose a FastCGI Interface.
This module contains code to access a FastCGI Service. Usually those services are written in other languages. A common example for a FastCGI Service is a PHP binary exposed through FastCGI.
The client module contains some submodules to ease your every day work:
This module contains the base code used to access a FastCGI Service. It abstracts the Request (including all headers), allows the request to be sent to the service and a Response to be received.
This module contains code to directly bridge a Java Servlet to a FastCGI Service, so that the FastCGI Service can be accessed through the Servlet.
This module contains code to directly bridge a FastCGI Service into a Portlet, so the FastCGI Service can be integrated into a Portlet Container.
This module contains code to allow integration with the Spring Framework.
This module creates a "bundled" or sometimes called "shaded" version of the project. The resulting JAR contains all classes from client-core, client-servlet, client-portlet and client-spring. Its supposed to be used by people that are not using Maven or another dependency resolver. See the download site for further details.
Dominik Dorn imported the source code from sourceforge using the git svn command and converted it into a full-blown maven project including submodules, sites, etc. The last commit (rev69) on the sourceforge project was in April 2012, its tagged as "v2.2_ref69_sourceforge" in our Git Repository.
The codebase currently has 3 (three) licenses.
- The code originally provided by Julien is BSD licensed (see LICENSE_JRIALLAND.txt)
- The code originally provided by the fastcgi.com guys / Open Market, Inc. is also some kind of BSD / public domain license
- New code is licensed with the Apache Software License 2.