Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

REST WebServices

 
Pavan Koppolu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
MyExamCloud Support
Ranch Hand
Posts: 264
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !!
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Pavan Koppolu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic