This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Web Services and the fly likes RESTful Web Service using tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "RESTful Web Service using tomcat" Watch "RESTful Web Service using tomcat" New topic
Author

RESTful Web Service using tomcat

thilsen kumar
Greenhorn

Joined: Jul 10, 2007
Posts: 13
Hi,
I am new to web services. I want to create RESTful Web Service using java based application with using tomcat.

What are the technologies i need to use to create a simple application?

Thanks & Regards,
thilsen
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
Well, REST *is* the technology, and the Jersey library (on dev.java.net) is the reference implementation of the JAX-RS API (which is the standard Java API for RESTful web services). Jersey comes numerous code examples ranging from the simple to the complex. You don't need anything else besides its various support libraries to use it in a web app.
thilsen kumar
Greenhorn

Joined: Jul 10, 2007
Posts: 13
Hi Ulf Dittmer,
Thank you very much for your reply. Yes i found sample in jersey.
i downloaded jersey, executed sample /hello and /contacts.
then what is use of WADL here, how can i use WADL in this..

Thanks & Regards,
thilsen
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
WADL lets you build clients for RESTful services by describing its interface. It's the same idea that's behind WSDL for SOAP services.
 
 
subject: RESTful Web Service using tomcat
 
jQuery in Action, 3rd edition