Example of Java Restful Server using JavaSE and Grizzly
Sample Java SE Restful Server (packaged in jar and not war) using the Grizzly implementation...
- Java
- JDK 1.8
- Maven
- Grizzly
The demo folder contain a built final jar with dependencies that you can run to have an idea on the application :
java -jar javase-restful-server-1.0-jar-with-dependencies.jar &
To use this code in your project or to start a new application using this approach you can type in terminal :
$ git clone https://github.com/nfriaa/javase-restful-server /your-local-path/your-project-name
;-)
__ _
/ _| (_)
_ __ | |_ _ __ _ __ _ __ _
| '_ \| _| '__| |/ _` |/ _` |
| | | | | | | | | (_| | (_| |
|_| |_|_| |_| |_|\__,_|\__,_|