This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons 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
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
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.


Ping & DNS - my free Android networking tools 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
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
WADL lets you build clients for RESTful services by describing its interface. It's the same idea that's behind WSDL for SOAP services.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: RESTful Web Service using tomcat
 
Similar Threads
Create Session in Restful Service.
How to create Rest based WEb service
New to web service
RESTful web services
Expose Database as Webservice