I created a calm web service using spring hibernate MVC which return Json as response. For this I use the Jackson library. I am creating json from a bean class and I am using the hibernate approach to retrieve data from a MySQL server.
There are about 20 attributes in my bean class. The problem is that less records say 50-100, the response time is very fast, that is, within a second. But when the entries increase as 500 or more than it takes a lot of time to parse from bean to json, i.e. up to 25-30 seconds. However, hibernate - MySQL's answer is still very fast.
I deployed this web service on a local computer (i7 8 GB of RAM, window 7) on tomcat 7. What happens to Jackson ?? Any help would be appreciated.
user2749250
source
share