Hi Erik

> I just fired up Middlegen (excellent, by the way!  Worked right out of the
> "box" perfectly) and in the Bean class that it generated against my
database
> it has these two lines:
>
>  * @weblogic:table-name <table name>
>  * @jboss:table-name <table name>

The idea is to enable you to created different versions of DDs from the same
EJB Bean class. To keep it in these two different namespaces is:
1) to indicate that on belongs to JBoss the other to weblogic
2) to support is as close as possible to the vendor
3) not all vendor supports the same options
4) finally to enable you to use different table names from different
application servers

Hope this helps

> Why is this needed in two places?  Shouldn't this be consolidated to a
more
> generalized @ejb:bean level?

No, the namespace "ejb" is reserved for J2EE/EJB specification.

Andy



_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to