Download now Free registration required
Representational State Transfer (REST) describes any simple interface that transmits data over a standardized interface (such as HTTP) without an additional messaging layer, such as SOAP. Roy Fielding, the inventor of REST, said that the REST architectural style has been used to guide the design and development of the architecture for the modern Web. With WebLogic Server 10.3, instead of using a Servlet to implement a RESTful Web Service, the RESTful endpoints can be created as a JAX-WS Web Service. All requests to the RESTful endpoint are processed by the same method regardless of the HTTP method used (for example, HTTP GET, POST). With the help of this paper a simple location search application is used to demonstrate how to design and implement a RESTful Web Service using WebLogic Server 10.3. The Java application uses both JAX-WS and JAXB technologies to simplify the program development and deployment. RESTful Web Services are used widely in marsh-up and mobile applications where the resources are read-only and the SOAP envelope is not used. The simple location search application described in this article can be used for a marsh-up or a mobile application to locate a nearby city over the internet. It uses JAX-WS and JAXB technologies to simplify the development and deployment. This approach will let program to take a rest when developing RESTful Web Services.
- Format: HTML
- Size: 0 KB