File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Mark Hansen - JWS, JEE 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Mark Hansen - JWS, JEE 6" Watch "Mark Hansen - JWS, JEE 6" New topic

Mark Hansen - JWS, JEE 6

Dibbo Khan
Ranch Hand

Joined: Dec 19, 2004
Posts: 147
I know that the JEE 6 jsr has been recently sumitted and withdrawn, but looking at it briefly it seemed represent a minimal change in the JEE specification from JEE 5.

Do you know if there are any SOA - Web Services changes proposed for JEE 6.

Furthermore may I ask you if all the changes from JAX-RPC to JWS represent only syntatic sugar???

MCPD (Enterprise Application Developer, Windows Developer, Web Developer - .NET 2.0), MCTS (Windows Apps, Web Apps and Disbributed Applications - .NET 2.0), MCITP (Database Developer & Business Intelligence Developer - SQL Server 2005), MCAD,, SCJP 5, SCWCD 1.4, SCBCD, SCMAD, SCDJWS, SCJA
Mark D. Hansen
Ranch Hand

Joined: May 29, 2007
Posts: 61
Java EE 6 will include at least one major Web Services enhancement: JSR-311 - The Java API for RESTful Web Services. The intent is to make RESTful endpoint development and deployment much easier than it is with JAX-WS or plain servlets.

The change from JAX-RPC to JAX-WS is fundamental, and represents much more than just syntactic sugar. The following comes from Chapter 1 of my book:

"As one example of how the JWS [Java Web Services] specifications have improved, consider JAX-WS 2.0. Chapters 6 and 7 describe that specification in detail, so for now, I'm just going to give a preview of why I think it's such a big improvement over JAX-RPC 1.1. For starters, the JAX-RPC data binding has been removed and the specification has been simplified to focus on the WSDL to Java mapping along with support for REST endpoints. The XML Schema to Java data binding from JAX-RPC has been replaced with JAXB 2.0, a much superior and widely used technology. Second, JAX-WS lets you use annotations to control the shape of the WSDL generated from a Java interface. The use of annotations in this manner simplifies and in some cases eliminates the need for the deployment descriptors required to deploy a JAX-RPC service. Third, JAX-WS provides interfaces (Dispatch on the client side, and Provider on the server side) that enable programmers to directly access and work with XML � effectively bypassing the JAXB data binding when they don't want to use it."

Mark D. Hansen
Founder and President, AgileIT LLC
Author of "SOA Using Java Web Services" -
I agree. Here's the link:
subject: Mark Hansen - JWS, JEE 6
It's not a secret anymore!