Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RESTful Web Service using tomcat

 
thilsen kumar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WADL lets you build clients for RESTful services by describing its interface. It's the same idea that's behind WSDL for SOAP services.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic