Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


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:

Build Status Maven Central


Throughput Graph


This module contains code originally published on 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:

Client "CORE"

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.

Client Servlet

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.

Client Portlet

This module contains code to directly bridge a FastCGI Service into a Portlet, so the FastCGI Service can be integrated into a Portlet Container.

Client Spring

This module contains code to allow integration with the Spring Framework.

Client bundled

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.


Credits go out to Julien Rialland who created the base version of the jFastCGI Project on Sourceforge:

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 guys / Open Market, Inc. is also some kind of BSD / public domain license
  • New code is licensed with the Apache Software License 2.