A wise old hermit known only as Ara Abrahamian <[EMAIL PROTECTED]> once said:
> > and lastly, there's > > @bluestone:ejb-ref type="colocated|distributed" jndi-name=<string> > > ref-name=<string> [app=<string> host=<string> port=<string>] > > or > > @ejb:ejb-ref bluestone-type="colocated|distributed" > > bluestone-jndi-name=<string> bluestone-ref-name=<string> > > [bluestone-app=<string> bluestone-host=<string> > > bluestone-port=<string>] > > (or perhaps pick up jndi/ref names from existing parameters) > > Who do you relate this bluestone:ejb-ref to a ejb:ejb-ref? No relation > and user can specify anything? I think you should add a > bluestone-blabla="" param to ejb:ejb-ref. Well, I've consolidated most of the other ones into parameters of a @bluestone:bean tag. As for the references stuff, I guess the two types of co-located (for references in the same app) and distributed (references to other apps) are basically the same as with the ejb-ref and ejb-external-ref tags. So, I'll use extra parameters on both of those. For the actual mapping element, though, I wondered if I even need any extra parameters - the ejb-ref-name is the entry in the standard DD (so presumably <XDtEjb:ejbRefName/> will do), while the advertised-name is "the actual name under which the bean is registered in the name service." Would that be the same thing as the <XDtEjbHome:jndiName/> of the target, though? Or should I just add a bluestone-jndi-name parameter to them? I thought maybe the existing ejb-ref stuff in ejb-body.j would give me a clue with this, but I still find it just as confusing. IMO, this could do with some new tags to make it more readable - the XDtEjbRef namespace should handle both ejb-ref and ejb-external-ref entries (or consolidate them to a single tag with an external=boolean flag) so it doesn't use <XDtEjbRef:forAllEjbRefs> for half of it and <XDtClass:forAllClassTags tagName="ejb:ejb-external-ref"> for the rest. Also, instead of having forAllEjbRefs changing the current class to each of the targets (which makes it very confusing knowing exactly which class some of the other template tags are referring to) use left/rightName type tags, like the new relation stuff does. Andrew. _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
