Win a copy of Spark in Action this week in the Open Source Projects 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
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.

 
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.
 
Author and all-around good cowpoke
Posts: 13078
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
 
Always look on the bright side of life. At least this ad is really tiny:
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
    Bookmark Topic Watch Topic
  • New Topic