Java XML and JSON Binding
Object-to-XML and object-to-JSON mapping using JAXB and EclipseLink MOXy.
Pages
(Move to ...)
Home
Contact Me
▼
April 15, 2011
@XmlAnyElement and non-DOM Properties
›
This post will cover how to use an alternate DOM representation (i.e. String) with @XmlAnyElement.
8 comments:
JAXB and JSON via Jettison - Namespace Example
›
In a previous post I described how Jettison can be leveraged by a JAXB implementation to produce/consume JSON. A reader correctly pointed...
6 comments:
XML Schema to Java - XSD Choice
›
In a previous blog post I wrote about how to map to the choice structure in XML schema when starting from classes. An astute reader tried...
1 comment:
April 12, 2011
JAXB and JSON via Jettison
›
JAXB implementations ( Metro , EclipseLink MOXy , Apache JaxMe , etc) provide an easy means of converting objects to/from XML. There is a ...
9 comments:
April 11, 2011
MOXy's XML Metadata in a JAX-RS Service
›
In previous posts I introduced how EclipseLink JAXB (MOXy) can represent it's metadata as XML , and how MOXy can be used in a JAX-RS s...
March 23, 2011
JAXB, Web Services, and Binary Data
›
When an instance of a class is used with a Web Service, the JAX-WS implementation can choose to handle fields/properties that hold binary da...
3 comments:
March 22, 2011
Map to Element based on an Attribute Value with EclipseLink JAXB (MOXy)
›
I am happy to announce that we are expanding MOXy 's XPath based mapping in EclipseLink 2.3. You are now able to map to an element based...
4 comments:
March 11, 2011
Preventing Entity Expansion Attacks in JAXB
›
This post will cover how to protect yourself from the entity expansion attack when you are using JAXB.
2 comments:
March 9, 2011
Handling Duplicate @XmlRootElement Declarations
›
The following post was inspired by an answer I gave to a question on Stack Overflow (feel free to up vote). The problem arose from a JAXB...
4 comments:
March 8, 2011
Using JAXB to Implement a Copy Operation
›
The following post was inspired by an answer I gave to a question on Stack Overflow (feel free to up vote). I am not suggesting that JAXB ...
3 comments:
‹
›
Home
View web version