I am new to Java web service and need to be familiar with REST and SOAP based web service for my project.
Can you please refer any book or any online tutorial link regarding it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Keep in mind that you have two things to learn:
Service design of RESTful web services: What makes a web service RESTful? What design decisions should you take or avoid when designing a REST service? REST services should be implementation agnostic; When you’re designing a REST service, you shouldn’t need to worry about whether you’re going to implement it in Ruby or Java or whatever else. I recommend the O’Reilly Cookbook.
How Do I implement a RESTful web service? If you need to use java, you’ll want to evaluate a few different frameworks to decide what’s right for you. I’ve outlined a few below.
Restlet is quite a popular java REST framework that has been around a while.
Spring REST might work well if you’re already using Spring in other areas.
I haven’t used DropWizard, but it seems really cool. If you’re looking for something pretty lightweight, I’d start here.
In terms of SOAP, from a java perspective Axis2 is certainly quite popular. You don’t say in your question whether or not you need a single service to support both SOAP and REST, but if you do, Axis2 will kinda do this.