How to use JAXB annotations in the client side for GWT?

后端 未结 5 1695
孤独总比滥情好
孤独总比滥情好 2020-12-28 18:09

I wanted to use the JaxB annotation in my class like this:

@XmlRootElement
public class ItemExtension implements Serializable {

But GWT com

5条回答
  •  庸人自扰
    2020-12-28 18:37

    I have used this library to do jaxb parsing from within a GWT client

    http://code.google.com/p/gwtjaxb/

    It is not a full JAXB generator, but it covers everything that I need.

提交回复
热议问题