https://github.com/pofallon/jersey2-akka-java
An example async Java REST API using Jersey 2 and Akka
https://github.com/pofallon/jersey2-akka-java
akka java jersey2 tomcat
Last synced: 6 months ago
JSON representation
An example async Java REST API using Jersey 2 and Akka
- Host: GitHub
- URL: https://github.com/pofallon/jersey2-akka-java
- Owner: pofallon
- Created: 2013-07-21T12:53:26.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-06-01T01:17:20.000Z (over 9 years ago)
- Last Synced: 2023-03-12T00:22:38.326Z (almost 3 years ago)
- Topics: akka, java, jersey2, tomcat
- Language: Java
- Homepage:
- Size: 24.4 KB
- Stars: 49
- Watchers: 5
- Forks: 25
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jersey2-akka-java
=================
An example asynchronous REST API written in Java using Jersey 2 and Akka 2.3
[](https://travis-ci.org/pofallon/jersey2-akka-java)
[](https://www.versioneye.com/user/projects/54bacfb5879d51106e000153)
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