aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Idempotent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Idempotent" Watch "Idempotent" New topic
Author

Idempotent

Tom Tolman
Ranch Hand

Joined: Sep 02, 2004
Posts: 83
On the bottom of page 114 of HFSJ it says "The Http 1.1 spec declared GET, HEAD, and PUT as idempotents, even though you CAN write a non idempotent doGet() method yourself (but shouldn't). POST is considered idempotent by the HTTP 1.1 spec."

Then immediately it says "POST is not idempotent"

Is the first paragraph last line a typo, or is it that they are making a distinction between intention of server response vs the actuality of correct server response?
Chandra Atla
Ranch Hand

Joined: Jul 21, 2004
Posts: 91
Hi Tom,

The first paragraph's last line a typo. It's documented in the HFSJ errata.

Here is the link to HFSJ Errata.

http://www.oreilly.com/catalog/headservletsjsp/errata/

Thanks,
Chandra
Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378
POST is non-idempotent


From NickyEng
Diploma in Computer Studies
SCJP 1.4
SCWCD 1.4
Formula 1 app by Maxis (Playbook)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Idempotent