This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Build a RESTful web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Build a RESTful web service" Watch "Build a RESTful web service" New topic
Author

Build a RESTful web service

Alvaro San Millan
Ranch Hand

Joined: Mar 31, 2011
Posts: 36
Hello everyone,

I am quite new with RESTful web services (not with SOAP-based WS), but I have been reading and researching a lot. The point is that there are a lot of tools and frameworks and I am confused.

I have to build a RESTful web service that retrieve an Employee resource in XML and JSON formats. Data for the Employee resources are given in txt files and the schema for the XML response "employee.xsd" is also given.

I have to use Java.

Any idea where can I start from?

Thanks in advance


OCPJP 6 98%
Palak Mathur
Ranch Hand

Joined: Jan 29, 2007
Posts: 313



For the starters try to understand what RESTful is all about. Following articles may help you in that. They will also give you reasonable points from where you can take clue to begin your application.

http://www.ibm.com/developerworks/webservices/library/ws-restful/
http://www.oracle.com/technetwork/articles/javase/index-137171.html


Palak Mathur | My Blog | TechJaunt | What is JavaRanch? | List of All FAQs
Alvaro San Millan
Ranch Hand

Joined: Mar 31, 2011
Posts: 36
Thanks for your answer. I am working on that
Palak Mathur
Ranch Hand

Joined: Jan 29, 2007
Posts: 313

Alvaro San Millan wrote:Thanks for your answer. I am working on that


All the best!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Build a RESTful web service