> > 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 other issue is that we also have @ejb:bean schema="foo" which does the same thing 
for cmp2 beans... 
 
> 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.

ahhh, but table-name _is_ in the specification, _how_ you specify it is not, but its 
very much like jndi-name imho...

my 2c

cheers
dim


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

Reply via email to