摘要: 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 data as SOAP attachment. An attachment is a means to send the data outside of the XML message, this is done as an optimization 阅读全文
posted @ 2011-12-21 14:39 李克华 阅读(509) 评论(0) 推荐(0)
摘要: JAXB and Choosing the List ImplementationFor elements with max occurs greater than one, JAXB will generate a java.util.List property and the underlying implementation will be java.util.ArrayList. You can control which list implementation is used through internal and external schema annotations. You 阅读全文
posted @ 2011-12-21 14:32 李克华 阅读(2125) 评论(0) 推荐(0)