File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RESTful Webservice - What are the different ways to create it ?

 
Kacee Saxena
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello techies,

I want to know different ways of creating RESTful webservice.

Like a SOAP service can be created using
Axis , Axis2 , and other implementations. Also certain APIs- JAX -WS , JAX-RPC, JAXB, etc. are available.

Similarly, for REST, JAX -RS is available and one reference implementation - Jersey.

Query is - Can a REST based web service be created simply by using JAX -RS API , without Jersey ?

Please ignore , for such a dummy question.

 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
There are many implementations of the JAX-RS standard. Apart from Jersey, there is also Apache CXF and JBoss RESTeasy. Perhaps there are additional frameworks that now escapes my mind.
As far as I recall, the Restlets framework also implements JAX-RS.
Note that each framework also provide more or less additional functionality outside of the specification.
Best wishes!
 
Kacee Saxena
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot

I will try to implement one using Jersey implementation.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13044
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually the basic concepts are so simple that you can create a RESTful webservice with the standard library and servlet API.

Be sure to read Fielding's original dissertation surely one of the most quoted dissertations of all computer science.

Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic