有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!


共 (3) 个答案

  1. # 1 楼答案

    您从该站点获得的JAR是使用Java1.6(至少是2.1.0.GA版本)编译的。这里的关键术语是“可移植”,我将其解释为您必须从头开始重新编译项目才能获得1.5版本

  2. # 2 楼答案

    是的,你可以 它可以移植到运行在JDK 5或更高版本上的任何应用服务器/Tomcat

    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
    

    参考资料:http://jboss.org/resteasy参见概述>;特征

  3. # 3 楼答案

    official documentation另有规定:

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