Deploying JAX-RS 2.0 web applications
Deploying your web application archive (WAR) package onto the application server includes enabling and configuring JAX-RS 2.0 features, securing JAX-RS 2.0 resources and integrating JAX-RS 2.0 with other features.
Subtópicos
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Asynchronous processing
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Coexistence of JAX-RS 2.0 with JAX-RS 1.1
WebSphere® Application Server tradicional version 9 supports both Java™ API for RESTful Web Services (JAX-RS) 2.0 POJO and JAX-RS 1.1 features. In version 9 and its later versions, you can switch among different JAX-RS providers.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Configuring a resource to receive multipart/form-data parts from an HTML form submission in JAX-RS 2.0
HTML forms that transmit file data must be configured with the POST method and the multipart/form-data action. This data can be received in one of the two ways by the JAX-RS resource method that accepts it with the IBM Java API for RESTful Web Services (JAX-RS) implementation.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Configuring JAX-RS 2.0 client
For Java API for XML RESTful Web Services 2.0, you can configure the client to access REST endpoints. JAX-RS 2.0 introduces a new and standardized Client API so that you can make http requests to your remote RESTful web services.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Deploying JAX-RS 2.0 security
The following two topics describe how to deploy JAX-2.0 security on Lightweight Third-Party Authentication (LTPA) and Secure Sockets Layer (SSL).![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
JAX-RS 2.0 behavior changes
The JAX-RS 2.0 implementation contains some behavior changes. These changes might cause applications to behave differently or fail on JAX-RS 2.0 if the applications are upgraded from JAX-RS 1.1.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
JAX-RS 2.0 integration with EJB and CDI
Java API for RESTful Web Services (JAX-RS) 2.0 integrates with Enterprise JavaBeans (EJB) and Contexts and Dependency Injection (CDI) in WebSphere Application Server tradicional V9.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
JAX-RS 2.0 integration with managed beans
Java API for RESTful Web Services (JAX-RS) 2.0 in WebSphere Application Server tradicional supports the use of managed beans as root resource classes, providers, and application subclasses.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
JAX-RS 2.0 lifecycle support
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Integrating JAX-RS 2.0 with Atom
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
WADL2JAVA command
The wadl2java command line tool processes an existing Web Application Description Language (WADL) file and generates the required artifacts for developing Java API for RESTful Web Services (JAX-RS) web service applications. The wadl2java command line tool supports the top-down approach to developing JAX-RS web services. When you start with an existing WADL file, use the wadl2java command line tool to generate the required JAX-RS artifacts.
Tópico de Referência
Última atualização: July 9, 2016 5:22http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-base-dist&topic=rwbs_jaxrs2
Nome do arquivo: rwbs_jaxrs2.0_goal_deploying.html