Implementing custom types within JAXB
With JAXB it does a pretty good job in mapping between XML and Java Objects. In normal use this is fine but what happens when you need to use a custom data type for an attribute? Well JAXB supports...
View ArticleBinding custom objects to attributes in JAXB
When generating Java sources from an XML Schema with JAXB, the type of field used to represent an attribute is determined by it’s type in the schema. For example, a snippet from jabber-client.xsd: By...
View ArticleUsing JAXB to marshall XMPP
Back in late 2008, one of the original design goals for the rewrite of my retepXMPP project was to use JAXB for handling the marshalling of XMPP Stanzas into POJO’s. The main ideas behind this was to...
View ArticleIt’s been a busy couple of months
It’s been a couple of busy months with most of my time being taken up with my day job. Most of my time has been spent with either tracking down issues with our live environment, or trying to finish off...
View ArticleImplementing Builders with JAXB generated objects
While JAXB is a good method of mapping XML into Java objects, if your schema’s are large or complex, generating the required Object graph prior to marshaling into XML can be both tedious and error...
View Article
More Pages to Explore .....