Java News from Wednesday, May 17, 2006

Sun has posted the second early draft review of JSR-261 Java API for XML Web Services Addressing 1.0 . This spec "defines APIs and a framework that enables transport-neutral mechanisms to address Web services and messages. These mechanisms are defined by the W3C WSAddressing Core, SOAP Binding and WSDL Binding specifications." WS-Addressing is one of many WS-* specs, the point of which I've never quite been able to fathom. Apparently URLs aren't sophistciated enough to justify big consulting contracts and six-figure software satisfy enterprise use cases so a much more complicated enterprise-ready spec had to be invented. Comments are due by June 10.

Sun has published the finished version of JSR-224 Java API for XML-Based Web Services (JAX-WS) 2.0. JAX-WS 2.0 is a follow-on to JAX-RPC 1.1 that adds support for JAXB and SOAP 1.2. WSDL 2.0 is not supported.

Nokia and Sun have posted the early draft review of JSR-279 Service Connection API for Java ME. According to the JSR, "The API is intended to support writing mobile clients for identity-based Web services, service-oriented architectures (SOA), and other similar network service application models involving service discovery, authentication and identity. Existing Web services APIs tend to focus on support for low-level protocols, such as SOAP and Web Services Security. However, high-value Web services for mobile devices may be quite complex, requiring identity- based discovery and authentication, multiple service providers, and invocation of device-hosted services. These may require extensive protocol exchanges, complex state machines and other logic. To provide portability and interoperability such applications need to be based on frameworks that specify how multiple protocols and services can work together in a standard way. An example of such a standard framework that is currently being deployed is the Liberty Identity Based Web Services Framework (IDWSF), specified by the Liberty Alliance. Other frameworks with similar goals are also being specified and deployed, including for example the not yet standardized WS* specification suite or UPnP. The supported model is general enough that it could also be extended to non-Web services frameworks."

BEA has published the finished version of JSR-181 Web Services Metadata for the Java Platform. "This JSR reduces the amount of information required to implement Web Services on J2EE by using metadata to specify declaratively the Web Services that each application provides. The metadata annotates the Java source file that implements the Web Service. While the metadata is human readable and editable using a simple text editor, graphical development tools can represent and edit the Java source file using higher levels of abstraction specific to Web Services."

Sun has published a maintenance release of JSR-109 Implementing Enterprise Web Services. The changes in this release seem quite significant for a maintenance release. For instance SOAP 1.1 is upgrade to 1.2 throughout.