This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Is javaranch  server idempotent?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Is javaranch  server idempotent??" Watch "Is javaranch  server idempotent??" New topic
Author

Is javaranch server idempotent??

samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160
i want to asked is java server idempotent
i find many times .
javaranch server helpingapplication are not idempotent
they take the same request.
again and again
anyone please comment on this
Amit Saini
Ranch Hand

Joined: Oct 20, 2004
Posts: 280
It's not the server that is idempotent or not. It's the HTTP method that gets this quality. All methods other than POST are idempotent. Meaning, you can call them again and again without side effects. For POST, you need to write code to take care of this or else you'll find that your database contains loads of duplicate entries (caused by someone hitting submit again and again)!
That is what is my understanding from HFSJ.
Hope that helps.
Amit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is javaranch server idempotent??