JAXB (JSR-222) is configuration by exception, meaning that there is a default mapping applied to domain objects. This means that sometimes you need to explicitly exclude a field/property. In this post I'll discuss how this can be done using @XmlTransient or @XmlAccessorType(XmlAccessType.NONE) and when each option is appropriate.
Java XML & JSON Binding
Object-to-XML and object-to-JSON mapping using JAXB and EclipseLink MOXy.
Pages
- Home
- Contact Me
April 5, 2012
JAXB and Unmapped Properties
Read more »
Posted by
Blaise Doughan
at
6:48 AM
0
comments
Email ThisBlogThis!Share to TwitterShare to Facebook
Labels:
JAXB,
XmlAccessorType,
XmlAccessType,
XmlTransient
March 15, 2012
MOXy as Your JAX-RS JSON Provider - Client Side
Recently I posted how to leverage EclipseLink JAXB (MOXy)'s JSON binding to create a RESTful service. In this post I will demonstrate how easy it is to take advantage of MOXy's JSON binding on the client side.
- MOXy as Your JAX-RS JSON Provider - Server Side
- MOXy as Your JAX-RS JSON Provider - Client Side
Read more »
Posted by
Blaise Doughan
at
12:33 PM
0
comments
Email ThisBlogThis!Share to TwitterShare to Facebook
Labels:
"EclipseLink 2.4",
EclipseLink,
Extension,
JAX-RS,
JAXB,
JSON,
MOXy,
REST
March 13, 2012
MOXy as Your JAX-RS JSON Provider - Server Side
In a previous series of posts I covered how EclipseLink JAXB (MOXy) can be leveraged to create a RESTful data access service. In this post I will cover how easy it is to leverage MOXy's new JSON binding on the server side to add support for JSON messages based on JAXB mappings.
- MOXy as Your JAX-RS JSON Provider - Server Side
- MOXy as Your JAX-RS JSON Provider - Client Side
Read more »
Posted by
Blaise Doughan
at
12:03 PM
0
comments
Email ThisBlogThis!Share to TwitterShare to Facebook
Labels:
"EclipseLink 2.4",
EclipseLink,
Extension,
JAX-RS,
JAXB,
JSON,
MOXy,
REST
February 29, 2012
GlassFish 3.1.2 is Full of MOXy (EclipseLink JAXB)
I am very happy to announce that EclipseLink JAXB (MOXy) is now a JAXB (JSR-222) provider in GlassFish 3.1.2. I would like to thank the EclipseLink and GlassFish committers for all their hard work to make this happen.
In this post I will introduce how MOXy can be leveraged to create a JAX-WS service. In future posts I will cover more of the extensions in greater detail.
In this post I will introduce how MOXy can be leveraged to create a JAX-WS service. In future posts I will cover more of the extensions in greater detail.
- glassfish.java.net/public/downloadsindex.html
Read more »
gipoco.com
is neither affiliated with the authors of this page or responsible
for its contents. This is a safe-cache copy of the original web site.
for its contents. This is a safe-cache copy of the original web site.
gipoco.com
is neither affiliated with the authors of this page nor responsible
for its contents. This is a safe-cache copy of the original web site.