-
Jason Greene defends JAX-WS to Monson-Haefel (10 messages)
- Posted by: Joseph Ottinger
- Posted on: April 06 2006 14:35 EDT
In this blog entry entitled Taking RMH's JAX-WS Challenge, Jason Greene responds to another challenge of JAX-WS by Richard Monson-Haefel, with a workable implementation and walk-through of an Ebay web service from the server-side. He'd already done the same thing for the client-side, which generated a retraction -- and a challenge rephrased to point to the server side of JAX-WS instead.Threaded Messages (10)
- Jason Greene defends JAX-WS to Monson-Haefel by Brian Miller on April 06 2006 15:52 EDT
- SOAP & WS-* by Mike Herrick on April 06 2006 18:23 EDT
-
SOAP & WS-* by Brian Miller on April 06 2006 06:36 EDT
- Blog by Mike Herrick on April 06 2006 07:39 EDT
- SOAP & WS-* by Rick Hightower on April 06 2006 11:14 EDT
-
SOAP & WS-* by Brian Miller on April 06 2006 06:36 EDT
- Alpine is behind schedule by Steve Loughran on April 07 2006 03:49 EDT
- SOAP & WS-* by Mike Herrick on April 06 2006 18:23 EDT
- Jason Greene the author by Bill Burke on April 06 2006 16:44 EDT
- Re: Jason Greene the author by Will Hartung on April 07 2006 13:28 EDT
- Re: Jason Greene the author by Bill Burke on April 07 2006 05:35 EDT
- Re: Jason Greene the author by Will Hartung on April 07 2006 13:28 EDT
- SOAP just doesn't help! by geoff hendrey on April 12 2006 17:32 EDT
-
Jason Greene defends JAX-WS to Monson-Haefel[ Go to top ]
- Posted by: Brian Miller
- Posted on: April 06 2006 15:52 EDT
- in response to Joseph Ottinger
I agree with Greene that JAX-RPC is easy. JAX-RPC mostly shields Java developers from the widely dreaded angle brackets. JAX-RPC is a de-skilling sucess story. Whereas Greene's antagonist, Loughran is evangelizing an alternative to JAX-RPC that goes in the opposite direction, raising the skill barrier:...the XML must be faced and understood eventually. ... Developers will be expected to use XPath specifications to
work with contents of the message... If Alpine succeeds, it will be a SOAP stack that requires an understanding of XML before it can be used. -
SOAP & WS-*[ Go to top ]
- Posted by: Mike Herrick
- Posted on: April 06 2006 18:23 EDT
- in response to Brian Miller
The REST vs. WS-* battle has been raging on in the blogosphere as of late and you just pick up on this blog post? Don't get me wrong, this is a worthy one, but I have been struck by how absent TheServerSide has been from the growing backlash against WS-*.
Here are a few links:
http://www.tbray.org/ongoing/When/200x/2006/02/22/WS-Flurry
http://www.tbray.org/ongoing/When/200x/2006/03/24/WS-Evolving
http://www.markbaker.ca/2002/09/Blog/
There are many more, but these are a decent jumping off place.
Sounds like things are getting better from JAX-RPC with JAX-WS. That is good to see.
I still wonder, however, if we'd all be better off if we just stuck a fork in SOAP & WS-* and went back to the drawing board. IMHO WSDL, XSD, SOAP, WS-* were a nice experiment, but haven't delivered. Maybe this latest crop of APIs, tools, Service Centric ESBs, etc. will get us over the hump. I'm not holding my breath. -
SOAP & WS-*[ Go to top ]
- Posted by: Brian Miller
- Posted on: April 06 2006 18:36 EDT
- in response to Mike Herrick
Maybe this latest crop of APIs, tools, Service Centric ESBs, etc. will get us over the hump.
What 'hump' are you referring to? Can you cite literature mentioning it? -
Blog[ Go to top ]
- Posted by: Mike Herrick
- Posted on: April 06 2006 19:39 EDT
- in response to Brian Miller
Not sure if the blogs I listed and the links hanging off them qualify as "literature", but that is all I have for you. -
SOAP & WS-*[ Go to top ]
- Posted by: Rick Hightower
- Posted on: April 06 2006 23:14 EDT
- in response to Brian Miller
Maybe this latest crop of APIs, tools, Service Centric ESBs, etc. will get us over the hump.
What 'hump' are you referring to? Can you cite literature mentioning it?
<glib>
Hey Captain Ahab,
I think it mentions these problems in Moby Dick.
</glib>
Why does this have to be mentioned in literature? I think developer blogs are okay. -
Alpine is behind schedule[ Go to top ]
- Posted by: Steve Loughran
- Posted on: April 07 2006 03:49 EDT
- in response to Brian Miller
I've actually been trying to avoid writing my own SOAP stack, primarily because it would force me to understand all those SOAP specs like WS-Addressing, MTOM, WS-Security, etc, etc, and that just scared me. Then there is the testing.
Instead I've been using pre-release versions of Axis2. This has a mode where you bypass JAXRPC, bypass XBeans and get at their Axiom object model of stuff, which I then turned into Xom data structures for use in my own code.
But now, for various reasons, I am back working on Alpine. Its not yet ready for use by me, let alone anyone else, and I am just starting to test the stack against itself, before I worry about interop testing.
Server side is relatively simple: a servlet accepts POSTs, feeds it through a handler chain and then returns it, or maps any thrown exception into a SOAPFault.
Client side is proving to be trickier. What is the best way to model an async conversation with a remote endpoint? I'm playing with the java5 concurrent stuff, so that you queue transmissions for delivery, can wait for a Future<V> result to arrive, and I also have progress callbacks (with cancel options), for handling long operations. All of this is built on jakarta httpclient, so I dont have to worry about how java.net varies so wildly from the HTTP spec in places.
I'm doing this as part of a project to deliver a long haul API for deploying things on a grid, for which an interop test endpoint is due to be live by friday april 14, so lets just say I have a busy week ahead of me.
-steve loughran -
Jason Greene the author[ Go to top ]
- Posted by: Bill Burke
- Posted on: April 06 2006 16:44 EDT
- in response to Joseph Ottinger
<spam>
Jason reworked and rewrote the web services chapters for my soon to be published O'Reilly EJB 3.0 book. He also is one of the main developers of JBoss Web Services project.
</spam> -
Re: Jason Greene the author[ Go to top ]
- Posted by: Will Hartung
- Posted on: April 07 2006 13:28 EDT
- in response to Bill Burke
<spam> Jason reworked and rewrote the web services chapters for my soon to be published O'Reilly EJB 3.0 book. He also is one of the main developers of JBoss Web Services project.</spam>
Can you fill me in on the history of "your book"? I have the 3rd edition, which I think is a great book, and it's by Richard Monson-Haefel. I see that there is a 4th edition with you as a co-author, and 250 more pages (but I have not actually read the 4th edition). Is Richard out of the process now?
Now, I guess I'll wait for the EJB 3.0 book.
It will be interesting to compare them, because I think the 3rd edition was a really good book.
Do you still plan to cover and update CMP 2.x or just focus on CMP 3 in this new version? Dumping CMP 1.1 would be no great loss beyond a historical mention. -
Re: Jason Greene the author[ Go to top ]
- Posted by: Bill Burke
- Posted on: April 07 2006 17:35 EDT
- in response to Will Hartung
<spam>&nbsp;&nbsp;Jason reworked and rewrote the web services chapters for my soon to be published O'Reilly EJB 3.0 book. He also is one of the main developers of JBoss Web Services project.</spam>
Can you fill me in on the history of "your book"? I have the 3rd edition, which I think is a great book, and it's by Richard Monson-Haefel. I see that there is a 4th edition with you as a co-author, and 250 more pages (but I have not actually read the 4th edition). Is Richard out of the process now?Now, I guess I'll wait for the EJB 3.0 book.It will be interesting to compare them, because I think the 3rd edition was a really good book.Do you still plan to cover and update CMP 2.x or just focus on CMP 3 in this new version? Dumping CMP 1.1 would be no great loss beyond a historical mention.
It is an adaptation of RMH's EJB 4th edition and covers EJB3 and Java Persistence. CMP and BMP is not covered. There is also a JBoss workbook. -
SOAP just doesn't help![ Go to top ]
- Posted by: geoff hendrey
- Posted on: April 12 2006 17:32 EDT
- in response to Joseph Ottinger
Said it before, sayin' it again.
SOAP simply is not helpful for the most obvious uses for web services.
XML schema is all that is needed. You create an XML document. You post it using HTTP. You read an XML document back!
Good programming tools that bind XML schema to Java are really all that is needed here. SOAP is the EJB of XML (too heavyweight for most tasks and not demonstrably elegant for many). If you are creating a web service, I recommend you create a straightforward XML schema, making good use of abstract xml data types. Keep your security part of your schema rather than relying on a complexifying "frameworks". Usernames, passwords, and HTTPS for encryption if needed.
Remember, SOAP in no way makes your web services blanket "compatible" or "interoperable" with other web services. In fact, in many ways it makes services less interoperable by introducing incompatibilities at the SOAP implementation level, that would otherwise not have been present.