Skip to main content

Blog Archive for kohsuke during October 2006

I know a good person would never write something like this, but I've got to write this, if only so that I feel a little better. So here it goes. Now that I took over JAXB 2.1 maintenance review spec work, a part of my job involves in updating a PDF document, that is the JAXB specification. There are many ways you can create a PDF document, but JAXB 2.0 chose to use Adobe FrameMaker. If it were...
JAXB 2.1 maintenance draft review has just started. It's a 30-day review period to solicit broader feedback on the 2.1 MR. If things go well, after the review ends, we'll be able to release 2.1. So that puts up somewhere December 06 or January 07. I'm planning to post EA2 with all the bug fixes and etc, to go with this draft soon.
One of the additions in the JAX-WS RI EA2 is the support of stateful web services by using WS-Addressing underneath. Normally, the JAX-WS RI only creates one instance of your service class, and have it handle all incoming requests concurrently. This effectively takes you back to pre-OO programming, as you will not be able to make use of instance fields at all — it's as if all your methods...
Over the last few years, I've been involved in many of the "system-level" java.net projects, which provide tools and services for any java.net project owner. Gary kindly moved them under the java-net project to show the authenticity. To recap, those are the projects: autoresponder: this allows you to set up autoresponder for your subscriber-limited mailing lists. Normally, when non-subscriber...
Traditionally JAX-WS has never taken advantage of object state, just like servlet. That is, the container creates only one instance of your service class, and then have it serve all the requests concurrently. This makes it impossible to set values to instance fields, as you'll experience concurrency problem as soon as multiple threads hit your service. So all too often the service code starts...
I just had to write this in the JAX-WS RI: try {    return ir.getConstructor(Class.class).newInstance(clazz);} catch (InstantiationException e) {    throw new WebServiceException(ServerMessages.FAILED_TO_INSTANTIATE_INSTANCE_RESOLVER(        ir.getName(),a.annotationType(),clazz.getName()));} catch (IllegalAccessException e) {...
I just posted a new version of the JAXB RI 2.0.x line. This RI implements JAXB API 2.0, and is a bug fix release. As usual, I posted a corresponding jaxb2-reflection release and jars are in the maven repository. Head over to the download site and have fun. The main point of this release is that this release contains the same bits that will ship in JavaSE 6 release (that is, unless we discover...
I started posting the JAXB 2.1 snapshot jars to the maven repository. This runs nightly. I also fixed the missing dependency in xjc POM. You maven folks out there, have fun with 2.1 bits...
Juraj Vitko sent me a plugin that allows you to manually put additional code to the JAXB generated classes, and yet have XJC preserve them when you regenerate source files. To use this, you have to put your code into the special marker like the following. As you can see, this is a pretty simple-minded plugin. class X {  ...generated code here...<font color=red>//--simple--preserve...
Lexi has been making a lot of progress on hyperjaxb3 lately. HyperJAXB3 is a JAXB RI extension that causes XJC to generate not only XML binding annotations but also RDBMS persistence annotations. That is, it generates Hibernate mapping files, and the plan includes supporting the persistence API. He's also been investing in some infrastructure support, so that other folks can develop XJC plugins...