File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes xjc: no Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "xjc: no "@XmlRootElement" and no implementation of "Serializable" on the generated EJB" Watch "xjc: no "@XmlRootElement" and no implementation of "Serializable" on the generated EJB" New topic
Author

xjc: no "@XmlRootElement" and no implementation of "Serializable" on the generated EJB

Dupont Girard
Greenhorn

Joined: Mar 21, 2011
Posts: 24
Hi

This is my Ant code:



It works well, but the generated EJB does not contains "@XmlRootElement" and does not implements Serializable.

Someone Have an idea how can i get them
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: xjc: no "@XmlRootElement" and no implementation of "Serializable" on the generated EJB
 
Similar Threads
JAXB does not generate @XmlRootElement
How can i remove namespace from the generated JAXB File ?
Executing DOS commands through ANT
Question on EJB based Webservice - Unable to run WSGEN against session bean
ANT & JAXB: add Extension and make generated classes Seriazable