JAX-RS is a Java API for developing REST applications quickly. This standard API continues to gain support throughout the Java community. While JAX-RS provides a faster way of developing web applications than servlets, the primary goal of JAX-RS is to build RESTful services. JAX-RS 1.0 defines a server-side component API to build REST applications. IBM® JAX-RS provides an implementation of the JAX-RS (JSR 311) specification.
By using the principles of REST, your business applications can benefit from several advantages. RESTful services are generally simpler to develop and consume. Most RESTful services use well-defined standards for delivery such as HTTP. Because HTTP is a protocol that has RESTful properties, RESTful services gain scalability advantages that enable the service to serve different clients and interoperate with multiple services, while permitting future growth. Additionally, clients for RESTful services generally are not difficult to develop, yielding interoperability advantages because most RESTful services use common data representations such as XML and JSON.
By using JAX-RS technology, REST applications are simpler to develop, simpler to consume, and simpler to scale when compared to other types of distributed systems. Many popular and widely used Internet services have successfully provided RESTful APIs to their applications. Third parties have used various REST APIs to build their own businesses and applications.
JAX-RS capabilities are provided by the use of a servlet or a filter. When you configure the web.xml file of your web application and assemble the IBM JAX-RS implementation that is based on the Apache Wink framework into the library directory of your web application, your business application is now ready to use JAX-RS capabilities.
You have developed and deployed a JAX-RS web application on the application server.
In this information ...
Related concepts
Related tasks
Related reference
|
(Index) IBM Redbooks, demos, education, and more |