Skip to main content

Blog Archive for kohsuke during June 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...
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...
Writing a serious, consistent, nice-looking documents in HTML is hard. CSS improves the situation a bit, but it's still very painful. For example, suppose if you are writing a release note like this, and you want to do: Generate the navigation bar in multiple pages Have the same footer for all documents If you can do the equivalent of JSP tag files (which lets you define your own tag, which...
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...
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(...