2011-01-05 44 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