`

RESTEasy 系列 Chapter 1 Overview 概述

阅读更多

想使用一下RESTEasy,发现中文资料少的可怜,没办法只能看英文的官方原版文档了,顺便在这里记录下,方便日后查阅。

 

目前RESTEasy最新的版本是3.0-beta-3 因为是beta版本,所以这里使用的是2.3.5.Final,相应的该文档也是2.3.5.Final版本的文档。

 

我的目的只是看懂并理解原文档的意思,所以可能不是那么正确或语言组织也不是很到位,如果误导了你,见谅!

 

 

JAX-RS, JSR-311, 是一个新的JCP规范,它通过RESTful Web Services提供了一个Java API,基于HTTP协议。Resteasy是可移植的该规范的实现,它可以运行在任何的servlet容器中。

在JBoss应用服务器中可以更紧密的集成,在这种环境下将获得更好的用户体验。

JAX-RS只是一个服务器端的规范,Resteasy的创新带来了JAX-RS的客户端,通过RESTEasy JAX-RS客户端框架。此客户端框架允许你使用JAX-RS注解和接口代理映射远程服务器的HTTP请求。

 

· JAX-RS 实现

 

· 可移植到任何运行在JDK 5或更高版本的app-server/Tomcat

 

· Junit测试嵌入式服务器实现

 

· EJB 和 Spring 集成

 

·客户端框架使编写HTTP客户端变得容易(JAX-RS 只绑定在服务器端)

 

 

英文原版:

 

 

JAX-RS, JSR-311, is a new JCP specification that provides a Java API for RESTful Web Services over the HTTP protocol. Resteasy is an portable implementation of this specification which can run in any Servlet container. Tighter integration with JBoss Application Server is also available to make the user experience nicer in that environment. While JAX-RS is only a server-side specification, Resteasy has innovated to bring JAX-RS to the client through the RESTEasy JAX-RS Client Framework. This client-side framework allows you to map outgoing HTTP requests to remote servers using JAX-RS annotations and interface proxies.

 

 

  • JAX-RS implementation
  • Portable to any app-server/Tomcat that runs on JDK 5 or higher
  • Embeddable server implementation for junit testing
  • EJB and Spring integration
  • Client framework to make writing HTTP clients easy (JAX-RS only define server bindings)
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics