Quantcast
Channel: Peter Mount's Blog » JAXB
Browsing latest articles
Browse All 5 View Live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Binding 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 Article

Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

It’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 Article

Image may be NSFW.
Clik here to view.

Implementing 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

Browsing latest articles
Browse All 5 View Live




Latest Images