aspose file tools*
The moose likes Web Services and the fly likes REST WebServices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "REST WebServices" Watch "REST WebServices" New topic
Author

REST WebServices

Pavan Koppolu
Greenhorn

Joined: Aug 05, 2011
Posts: 6
Hi,
Can anyone suggest me, how to learn REST Webservices in step by step process. why because i am a new comer to this REST Webservices.

Thanks
Pavan
Ganesan Ponnusamy
EPractice Labs Support
Ranch Hand

Joined: Nov 07, 2005
Posts: 249
Pavan,

In the REST architectural style, data and functionality are considered resources and are accessed using Uniform Resource Identifiers (URIs), typically links on the Web.

The resources are acted upon by using a set of simple, well-defined operations. The REST architectural style constrains an architecture to a client/server architecture and is designed to use a stateless communication protocol, typically HTTP.

Java EE 6 introduced new package to deal with RESTful webservices named JAX-RS.

Developing RESTful webservices by JAX-RS very simple with simple annotations like @PATH, @GET, @PUT, @POST, @DELETE, etc.

Refer Oracle's website and study JAX-RS tutorials, you will gain knowledge in RESTful webservices.

Good luck !!


Ganesan Ponnusamy Java Certification | Test Generator | OCAJP | OCPJP | OCEJWSD | EJB Certification
OCEJPAD | SCJD | SCWCD | SCBCD | SCDJWS | OCMJEA | Web Services Certification | SCMAD
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Again, I can recommend the tutorials on NetBeans.org: http://netbeans.org/kb/trails/web.html
Not only are there tutorials, but also a screencast on REST web services.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
Pavan Koppolu
Greenhorn

Joined: Aug 05, 2011
Posts: 6
Thank you for reply. i got some key points on restful web services based on your reply. Thanks a lot.


Regards
Pavan
thomas silver
Ranch Hand

Joined: Jun 20, 2003
Posts: 32
Ganesan Ponnusamy wrote:Pavan,

Java EE 6 introduced new package to deal with RESTful webservices named JAX-RS.



With the arrival of JAX-RS, when does one use Jersey or Apach CXF or Metro? What about Restlet? Thank you.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
I personally use the following criteria:
  • Jersey - When I want to use JAX-RS in a JavaEE environment or similar.
  • Apache CXF - When I want a web service stack that supports both JAX-WS and JAX-RS.
  • Metro - When I want a web service stack that supports JAX-WS.
  • Restlet - When I want to develop RESTful web services in a JavaSE environment.

  • Best wishes!
     
    jQuery in Action, 2nd edition
     
    subject: REST WebServices