views:

110

answers:

1

Is there a way to configure JAXB to so that a generated class implements a specified interface? I'm intending to use JAXB generated classes as DAO's and they should be able implement my DAO interface.

+4  A: 

The interface injection plugin for XJC lets you do this.

skaffman