> > The question is how? What's the easy way? The key here is the
ejb:bean
> > jndi-name parameter. I think a good solution could be letting user
> > define multiple ejb:bean tags, loop over all those ejb:bean, create
a
> > separate entry for each on, and so on. There should be a dittoing
> > facility too, for example:
> >
> > @ejb:bean name="foo" jndi-name="a" type="CMP" ...
> > @ejb:bean jndi-name="b"
> >
> > b will use all attributes from a but will use b as jndi-name
> > and bind to
> > it. There should also be a mechanism to bind settings from
> > other tags to
> > a particular jndi-name, say @appserver:readonly jndi-name="b" for a
> > readonly method, but only for jndi-name b.
> >
> > > Jason
> >
> 
> Exactly! Yes, this sounds perfect! Definitely add this as a feature
> request.
> 
> So when can we expect it? :-)

As soon as someone implements it :o)

But I think it'll take some time, because it needs making changes to
multiple vendor-specific files (jboss:blabla, weblogic:blabla, etc). But
we can start from the minimum: letting you define multiple ejb:bean
elements, looping over ejb:beans in ejb-jar_xml.j and at least generate
multiple entries in that file! Probably we should also enhance the merge
point system, say to look for env-entries-MyBean.xml if only one
deployment or for all deployments, env-entries-MyBean-MyJndiName.xml for
a specific deployment and things like that.

The bad thing about xdoclet is that adding support for anything you can
imagine is possible ;-)

Cheers,
Ara.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to