This is a simple tutorial on how to create a simple JAX-RS Web Service in Java using Spring and Apache CXF. This service will be follow the request/response pattern, it will using HTTP POSTs which are formatted JSON requests and it will produce JSON responses.
This will run as a simple war file on Tomcat 7. In the tutorial we will using Eclipse for development. This will show you how to create a JAX-RS Web Service for managing User objects, you can fetch, insert, update and delete them. It will use an in-memory store to keep it simple.
The full source code for this project is available here on github.Continue reading "Simple JAX-RS Web Service in Java with Spring..." »