Java Web Services and XML
When I started using continuous
integration against my own code, the very first results were buggy as
expected, a lot of warnings, bugs and minor mistakes. Step by step, I am
tailoring my source code in order to satisfy the quality
criteria of PMD and Findbugs, but some warnings persist and some of
them make me worry about the code quality I am delivering to my
From the controversial...
on Sep 17, 2008
Starting with Promoted Build 36
of SailFin, Metro 1.3 users can perform Programmatic
Authorization decisions inside their SEI Implementations.
1. What is the API to be used for Programmatic Authorization ?
The API has been there in JAXWS since the very
beginning, javax.xml.ws.WebServiceContext; Specifically the
on Sep 15, 2008
JAX-WS relies on JAXB for data binding. When you invoke Wsimport Tool on a wsdl, It in-turn calls XJC tool in JAXB RI to generate the beans used by the JAX-WS runtime. Occasionally, You may need to pass XJC specific command line options through wsimport tool to customize the databinding. You can do it easily with Wsimport. This feature has been there from JAX-WS 2.1 and hopefully this blog...
on Aug 18, 2008
Metro SOAP and REST Web Service presentation slides, video and audio
from JavaOne 2008 are available online in the areas of Java and .NET
3.x interop; other ways to interop between Java and .NET; overviews of
Metro and Jersey; using REST. If you missed these sessions or want to
see them again, I've provided links, presenters and abstracts. Enjoy!
Interoperable Businesss Web Services...
on Aug 8, 2008
This is a post where I will try share some thoughts about where
REST could be useful inside a SOA architecture using Business Process
Management, in that case we will be using jBPM and RESTEasy, which is
the JBoss's implementation for JSR311
- Java Restful WebServices.
RestEasy is a project that is getting a good relevance in terms of
integration with some projects inside JBoss.ORG and...
on Aug 4, 2008
The JAXB spec is planning a very small maintenance review (MR) as a part of JavaEE 6. There are several big ticket RFE items that we wanted to do, like better support for interfaces, but in the end we felt that given the finite resources we have, JAXB is probably in a better shape compared to some other technologies.
So this MR is a very small one, mainly to introduce a new security permission...
on Jun 3, 2008
More than a community and business event, Jazoon'08 offers you a chance to
discuss technology free of pressure. You can meet the top evangelists
and share with international developers your technical issues and
questions - a pervasive brain storm about the Java platform. Excellent
opportunity to validate your ideas on how to do better software - and
if they don't survive the...
on Jun 2, 2008
I learned in JavaOne that the latest version (1.6.0) of VirtualBox has a web service API. Since one of the things I work on is Metro web service toolkit and because I wanted to use VirtualBox as Hudson slaves for better provisioning, this seemed like the obvious choice for my use case.
Now, when I tried VirtualBox WSDL through wscompile, I found that the resulting client interface is nearly...
on May 24, 2008
I just pushed a new version of JAXB RI, 2.1.7. This version contains several bug fixes, and it's the one used by the latest Metro 1.2.
on May 14, 2008
Glassfish v3 will be the next major release of the GlassFish
application server. The focus of the release is modularization,
enablement of non Java EE containers and embedability. GlassFish v3 builds on the strength of GlassFish v2 but takes a completely new approach, providing a highly modular, lightweight, extensible architecture.
GlassFish v3 Technology Preview 2 (TP2) is a milestone...
on May 12, 2008
You can find javac compilation issue with classes in javax.xml.ws.wsaddressing package in my previous blog "A little update for JAX-WS 2.1 users with JDK 6 Update 4 and Update 5"
The corresponding bug 6672868 is fixed in JDK 6 update 6.
The fix should be available in Open JDK 6 as well.
So, you don't have to use the compiler switches or workarounds as mentioned in my previous blog to make it work...
on Apr 16, 2008
Kevin Wittkopf and I will be giving a joint talk on Java (using
GlassFish) and .NET 3.5 interoperable web services at JavaOne.
Interoperable Businesss Web Services Using Project Metro and .NET 3.5
Harold Carr, Sun Microsystems, Inc.
Kevin Wittkopf, Microsoft
2:50 PM -3:50 PM
on Apr 10, 2008
I'm on the program committee (my fourth time) for the Distributed Objects, Middleware, and Applications conference (DOA'08) being held in Monterrey, Mexico, Nov 10 - 12, 2008. Here is the Call For Papers. Submit something or plan on attending and discussing cutting edge middleware research.
======== DOA 2008 Call For Papers ===================
on Apr 9, 2008
4 Sun development engineers (myself,
were at Microsoft's Redmond campus last week to participate in the
to test interoperability between future releases of
Metro Web Services
and Windows Communication Foundation in .NET 3.5.
Note: our shipping product, Metro 1.0 (built into
GlassFish V2 UR1
and runs in other web containers---e.g., Tomcat),...
on Mar 25, 2008
I attended the Interop Plugfest @Microsoft from March 18th - 20th. This was my first time at Plugfest and to Microsoft campus. You can find more about the Interop Plugfest here, where all the test scenarios and wsdls are published. It was good meeting people face to face and interact with people working on the same technologies. I was mostly testing the WS-Addressing and MTOM scenarios between...
on Mar 25, 2008
GlassFish Community Awards (GAP) program
is giving away $175,000 (USD) in cash prizes for the best bug
reports and other contributions to the GlassFish community---that
Metro web services stack.
Develop a Metro application or plugin
Create Metro blueprints and/or documentation
Develop Metro curricula or tools courseware that are localized and...
on Mar 18, 2008
Some issues on compiling using classes in javax.xml.ws.wsaddressing package have come to our attention (You can follow the thread in the Metro User forum).
As you can see, javax.xml.ws.wsaddressing package along with the classes W3CEndpointReference and W3CEndpointReferenceBuilder are infact there in rt.jar. But javac complains package javax.xml.ws.wsaddressing does not exist.
This is due to...
on Mar 7, 2008
The following blog shows how you can easily create a Webservices
project in Glassfish v2 using Netbeans 6.0 from an existing wsdl.
Download Netbeans 6.0 from here
Select File->Create new Project->Web
Click on finish
Next Right Click on WebServiceFromWsdl project and select new
WebService from wsdl
Here is the wsdl
and its schema
for this blog
Here is how the screen...
on Mar 5, 2008
I will be speaking with
(Senior Solutions Architect from Microsoft) on Java/.NET integration
Utah Java Users Group
on Thursday, February 21, 2008.
I will speak on "Java/.NET 3.x Web Service Interoperability using
(aka WSIT or
Tango) at 6pm MT. I will show how easy it is to build web service
clients and services that interoperate with Windows Communications...
on Feb 19, 2008
The following blog shows how to create and deploy a SOAP 1.2 based
webservice in Glassfish v2 using Netbeans6.0
Download and install Netbeans 6.0 from here.
Click on File->New Project
Choose Web ->WebApplication
Next provide the name of the Web application
choose the Java EE version as Java EE 5
Click on Finish
Next in the Projects tab you will see EchoTest
Right Click on EchoTest...
on Jan 29, 2008