Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot

I will try to implement one using Jersey implementation.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic