Cricket Microservices Framework
You do not need to download a half of the Internet to have your job done


4.4MB fat jar, including external libraries
Java 13


Apache 2.0 licensed.
Hosted on GitHub.


Plain Old Java
Configuration over convention
No hidden magic

Cloud Ready

Services build with Cricket can be deployed in cloud environments that supports Java or Docker containers.

Hexagonal architecture

Implements the "ports and adapters" (hexagonal) architecture pattern. Event driven with a bit of dependency injection.

Embeded HTTP server

HTTP/S requests handled internally to serve both REST and HTML page calls.

Embeded databases

Ready to use, in-memory databases: key-value (no sql) and H2 Database (sql).
Simple switching to the use of an external database.

JSON handling

Automatic JSON serialization/deserialization.


One-time or repetitive tasks can be configured or created programatically.

Quick start

Running a static web page in 1 minute

  1. Open terminal window in the newly created directory
  2. Download the latest Cricket MSF library
  3. Create your web page file in www subfolder (www/index.html)
  4. Start the service
  5. Display your page in web browser at http://localhost:7070
  6. Call example status service API at http://localhost:7070/api/status
  7. Stop the service by pressing Ctrl-C in the terminal window

Example code:
mkdir myservice
cd myservice
mkdir www
echo "Hello World!">www/index.html
java -jar cricket.jar -r


Sponsor Cricket development

Cricket is available under the Apache 2.0 license, and you can use it for any application for free. I continue to provide new features and care about its quality, but it is not easy without financial backing. You can support Cricket's development using the following methods:


IT consulting services including software design and implementation.

Support in the implementation of microservices based on Cricket MSF.