2011-01-05 42 views

回答

1

是的您可以 对于在JDK 5或更高版本上运行的任何应用程序服务器/ Tomcat是便携的。

特点

* Fully certified JAX-RS implementation 
* Portable to any app-server/Tomcat that runs on JDK 5 or higher 
* Embeddedable server implementation for junit testing 
* Client framework that leverages JAX-RS annotations so that you can write HTTP clients easily (JAX-RS only defines server bindings) 
* Client "Browser" cache. Supports HTTP 1.1 caching semantics including cache revalidation 
* Server in-memory cache. Local response cache. Automatically handles ETag generation and cache revalidation 
* Rich set of providers for: XML, JSON, YAML, Fastinfoset, Multipart, XOP, Atom, etc. 
* JAXB marshalling into XML, JSON, Jackson, Fastinfoset, and Atom as well as wrappers for maps, arrays, lists, and sets of JAXB Objects. 
* GZIP content-encoding. Automatic GZIP compression/decompression suppport in client and server frameworks 
* Asynchronous HTTP (Comet) abstractions for JBoss Web, Tomcat 6, and Servlet 3.0 
* Asynchronous Job Service. 
* Rich interceptor model. 
* EJB, Seam, Guice, Spring, and Spring MVC integration 

参考:http://jboss.org/resteasy参见概述 - >功能。

+1

那么,这是不是真的了..现在在他们的网站上,你可以看到它 - >便携式的任何应用程序服务器/运行在JDK 6或更高版本上的Tomcat – Aitor 2013-04-02 09:48:12

1

将瓶子与Java 1.6(编译至少2.1.0.GA版本)。这里的关键术语是“便携式”,我正在解释这意味着您必须从头开始重新编译项目以获得1.5版本。

+0

所以,你的意思是我需要获得所有相应的源代码代码为Resteasy然后重新编译?如果是的话,我从哪里得到代码? – Anand 2011-03-21 07:06:20