0

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"
     }
      ]
     }
George Viju
  • 413
  • 1
  • 5
  • 23

2 Answers2

3

Take a look at below questions:

JAX-RS Frameworks

Jersey, Apache Wink and RESTEasy?

RestEasy?

and this comparision.

Hope will help.

Community
  • 1
  • 1
Tarek Hallak
  • 18,422
  • 7
  • 59
  • 68
1

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.

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Juned Ahsan
  • 67,789
  • 12
  • 98
  • 136