Example projects for RESTEasy services and clients
This repository features two pairs of projects:
SimpleClientandSimpleServiceAdderClientResteasyandAdderServiceResteasy
The Simple projects show the minimal set of capabilities, whereas the RESTEasy projects illustrate some of JAX-WS' features.
Running the Simple projects
To run the Simple projects, proceed as follows.
- Clone this repository to a temporary folder.
- Import the project as described in the Java EE tutorial.
- Once you published the Simple projects onto your application server and started the server, your adder service is accessible under http://localhost:8080/SimpleService/ (replace
localhostwith your Docker-IP, when using Docker Toolbox). - Try changing the query parameters of the URI, i.e. .../?first=3&second=5.
- Also try the sample client that uses the simple service.
Running the advanced project
To run the advanced projects (AdderClientResteasy and AdderServiceResteasy), proceed as follows.
- Clone this repository to a temporary folder.
- Import the project as described in the Java EE tutorial.
- Once you published your projects onto your application server and started the server, your adder service is accessible under http://localhost:8080/AdderServiceResteasy/api/ (replace
localhostwith your Docker-IP, when using Docker Toolbox). - Try changing parts of the URI, i.e. .../api/add/1/3/. Also try to send different Accept-Header using a curl-like tool such as httpie, REST Console for Chrome, or RESTClient for Firefox to see how the resource responds with different representations.
- Also try the sample client that uses the RESTEasy web service.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
