Security enhancement for JAX-RS 1.1.
针对JAX-RS 1.1 的安全增强。
Creating a JAX-RS web service resource.
创建JAX - RSweb服务资源。
All JAX-RS services require this annotation.
所有JAX - RS服务都需要这个注释。
Outputs a "Hello JAX-RS" message using MIME types text/plain.
使用MIME类型text/plain输出一条 "HelloJAX-RS"消息。
Now, how are these classes configured within a JAX-RS runtime?
那么,该如何在JAX - RS运行时内配置这些类呢?
JAX-RS helps to make the server implementation straightforward.
JAX - RS有助于服务器实现变得简单易懂。
Leverage JAX-RS API concepts and artifacts for the client side.
利用客户端的JAX - RSAPI概念和工件。
The /resources part will be used to specify a JAX-RS end point.
resources部分将用于指定JAX-RS 终端。
JAX-RS also provides a framework for building new functionality.
JAX - RS还提供了一个框架来构建新功能。
This article only touched upon some of the capabilities offered by JAX-RS.
本文只涉及了 JAX-RS 所能提供功能的一部分。
Serializes and de-serializes resources using configurable JAX-RS providers
使用可配置的JAX-RS提供者序列化和反序列化资源
Serializes and de-serializes resources using configurable JAX-RS providers.
使用可配置的JAX - RS提供者序列化和反序列化资源。
It is a fully certified and portable implementation of JAX-RS specification.
它是完全通过JAX - RS规范认证的一个可移植实现。
This is all you have to do to use JAX-RS to expose this class to web clients.
这就是要使用JAX - RS将类公开给客户端所要做的所有事情。
You need the models to be discovered so that JAX-RS can convert them to JSON.
您希望能找到这些模型,以便 JAX-RS能够将其转换为 JSON。
RESTEasy and JAX-RS exist to help you write RESTful web services and clients.
RESTEasy和JAX - RS存在有助于你编写RESTful的web服务和客户端。
Refer to the Download section for the source code of the JAX-RS resource used.
请参见下载部分获取使用的JAX-RS资源的源代码。
I ran the performance test separately on every JAX-RS implementation framework.
我分别在每个JAX - RS实现框架上运行这个性能测试。
So, what are the main areas used to compare these different JAX-RS implementations?
那么,应该使用那些主要领域来比较这些不同的JAX - RS实现呢?
Jersey is the reference implementation for JAX-RS, and it contains three major parts.
Jersey是JAX - rs的参考实现,它包含三个主要部分。
The next step is to find a runtime that supports the capabilities available in JAX-RS.
下一步是找到一个能够支持JAX - RS内的可用功能的运行时。
Of course, you need the DAOs to be discovered so that JAX-RS can route requests to them.
当然,需要找到 DAO以便JAX-RS能将请求路由到它们。
This file contains a list of all the classes and objects that JAX-RS is supposed to deploy.
这个文件包含JAX - RS应该部署的所有类和对象的列表。
Now that you understand the JPA part of Listing 4, let's talk about the JAX-RS aspects of it.
现在已经理解了清单4中jpa部分,我们再探讨其中的JAX - RS部分。
JAX-RS establishes a vernacular to describe resources as represented by its programming model.
JAX - RS建立了一种特殊的语言来描述资源,正如由其编程模型所表示的。
In the interface, you localize the JAX-RS annotations and add a class to implement the interface.
在接口中,您本地化JAX - RS注释并添加一个类来实现接口。
Therefore, use of a singleton instance for JAX-RS resources should be avoided unless carefully planned.
因此,除非仔细计划,否则应该避免使用JAX - RS资源的单例实例。
JAX-RS USES annotations to cut down on the amount of boiler plate code and provides a short hand notation.
JAX - RS使用注释来减少样板文件代码并提供一个简要的注释。
Hence, client architecture and framework become a crucial attribute when selecting a JAX-RS implementation.
因此,客户端架构和框架是选择JAX - RS实现的一个关键属性。
If multiple methods match a request URI, the JAX-RS selection algorithm is used to select the resource method.
如果有多个方法匹配某个请求uri,将使用JAX - RS选择算法来选择资源方法。
应用推荐