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 was hoping to announce the availability of the Maintenance Release of JAX-WS 2.1 specification before the RI was released, but the RI has once again proven that it is "Too Fast and Too Furious" as it was released last Friday before we could get the JSR 224 page updated. To see how fast the RI is, check out Vivek Pandey's Blog: JAXWS 2.1 FCS - Fast and Furious. If you would like to read the...
on Feb 5, 2007
In this third and last part of a blog series (part 1 and part 2), I plan to explore the steps to develop/deploy/invoke a Web service on GlassFish using Eclipse IDE. Eclipse does not offer GlassFish as a a bundled container. Instead you need to install GlassFish plugin for Eclipse explicitly. The plugin requires WTP 1.0 installed in Eclipse so I did that following the instructions. After...
on Feb 5, 2007
Thanks to Robin Wilton for the link. Read more about how Sun and Microsoft achieved product-level interoperability between GlassFish and Windows Vista. A quote from the article ... "as these two teams worked together to bring about some calm in the turbulent seas of Web services, they found that engineering knows no prejudice. The result, three years later, is Sun’s Web Services...
on Feb 2, 2007
SD Times has an interesting article on Project Tango. Having participated in all the plugfest trips to Redmond, I can attest that the engineer-to-engineer relations between Sun and Microsoft engineers is very good --- we both like solving problems and building systems.
on Feb 2, 2007
JAXWS 2.1 RI comes with bunch of goodies for the ease of use/development of Web Services. Some of these are configurable through system-wide properties, features and annotations in the com.sun.xml.ws.developer package, which means they are proprietary and will not work with other implementations. Who knows, some of these might end up in future versions of the Spec, if you find them useful as we...
on Feb 2, 2007
Today is a release day of JAX-WS RI 2.1 (see the announcement.) Before I head for a party (I'm sure we can count on our managers to throw one for us!), here are a few things I wanted to mention in some details. Performance I hope you've seen the performance benchmark that we posted. I think numbers speak for themselves. Kudos go to our performance team and the SJSXP team. I also contributed a...
on Feb 2, 2007
In this post I'm going to talk about the details of the benchmark Bharath did (kudos to him and the rest of the performance team.) For more about the JAX-WS RI 2.1 release in general, please refer to Vivek's post. Summary The basic idea of the benchmark is to have a lot of clients send a lot of requests to the server concurrently. The server echos back the data to the client, and then we...
on Feb 2, 2007
One of the big benefits of JAX-WS 2.0 is that deployment descriptors are optional. By optional, it means no deployment descriptors are required if you can live with the reasonable defaults defined by the JAX-WS specification. So if you develop a trivial Web service, starting from POJO (Plain Old Java Object), as: @javax.jws.WebService(targetNamespace=&quot;http://example.org&quot;)<br...
on Feb 2, 2007
As I mentioned in my previous post, here are the steps to develop/deploy/invoke a Web service using the Web Services plugin in IntelliJ IDEA. Thanks to AdvancedTools, author of the plugin, for helping me through this process. The Web service plugin bundles Axis 1.4 and supports JWSDP 2.0 ( contains JAX-WS 2.0 EA1 which is now final in Java 6), Axis 2, and XFire through pluggability. If you are...
on Feb 1, 2007
In this second part of a blog series (part 1), I plan to explore the steps to develop/deploy/invoke a Web service on GlassFish using IntelliJIDEA IDE. Searching in the help bundled with the IDE on "web service from Java" returned no results relevant to Web service. I found several (1,2,3) people asking "How do I develop Web service in IntelliJ 6.x?" but all the questions are...
on Jan 31, 2007
Glassfish v3 is going to be based on Maven2, and I've been helping them to get it right. One of the work is to invoke JAXB's schema compiler to compile a DTD with XJC plugins. Once you know what to do, this is easy thanks to the excellent maven-jaxb2-plugin. As with everything else in Maven, the hard part is to know how to do it. I thought this example might be useful for other folks, so...
on Jan 30, 2007
Sorry folks, the FastInfoset team found out that there's a silly bug in 2.1.1 that prevented our code from using the optimized execution path, and this slows down FI considerably when used with the JAXB RI. So I just released 2.1.2 today. This is the only change between 2.1.1 and 2.1.2. We have an automated performance test for this in Hudson, but the catch was that we forgot to set the...
on Jan 25, 2007
People occasionally need to be able to use the same set of POJOs to match different XML representations. There's a large degree of difference in the complexity — some people just need to be able to produce more or less the same XML files except that they differ in namespaces (this is common when you use namespaces for versioning); some people need to "hide" certain properties in one XML...
on Jan 25, 2007
Read about a customer experience on using JAX-WS RI on JBoss on the server side and JAX-WS runtime with Java SE 6 on the client side. An important point to note in the article is the 1000% performance gains between EA and and more recent versions of JAX-WS. Not all of this gain may be due to JAX-WS :) Technorati: JAXWS JAX-WS JBoss Web services
on Jan 24, 2007
GlassFish is supported in NetBeans, IntelliJ IDEA and Eclipse. I'm starting a 3-part blog that will explain my experience in developing, deploying and invoking a Web service in each of these IDEs. Today, I start with NetBeans. I'm using NetBeans 5.5.1 for the experiment purpose but these features are available NetBeans 5.0 onwards. Here are the steps that I followed. Install GlassFish: Before...
on Jan 23, 2007
My favorite feature in the JAXB RI is the simpler and better binding mode, which makes the generated code even easier to use, by ... Eliminating JAXBElement as much as possible Giving you a better, more typed binding in general Use plural property names where applicable My previous entry talks about how to use it from JAXB's xjc tool, but of course you can use it from JAX-WS's wsimport tool,...
on Jan 23, 2007
I just posted the JAXB RI 2.1.1 and the JAXB RI 2.0.5. 2.1.1 is a bug fix release to 2.1 (see changes). This is the main development thread of the JAXB RI, and implements the latest and greatest JAXB 2.1 specification. JAXB RI 2.1.1 is going to be used in the upcoming JAX-WS RI 2.1. 2.0.5 is a bug fix release of the JAXB RI 2.0 line, which implements the JAXB 2.0 specification (see changes...
on Jan 22, 2007
Addressing can be enabled on client by having a wsdl with <wsaw:UsingAddressing/> in the wsdl definitions or enabling AddressingFeature while creating the client proxy. In EA3, Although Addressing is enabled, for it to work the clients (esp. Dispatch) have to be created with wsdl, otherwise Addressing headers are not sent automatically by the JAX-WS Runtime. The reason was wsa:Action...
on Jan 21, 2007
What does GlassFish v2 + NetBeans 5.5.1 IDE + WSIT plug-in give you ? If you read my blog, then you know the answer. If not, then this is a recipe to create Interoperable (with Microsoft .NET 3.0 framework), Secure, Reliable, and Transactional Web services easily in an intuitive manner. If you use NetBeans Update Center to install the WSIT plug-in, then the version released with WSIT...
on Jan 19, 2007
As you know JAX-WS 2.1 is the re-architected version of JAX-WS 2.0 with high performance and additional features supporting JAX-WS 2.1 Spec. It provides a lot of extension points for developers  to utilize the plug-in mechansim to modify/extend the default JAX-WS behavior. These extension points can be used at Tool time as well as Runtime. See JAX-WS 2.1 Architecture document for more...
on Jan 16, 2007