> this seems a little too radical to me: When I say "generate=false", I am > afraid that XDoclet will exclude this bean from the deployment descriptor. > And: in the case of an entity bean, it will not generate any data object, > right? I would have to mark CustomerServiceBeanImpl with @ejb:bean and all > the rest of CustomerServiceBean's metadata as well, am I right?
Yes it excludes it from ejb-jar.xml but the impl class appears there instead. And afaik it doesn't affect dataobject/intf/home/etc generation at all. > The generator generates the Impl class only to separate generated code > from > hand-written code. It generates the business methods from the UML model as > *abstract* methodes in *Bean.java. The develper has to implement them as > *concrete* methods in *BeanImpl.java. I designed it that way because > otherwise hand-written code in *Bean.java would be overwritten when the > generator ran again. > > So, how can I do it correctly? That's the best thing you can do currently. We have xjavadoc and we can later let you generate only the signature and live the method body alone. But you gotta wait a while for that. Ara. ------------------------------------------------------- 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
