Developing JAX-RS web applications
Subtopics
Getting started with IBM JAX-RS
JAX-RS is a collection of interfaces and Java™ annotations that simplifies development of server-side REST applications. By using JAX-RS technology, Representational State Transfer (REST) applications are easier to develop and easier to consume when compared to other types of distributed systems.Setting up a development environment for JAX-RS applications
The application server provides command-line tools to develop web services clients and implementations that are based on the Java API for RESTful Web Services (JAX-RS) specification. You must set up your development environment before you start developing web services.Development and assembly tools
You can use an Integrated Development Environment to develop, assemble, and deploy Java Platform, Enterprise Edition (Java EE) modules for WebSphere® Application Server.Directory conventions
References in product information to app_server_root, profile_root, and other directories imply specific default directory locations. Become familiar with the conventions in use for WebSphere Application Server.Configuring JAX-RS web applications
Implementing clients that use the Apache Wink REST client
You can use the Apache Wink REST client to send requests and process responses from RESTful services. You can use the client API in Java programs to communicate with web services.Implementing a client by using the unmanaged RESTful web services JAX-RS 1.1 client
WebSphere Application Server provides a thin Java Platform, Standard Edition 6 (Java SE 6) RESTful web services client run time to enable application developers to quickly and easily create JAX-RS client applications. The Thin Client for JAX-RS with WebSphere Application Server is a stand-alone Java SE 6 client environment that enables running unmanaged JAX-RS RESTful web services client applications in a non-WebSphere environment to invoke JAX-RS RESTful web services that are hosted by the application server.Migrating a Feature Pack for Web 2.0 JAX-RS application to WebSphere Version 8
When packaging an application for the Feature Pack for Web 2.0, you must manually make the Java API for RESTful Web Services (JAX-RS) run time available on the application CLASSPATH. A common way of doing this is placing the JAX-RS runtime Java archive (JAR) files in the WEB-INF/lib directory of the web archive (WAR) module. In Version 8, the JAX-RS runtime environment is native to the application server. It is no longer necessary to manually add the path of the runtime libraries on the CLASSPATH. Migrating Web 2.0 applications to the native runtime environment simplifies packaging and deployment, and allows for future updates to take advantage of Java Platform, Enterprise Edition (Java EE) integration features.Disabling the JAX-RS runtime environment
Sometimes you must disable the Java API for RESTful Web Services (JAX-RS) runtime environment. When you disable the JAX-RS runtime environment, JAX-RS features are not available, including base JAX-RS runtime capabilities, Enterprise JavaBeans (EJB) runtime integration, Java Contexts and Dependency Injection (JCDI) runtime integration, and Servlet 3.0 web container integration.


File name: container_wbs_jaxrs_goal_developing.html