Web Services Development -- resteasy 2.0
Original: chszs Copyright
Resteasy is the open source web services development framework of JBoss (RedHat) company, based on Java, based on rest architecture, is one of the best implementations of JAX-RS specifications. The latest version 2.0.0ga has just been released.
Resteasy can run in any servlet container and can be closely integrated with the JBoss application server, providing a good user experience. Resteasy also creatively brings the JAX-RS to the client, through the resteasy JAX-RS client framework, You can map HTTP requests to a remote server using JAX-RS annotations and interface proxies.
Compared with the previous version, resteasy has made a lot of improvements. The main features of 2.0ga are as follows:
1) fully certified by JAX-RS specifications;
2) It can be transplanted to any application server or Tomcat running JDK 5 or above;
3) embedded application servers used for JUnit testing;
4) The client framework supports JAX-RS annotations, making it very easy to write HTTP clients;
5) browser caching of the client; supports HTTP 1.1 cache syntax, including cache verification;
6) memory-level cache of the server; local response cache, automatic processing of etag generation and cache verification;
7) multiple formats are supported: XML, JSON, yaml, fastinfoset, multipart, xop, and atom;
8) jaxb can be grouped into XML, JSON, yaml, fastinfoset, atom, and other objects. It can also be encapsulated into objects such as jaing, array, list, and set of jaxb;
9) gzip content encoding. Both the client and server frameworks support automated gzip compression/decompression;
10) asynchronous HTTP abstraction, supporting JBoss web, Tomcat 6, and Servlet 3.0;
11) asynchronous Task Service;
12) rich interceptor models;
13) integration with EJB, seam, guice, spring MVC, etc.