Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 857 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 857 Bytes

jersey2-akka-java

An example asynchronous REST API written in Java using Jersey 2 and Akka 2.3

Build Status Dependency Status

Key concepts

  • Instantiating an Akka ActorSystem at server startup and injecting it into each request
  • Fulfilling an asynchronous Jersey REST service invocation using Akka actors

How to run the example

  1. Clone this repository
  2. Run mvn tomcat7:run
  3. Visit http://localhost:9090/examples/doubler/2 via curl or your favorite browser

Prerequisites

  • JDK 7.x
  • Maven 3.x