我们可以在jdk 1.5上运行resteasy吗

发布于 2024-10-10 16:32:18 字数 250 浏览 0 评论 0原文

我想在 jdk 1.5 上运行 Resteasy,但它需要 1.6。 看这个:在“取决于”类别中查看jdk版本。有没有办法使用 jdk 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

若水般的淡然安静女子 2024-10-17 16:32:18

是的,你可以
它可移植到任何在 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参见概览-->特征。

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.

说谎友 2024-10-17 16:32:18

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

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.

财迷小姐 2024-10-17 16:32:18

官方文档另有说明:

可移植到任何在 JDK 5 或更高版本上运行的应用程序服务器/Tomcat

The official documentation says otherwise:

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文