File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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??
 
Similar Threads
Why are 'PUT' and 'DELETE' considered idempotent?
Idempotent (again!!)
Why is PUT considered as idempotent..?
Why PUT is idempotent ?
IDEMPOTENT and NON-IDEMPOTENT