Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile 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
  • 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
  • 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
  • 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: 13055
6
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic