Using Interfaces with JAXB 2

I set about the other day to use JAXB-annotated classes to generate some JSON as part of some web services work. The trivial case worked. @XmlRootElement public class ExtMessage {     private String owner;     @XmlElement     private ExtConcreteBody body; } What I set about doing next caused some immediate grief.  My intention for ‘body’ ...