aspose file tools*
The moose likes Web Services and the fly likes RESTful Webservice - What are the different ways to create it ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "RESTful Webservice - What are the different ways to create it ?" Watch "RESTful Webservice - What are the different ways to create it ?" New topic
Author

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

Kacee Saxena
Ranch Hand

Joined: Mar 04, 2008
Posts: 54
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

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!


My free books and tutorials: http://www.slideshare.net/krizsan
Kacee Saxena
Ranch Hand

Joined: Mar 04, 2008
Posts: 54
Thanks a lot

I will try to implement one using Jersey implementation.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RESTful Webservice - What are the different ways to create it ?