If I want to generate my Data objects, my Struts form beans, and my 
Castor mappings all from one single source then what is the recommended 
approach?

Right now, my approach is to create a series of classes that extend 
javax.ejb.EntityBean and whose methods are each marked up with the 
XDoclet @struts, @castor, and @ejb tags necessary to generate all of 
these things.  These EntityBeans are the single source.

I am not "doing" EJB so having source code in my project that extends 
javax.ejb.EntityBean is somewhat confusing for new developer on the 
project.  

This works OK, but I can't help but wonder: is there a better way?

- Dave



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to