Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am developing a webservice using JAVA to provide data using restful API(like facebook's graph API). Which Webservice can I use for developing this? In my Application I am handling large volume of data for processing.

When I give the URL https://mytestsevice.com/search?q=apple

The data should be get from Web Service as,

 {"testdata": [
  {
     "id": "9467508",
     "from": {
        "name": "Aguilar",
        "id": "100001732506711"
     },
     "message": "an apple a day keeps the doctor away"
     }
      ]
     }
share|improve this question
1  
What do you mean by "Which Webservice" ? –  null Jul 3 '13 at 4:55
    
@Tarek There are different Webservices like Apache axis, Jersey etc... From this which one I have to select for my application? –  George Viju Jul 3 '13 at 4:59
add comment

2 Answers

up vote 1 down vote accepted

You have multiple choices, all the frameworks are very light and able to handle requests at a good request per second rate. I have used jersey and resteasy, both of them have no performance bottlenecks. Probably the reason is that they don't do much except intercepting all the incoming request to their servlet and forward them to the appropriate mapped class. You will gain from the object to JSON or vice-versa mapping functionality as a bonus from these frameworks.

But you need to be careful with the business logic you will be writing, to get the desired performance. As I mentioned, there are no substantial overheads with any of the mentioned frameworks.

share|improve this answer
    
Thank you Juned Ahsan for your useful answer :) –  George Viju Jul 3 '13 at 5:05
add comment

Take a look at below questions:

JAX-RS Frameworks

Jersey, Apache Wink and RESTEasy?

RestEasy?

and this comparision.

Hope will help.

share|improve this answer
    
Thank you Tarek for your useful post :) –  George Viju Jul 3 '13 at 5:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.