This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes ReST with HTTP POST Method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "ReST with HTTP POST Method " Watch "ReST with HTTP POST Method " New topic

ReST with HTTP POST Method

Bob Nedwor
Ranch Hand

Joined: Aug 17, 2005
Posts: 215

I certainly hope that not too many (preferably none) of the questions on the SCDJWS 6 exam pertain to ReST services that use the HTTP POST method. In fact, even as more of a SOAP fan, I can understand why some services are better off as ReST, when using the HTTP GET method.

But trying to code a decent client that sends and receives an HTTP POST to a ReST Service, using Dispatch<source>.invoke() seems overly complex, error prone, not to mention the handling of the request on the server side.

Bob N
SCJP - 1.4
SCJD - (B&S) Used 1.5 And It Runs On Solaris10
SCWCD - Thanks to HFSJ!!
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1180
Is this a question?


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Bob Nedwor
Ranch Hand

Joined: Aug 17, 2005
Posts: 215

Yes. Sorry. I should have asked if anyone agrees. Or is it simply my lack of experience with Java Web Services?
I agree. Here's the link:
subject: ReST with HTTP POST Method