开发者

Can we run resteasy on jdk 1.5

开发者 https://www.devze.com 2023-02-02 09:54 出处:网络
I want to run Resteasy on jdk 1.5 but it requires 1.6 instead. see this: look at jdk version in \"d开发者_开发知识库epends on\" category. Is there a way to run/compile the sources with jdk 5.? Please

I want to run Resteasy on jdk 1.5 but it requires 1.6 instead. see this: look at jdk version in "d开发者_开发知识库epends on" category. Is there a way to run/compile the sources with jdk 5.? Please help.


Yes You can It is Portable to any app-server/Tomcat that runs on JDK 5 or higher.

Features

* 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

Reference: http://jboss.org/resteasy See OverView--> Features.


The jars that you get from the site are compiled with Java 1.6 (at least the 2.1.0.GA release). The key term here is "portable", which I'm interpreting to mean you have to recompile the project from scratch to get the 1.5 version.


The official documentation says otherwise:

Portable to any app-server/Tomcat that runs on JDK 5 or higher

0

精彩评论

暂无评论...
验证码 换一张
取 消