Skip to main content



iasandcb's blog

JWS 2.1 vs JWS 2.0

Posted by iasandcb on January 3, 2007 at 7:02 AM PST

JWS (Java Web Services) 2.1 updates JAXB and JAX-WS to 2.1 and adds WSIT to its basic layer. Now JWS 2.1 is supported by GlassFish v2 while JWS 2.0 is built in JDK 6.

One typical issue is definitely how to use JWS 2.1 on JDK 6. It's well known that you can rely on Standard Endorsed Mechanism provided by Java SE, how about updating JWS from 2.0 to 2.1 for JDK 6u1?

Trying JNI with NetBeans C/C++ Pack on Linux

Posted by iasandcb on December 17, 2006 at 1:04 AM PST

I started to read and soon realized that the article was for Windows while my main development machine is Ubuntu. OK, so it means that I don't need to install cygwin and the rest of the instructions in the article should work fine, right? (Un)fortunately, you need more than the difference in case you're a unixer (including Mac OS X).

What I found during struggling for REST on GlassFish

Posted by iasandcb on October 10, 2006 at 9:51 PM PDT

Maybe I need to post these issues to GF or JAX-WS projects, but would like to share first with this blog.

I simply wanted to demonstrate a service exposed as both SOAP and REST.

1. Firstly, I started with GlassFish V2 M2 with JAX-WS 2.1M1.

Web Services 2.0

Posted by iasandcb on October 9, 2006 at 10:51 PM PDT

After introducing "Java Web Services 2.0" at, I made up my mind to broaden the notion :-)

First of all, I felt I had to revise JWS 2.0 because JAX-WS 2.1 and WSIT came up. JWS 2.0 is a set of:

SAAJ 1.3
JAXB 2.1 + JAX-WS 2.1

Secondly, .NET Web Services 2.0 is WCF in .NET framework 3.0.

When you (and actually I) want to develop a Java application on a Windows PDA

Posted by iasandcb on August 14, 2006 at 12:09 AM PDT

I have to admit that this combination, Windows PDA and Java ME, isn't that easy to approach in terms of both quality and quantity. Firstly, there isn't so-called "RI (Reference Implementation)" of CLDC or CDC on the (obviously) hostile platform against Java.

The first adoption of "Java Web Services 2.0"

Posted by iasandcb on July 28, 2006 at 12:38 AM PDT

While reading NetBeans 5.5 Beta 2 Release Information at, I found that (Java) Web Services 2.0 was used to introduce JAX-WS.

Although the line left "Java" out, I felt really glad to see the term as I suggested at my previous blog at

Truth about "format-pretty-output"

Posted by iasandcb on June 15, 2006 at 11:08 PM PDT

I got so much feedback from my recent blog at, and it inspired me to write another.

The most noticeable comment on the blog is to use JAXP transformer to serialize Document, and in fact I couldn't agree on the solution more because I also used it.

The world's first Java EE 5 compatible implementation

Posted by iasandcb on June 15, 2006 at 7:08 PM PDT

TmaxSoft (yes, where I work now) achieved it (of course except the Sun RI :-). See for more details. We are planning to release some preview as well.

Thank you all for your great help, especially Alan, Arthur, and Stephen from the Sun CTS team. I couldn't forget such a beautiful weather in Boston.

P.S. More about this to come, so stay tuned!

Serializing XML, not printing XML

Posted by iasandcb on June 14, 2006 at 9:49 PM PDT

Suppose you have an org.w3c.dom.Document instance to output, for example, to a web browser screen or just simply on a Console, then hmm... unfortunately, we used to have no standard way within DOM API (used, not now).


Posted by iasandcb on April 18, 2006 at 10:43 PM PDT

You can download it from . It's still beta, but I hope we can see a final version as JAXB 2.0 spec and RI is also finalized (very soon).