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.
Subtopics
Asynchronous processing
Coexistence of JAX-RS 2.0 with JAX-RS 1.1
WebSphere® Application Server traditional version 9 supports both Java™ API for RESTful Web Services (JAX-RS) 2.0 and JAX-RS 1.1 features. In version 9 and its later versions, you can switch among different JAX-RS providers.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.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.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).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.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 traditional V9.JAX-RS 2.0 integration with managed beans
Java API for RESTful Web Services (JAX-RS) 2.0 in WebSphere Application Server traditional supports the use of managed beans as root resource classes, providers, and application subclasses.JAX-RS 2.0 lifecycle support
Integrating JAX-RS 2.0 with Atom
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.


File name: rwbs_jaxrs2.0_goal_deploying.html