How to generate a Java class which implements Serializable interface from xsd using JAXB?

后端 未结 6 1877
陌清茗
陌清茗 2020-11-28 07:20

I would like to introduce caching into an existing Spring project which uses JAXB to expose WebServices. Caching will be done on the level of end points. In order to do that

6条回答
  •  难免孤独
    2020-11-28 08:03

    in order to get interface Serializable add following binding information to the xsd-file:

    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.0"> .....

提交回复
热议问题