Search code examples
javaresteasyjava-5

Can we run resteasy on jdk 1.5


I want to run Resteasy on jdk 1.5 but it requires 1.6 instead. see this: look at jdk version in "depends on" category. Is there a way to run/compile the sources with jdk 5.? Please help.


Solution

  • 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.