jaxb2MarshallingView两种配置方式
<-- xml视图,Jaxb2Marshaller,需要配置对象和对象添加Annotation xml注解,不需要添加额外的jar包 --><bean name="jaxb2MarshallingView" name="code"><bean name="jaxb2MarshallingView" ref="jaxbMarshall"></property> </bean><oxm:jaxb2-marshaller id="jaxbMarshall"> <oxm:class-to-be-bound name="com.aa.User" /> <oxm:class-to-be-bound name="com.aa.AccountBean" /></oxm:jaxb2-marshaller>