Monday, April 11, 2011

JAX-WS with JBoss 6 Day 11 : RESTful

Web services have become a standard way to achieve interoperability between systems. There are two main approaches for developing web services; one is by using the Simple Object Access Protocol (SOAP) and the other is by using the Representational State Transfer (REST) architecture style.

Services built using the REST architecture style (termed as RESTful services) encapsulate data in a simple XML form and transport it over HTTP just like a web page request to the web server. This simplifies the development of web services without imposing overheads caused by the SOAP-based development approach. RESTFul web services are particularly useful when it is only necessary to transmit and receive simple XML messages.

For JBoss 6 Final , Apache CXF JAX-RS implementation is not included and JBoss official suggests to use RestEasy which already shipped with JBoss 6 M4 or higher.

1. web service

2. web xml

3. jaxb is used for java and xml mapping

4. test case

5. maven pom

1 comment:

Liam Rowe said...

Providing effective Website Development Dubai web design to improve the customers for websites. Business people develop websites for world wide business. Giving impressible graphics to website full fill the customer needs.