|
|
||
Bhakti Mehta's BlogCommunity: JDK ArchivesJAXB 2.0 and JAX-WS 2.0 are a part of Mustang (JDK 6.0)Posted by bhaktimehta on August 08, 2005 at 04:18 PM | Permalink | Comments (2)Delivering Web Services is one of the primary themes for Mustang (Java SE 6). Our goal is that JSE will provide reasonable support for ease of development for the web services stack. This will primarily be client-side focused with a lightweight server to support callbacks. The main specifications are the Java Architecture for XML-Web Services (JAX-WS) 2.0 (formerly known as JAX-RPC) and Java Architecture for XML Binding (JAXB) 2.0. JSR 224 is defining JAX-WS 2.0. This is a major update since the JAX-RPC 1.0 specification incorporating new specifications and updates to existing standards. JAX-WS 2.0 now delegates the databinding related tasks to JAXB 2.0. JSR 222 is defining JAXB 2.0. It adds significantly to JAXB 1.0, including 100% XML schema support, the binding of Java classes to XML schema, the meeting of data binding requirements for JAX-WS 2.0, and schema evolution support. A flexible binding allows an application to bind only parts of an XML document (relevant to the application) to Java. Mustang has the webservices features integrated as of b40. You can try the latest snapshot from https://mustang.dev.java.net/ We are fixing and integrating bugs on a regular basis. Please let us know about your bugs, you can file them at There are 4 new scripts added in the jdk6.0/bin which are as follows xjc, schemagen , wsimport and wsgen /path/to/jdk6.0/bin/xjc foo.xsd -p test.foo Similarly to invoke the schema generator to generate schemas from Java sources /path/to/jdk6.0/bin/schemagen Foo.java To generate portable artifacts from wsdls and external jaxws or jaxb binding files you can use wsimport /path/to/jdk6.0/bin/wsimport stock.wsdl -b stock.xml -b stock.xjb To generate portable artifacts from Java sources you can use wsgen /path/to/jdk6.0/bin/wsgen example.Stock Javadocs for jdk6.0 Forums List of Committed bugs in the latest snapshot release More information on JAXB and JAXWS | ||
|
|