Skip to content

Latest commit

 

History

History

README.md

Info

  • You need to setup lombok framework to your ide if you want to compile it inside your ide.
  • Another option is to remove the lombok annotations and generate getter/setter/toString/hashCode/equals methods manually
  • You need maven installed to be able to compile/package with provided pom.xml
  • 2.x projects uses resteasy 2.x version and 3.x projects uses resteasy 3.x version

resteasy-sample

This is a sample rest application build with the resteasy framework.

There is one resource defined which is called SampleResource. It is implementing CRUD operation for a simple object. Application does not have any persistence layer and returns randomly generated data for each request.

Following are the URL if you run it locally on port 8080 and with the default context root as resteasy-sample

REST ENDPOINTS

All endpoints are consuming/producing json

SampleEntity.json:

{ "id": 6694386226370551000, "field1": "3YXVmtcCLh", "field2": "9lRz8hegv2" }

resteasy-spring-sample

Updates the resteasy-sample project to use spring for injecting dependencies via applicationContext.xml file

resteasy-spring-sample-noxml

Updates the reasteasy-spring-sample project to use new annotation based configuration of spring

Load Test Details

  • Application is deployed on tomcat7 java7 installation
  • Before each test application server is restarted fresh
  • There is no other application deployed to tomcat7
  • Performed on a machine with Intel i7-3632QM CPU and 8GB RAM