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

I just posted a new release of the JAXB RI, which is 2.0.2. This is primarily a bug fix release, as the version number indicates. It contains bug fixes that we've done in the past two months. I was originally hoping for once-a-month release cycle, but it turns out July was a short month for us (as most of us take vacations in turn), and there was some internal CVS fire-drill that crippled our...
on Aug 2, 2006
Sun Java Streaming XML Parser (SJSXP) is now available from the Java.net Maven repository. This is the FCS version of Sun's StAX parser. StAX is based on the so-called pull model in which an application queries the parser for the next parsing event, but never surrenders control to the parser during the process. Stated differently, StAX turns the SAX processing model upside down. Instead of the...
on Jul 25, 2006
You have already seen quite a few examples of JAX-WS clients accessing RESTful clients. Marc's blog. I wrote a sample RESTful webservice using latest mustang JDK(b91). A inventory store is implemented as a RESTful web service and the inventory items are accessed and updated as URL resources. The client is the browser and uses javascript's XMLHttpRequest to issue HTTP GET, PUT, POST, DELETE...
on Jul 21, 2006
Taking on from previous post ... Even though the list of breaking changes from Feb CTP to Vista Beta 2 and Vista Beta 2 to Jun CTP are documented. The list is missing a "minor" detail of changing the WS-Addressing 1.0 WSDL Binding namespace from http://www.w3.org/2005/08/addressing (same as SOAP Binding namespace) to http://www.w3.org/2006/05/addressing/wsdl (WSDL Binding CR namespace...
on Jul 14, 2006
One of WSIT user reported an issue with WCF June CTP in WSIT user forums. And thus I tried installing the latest CTP from Microsoft. But as always, there are different runtime and SDKs floating on the website (dejavu). Lets see which one are required.  The runtime components can be downloaded from here. There is a separate link for .NET Framework 3.0 Runtime Components Beta2 for Windows XP...
on Jul 14, 2006
Sang Shin is starting a FREE 10-week "AJAX Programming" online course from August 4th, 2006. This course is for anyone who wants to learn AJAX for the first time or increase their knowledge on AJAX.  In this 10-week course, students learn basic concept of AJAX as well as how to use various AJAX frameworks and toolkits such as Dojo toolkit, jMaki, Google Web Toolkit, and AJAX-fied...
on Jul 14, 2006
I posted JAX-RPC jars in the maven repository. Here are the details: JAXRPC API JAXRPC RI Your feedback is welcome. One thing remaining is to add source zips along with jars. You might have already seen the push of JAX-WS .
on Jun 27, 2006
More and more web service toolkits are built on top of the JAXB RI. For example ... ActiveSOAP, a Codehaus project XFire, a Codehaus project Celtix, an ObjectWeb project Axis, an Apache project ServiceMix, a LogicBlaze project OK, saying "built on top of" is an exaggeration, but they chose the JAXB RI when they wanted to support/use JAXB 2.0. It's just one more indication that people like...
on Jun 12, 2006
One of the benefits of moving to the open-source and doing continuous integration with Hudson is that it's easier to convince the managers to let us release more frequently. Many legal issues have been taken care of when we came to java.net (which would have otherwised slowed down release cycles), and CI allows managers to see that there's no bugs to block the release. Furthermore, being on...
on Jun 8, 2006
Web Services are stateless by default because of the underlying HTTP protocol. The server processes each web service request as a new interaction even though it is from the same client. To have a knowledge about previous requests, Server would need to maintain state about the client through some sort. Maintaining state/session would have extra load on the client/server in terms of time and memory...
on Jun 7, 2006
Today's question from our users is "why doesn't JAXB handle interfaces?" First, it's not quite accurate to say "we don't support interfaces". It's just that you need put some annotations to make it work, and it's more restrictive than we'd like it to be. Fore more about how to map interfaces, see the unofficial JAXB guide that I'm compiling. But what I'd like to talk about today is why JAXB...
on Jun 6, 2006
JAX-WSA (Java API for XML Web Services Addressing) Early Draft 2 was released right before JavaOne. The specification and javadocs can be downloaded from the JCP site. The javadocs can also be viewed online at jax-wsa.dev.java.net. The implementation, work in progress, will be made available shortly from jax-wsa-sources.dev.java.net. Technorati: jaxwsa Web Services WSAddressing w3c
on Jun 6, 2006
Question: "I have a schema, and I want to validate documents by using it before I process them. How do I do that?" Answer: this is supposed to be really really easy with JAXP 1.3. First, you parse your schema and build a schema object, like this: class Foo {  private static final Schema SCHEMA;  static {    SchemaFactory schemaFactory = SchemaFactory.newInstance(...
on Jun 1, 2006
Arun brought this to my attention, in which pinus made some interesting comments. Since I work on the JAXB RI, so I know a thing or two about the issue he's talking about. He first says: "Schemas should be used as data type descriptions, not as validation mechanisms. Avoid complexity unless it’s required, and avoid schema constructs that do not map well onto programming languages." This...
on May 30, 2006
Dave Johnson gave a great talk Tuesday at JavaOne (TS-1756 - Java™ Technology and REST: Implementing the Atom Protocol). I've been a fan of his roller weblogger for a few years (it's the best option for hosting your own multiple blog server) and it was great to hear him speak and to put a face to the blog server. (It's amazing how much we can learn about the personalities involved in an...
on May 19, 2006
Here are four simple steps to try out the Web Service Interoperability Technologies (WSIT) from Project Tango: Step 1: How to checkout and build WSIT from source, and how to install in GlassFish or Tomcat. Step 2: How to write, deploy and execute a simple JAX-WS web service that uses the installed WSIT code but does not use WSIT features to ensure that step 1 worked....
on May 18, 2006
Here is the official and some related press release on the interoperability efforts happening between Sun and Microsoft for past few months: http://www.sun.com/smi/Press/sunflash/2006-05/sunflash.20060516.5.xml http://biz.yahoo.com/prnews/060516/sftu095.html?.v=56 http://www.ftponline.com/special/javaart/interop/ In a related article published here in eweek, a quote from the article says...
on May 18, 2006
Many of you may have seen the following announcment from Sun yesteray about WSIT (project Tango): Sun and Microsoft Showcase Interoperability Between the Java Platform and .Net Framework at the 2006 JavaOne Conference: Financial News - Yahoo! Finance. You may be wondering how does this relate to JAX-WS. I am pleased to announce that JAX-WS is the core component to WSIT. In fact, WSIT is really...
on May 17, 2006
In case you missed the morning lab - so many people wanted to attend it that it's being repeated: LAB 4335 Developing Interoperable Next Generation Web Services with Project Glassfish, Netbeans IDE & WSIT Martin Grebac, Ramesh Babu Mandava, Ana Lindstrom-Tamer (Sun Microsystems) Wednesday, 17-MAY-06 7:20 PM Hall E 130/131 See you there.
on May 17, 2006