Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by Community: Java Web Services and XML

• Adopt a JSR  • Embedded  • GlassFish  
• Global Education and Learning  • Identity Management  • IoT  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JavaFX  • JCP  
• JDDAC  • Jini  • JXTA  
• Mac Java  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  • [no association]  


Java Web Services and XML

Many people seem to have trouble understanding XmlAdapter/XmlJavaTypeAdapter. I think it's at least partially because of the lack of documentation/samples, but it might be that there's a problem in the design, and if so that's not good. So today, I'm going to talk about XmlAdapter/XmlJavaTypeAdapter so that people can make more informed discussions about it. Motivation Normally, JAXB tries to...
on Apr 22, 2005
I have revamped the JWSDP developer's home page at Java.Net. There has been a lot of new activity in the JWSDP community including new EAs for JAX-RPC 2.0 and JAXB 2.0; the SJSXP and JAXP 1.3 weekly builds, and I piling that on the old page seemed to make things more messy, so I used that excuse for the cleanup. The new page tries to provide a quick entry into News, Downloads, Specs, Blogs,...
on Apr 18, 2005
Last Friday, Ryan and I spent most of the day to bring the source code of the JAXB RI from Sun's internal CVS repository to java.net. It wasn't a simple CVS import because we need to retain a portion of the repository inside Sun (for example, all those test cases that we received from various people.) But all the code that constitutes the JAXB RI --- the runtime, the compiler, the schema...
on Apr 18, 2005
WS-Addressing 1.0 Core and SOAP Binding documents are in Last Call and the review period ends on May 11th.
on Apr 15, 2005
The past month has been hectic for me, between my wife delivering a baby and me delivering the JAXB RI 2.0 EA. I lost the race by about a month, but finally today we released the early access of the JAXB RI. This early access basically implements the JAXB 2.0 specification early draft 2 with some differences. The EA passes almost all the tests that we used for testing 1.0.x series of the RI,...
on Apr 8, 2005
WS-I Sample Application 1.1 EA is a rewrite of the WS-I Sample Application 1.0 using JAX-RPC 2.0 features and is available for download here. This bundle, as always, comes with the source code, ant build script, customization files, and other artifacts required to build the sample application from scratch. The bundle comes with the updated documentation. The source code has been commented through...
on Apr 8, 2005
JAX-RPC 2.0 Standard Implementation Early Access is now available. This release is a big leap from JAX-RPC 1.1 in terms of the feature set: Data binding using JAXB 2.0 Annotations for specifying metadata Standard customization framework instead of the configuration files Improved handler framework Dynamic client and server Asynchronous clients See Doug's blog about details on each feature. The...
on Apr 8, 2005
Doug reports that the binaries for the EA for JAX-RPC 2.0 are out. I'm sure Kohsuke or Sekhar will have a corresponding blog on JAXB 2.0. The downloads are off the correspoding Java.Net projects: jax-rpc and jaxb. Please give us feedback!.
on Apr 7, 2005
The JAX-RPC 2.0 Standard Implementation Early Access has just been released to the JAX-RPC project and you can download it here. I would like to highlight some of the new features available in this release here. JAXB data binding JAXB 2.0 Early Access is also available. JAX-RPC 2.0 uses JAXB for all of its data binding. This means that much more of XML Schema can be handled compared to JAX-...
on Apr 7, 2005
XML Schema is THE type system of web services. Learn it, use it, live it; don't hide behind Java->WSDL tools. More to the point: JAX-RPC Java->WSDL mechanical translation tools should never be used. Java-to-WSDL is a stunningly poor choice when you want to exchange data with another organization through web services. Think about it: you're going to translate a Java interface in to the XML Schema...
on Apr 7, 2005
JAXP is the core API for XML processing in the Java platform. The latest version is JAXP 1.3 which is in bundled in Tiger and is also available unbundled for older JVMs. Those implementations were frozen sometime before the final round of integrations into Tiger and were overdue for an update with the latest changes Xerces and Xalan. The JAXP team just finished that integration; the sources are...
on Apr 1, 2005
Introduction JAXB 2.0 is primarily a persistence technology; it walks through a graph of POJOs, then it produces the equivalent XML representation, much like Java serialization. We have a set of annotations you can use to tell JAXB that you do or don't want this property/field to show up in XML. For example, the following class tells JAXB that I want JAXB to access the properties, not the fields...
on Mar 30, 2005
JAXB 2.0 Early Draft 2 JAXB 2.0 (JSR222) Early Draft 2 is now available for review. Early Draft 2 contains both a specification as well as javadocs. Both are downloadable from JSR 222 JCP JAXB site . We have added significant functionality. We are very interested in your feedback. Here is a highlight of some of the features: XML schema support, Java to XML Schema mapping, schema evolution and...
on Mar 24, 2005
The techno-clairvoyants have been strangely quiet of late... so I am left on my own to predict what "The Next Big Thing" is going to be. In the absence of prophetic visions, I think we'll have to refocus on the needs our old faithful source of income: Business. The prevalence of computers in our society really took root with the introduction of three programming languages in the late 1950's (by...
on Mar 10, 2005
One of the major enhancements in the JAXB 2.0 is an ability to bind your own hand-written classes --- often called as POJOs --- to XML. And it's very easy. For example, consider the following classes: public class TodoList {  private final List<Item> items = new ArrayList<Item>();    ... methods ...}public class Item {  private String title;  private...
on Feb 17, 2005
The JSR 224 Expert Group just published a second early draft of JAX-RPC 2.0. There's lots of new stuff in this draft so I'll just pull out some of the highlights here: Annnotations Chapter 7 defines a set of annotations that can be used with JAX-RPC. These annotations are used directly by developers when publishing a Java class as a Web service and are also used when mapping WSDL to Java to...
on Feb 10, 2005
Yesterday I attended Indigo Day at VSLive! in San Francisco. I had not yet been in Moscone West and I enjoyed it. The site is smaller than the older site where JavaOne is held, but it is above ground, with sunlight and with better cell phone reception. It was a useful day, although the crowds are substantially smaller, and older!, than what I've got used at JavaOne, and the trade show was...
on Feb 10, 2005
Robert Sessions has published a good article discussing the “fuzzy boundaries” between object, components, and web services. The following table from his article pretty much sums up the key differences with respect to performance: Comparison of Objects, Components and Web Services Attributesby Robert Sessions, Objectwatch Objects Components...
on Feb 2, 2005
As Eduardo mentioned, we just released a preview of what JAXB 2.0 and JAX-RPC 2.0 look like. This bundle includes the current snapshot of the JAXB RI and JAX-RPC RI. It is a "preview", so the documentation is very sketchy, and it's definitely not feature-complete, but it has enough things in it to give you more concrete idea about how JAXB and JAX-RPC will look like in 2.0. Since my day job is...
on Feb 1, 2005
Our group has two summer intern positions available, one to work with the new Fast Infoset project, the other to work with the new implementations of JAX-RPC and JAXB 2.0. I am looking for some strong candidates. The projects should be a lot of fun and I have had some very good experiences in the past; my only concern is that I blinked and didn't post this until now. Check out some of the...
on Jan 14, 2005