• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What things are required to develope JAX-Rs application

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have just started working with JAX-Rs web services.
I am trying to build one sample application using JAX-RS but I am not able to find out starting point for the same.

Is any one please help me for which jar's and all I need to import in my eclipse project for running REST application smoothly.
Any kind of help or pointers will be appreciated.


Thanks,
Navneet
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See if you find below information useful:

For basic information on REST Services -
http://java.sun.com/developer/technicalArticles/WebServices/restful/

I have tried Jersey for RESTful webservices once, which is easy to learn, implement and maintain. But you need to analyse it very well for your application. Links:
http://java.sun.com/javaee/6/docs/tutorial/doc/giepu.html
https://jersey.dev.java.net/use/getting-started.html
 
Ranch Hand
Posts: 69
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rest is a style of webservice when you deal directly with XML. A basic requirement for building a rest service is:
- A servlet which can handle http request.
- XML parser which can read the incoming XML messages and create response XML.

 
navneet rajput
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for reply Sanghmitra.

Actually,When I am trying to import following packages

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Response;

Then compiler is not able to find them.
so is there any specific library or jars I need to import.

Thanks in advance,
 
Sanghmitra Adhage
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm.. they are part of the JSR library... Normally when I have problem with imports, I use jarFinder.com :-)
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic