Help coderanch get a
new server
by contributing to the fundraiser

michael cheung

Greenhorn
+ Follow
since Apr 13, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by michael cheung

Restful api is stateless. (http://en.wikipedia.org/wiki/Representational_State_Transfer) You shouldn't use http session to store the state. You can do caching, but that should done in a distributed cache. The way i do pagination is doing through using a query parameter or header passing the page number and size. Hope this help.
13 years ago
You can also use Beanlib (http://beanlib.sourceforge.net/) to convert the hibernate persistence pojo back to your own dto.
14 years ago
We used rest in my company and when we did load test. we have about 12000 through/min for 10% cpu loads just for a simple login call. We used jaxb for xml marshall/unmarshall. This is just giving you a rough idea what the load look like.
15 years ago