This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes EntityFacade and Xdoclet 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 » Java » EJB and other Java EE Technologies
Bookmark "EntityFacade and Xdoclet" Watch "EntityFacade and Xdoclet" New topic
Author

EntityFacade and Xdoclet

Sandeep Awasthi
Ranch Hand

Joined: Oct 23, 2003
Posts: 597
Dear All,

I am new to Xdoclet,

I just have learned how to create Facade for Entity Bean,

but my facade gets generated seperately for each entity bean.

I want to know is there a way by which I can generate single facade for all entity bean?

I tried to use destinationFile attribute in <entityfacade destinationFile="TestFacade.java" />, but it gives me error whenever I use this attribute( unless I use {0} in destinationFile and if use {0} then per class outut is generated which I do not want) can anyone help me in this.


here is my build file. If I do not use destinationFile, then per class facade is generated, but I want to have single facade for all the Entity Beans


Sandeep
 
jQuery in Action, 2nd edition
 
subject: EntityFacade and Xdoclet
 
Similar Threads
cmp-field elements are missing in ejb-jar.xml generated by XDoclet
Session not bound?
why is xdoclet erroring out?
SAXParseException: The content of element type "enterprise-beans" is incomplete, it m
SAXParseException: The content of element type "enterprise-beans" is incomplete, it m