as a rule it is better to use tag name using getElementsByTagName
than assuming correect ordeering. also in the .conf there should be
tags and should not assume that order position. This is one of the
benefif of XML that has tag name! so use it in your code.
This is from one who eat xml almost every day.
> -----Original Message-----
> From: marc fleury [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, July 25, 2000 6:00 PM
> To: jBoss Developer
> Subject: RE: [jBoss-Dev] Problem with ejb-ref during deployment
>
> > Sebastien Alborini wrote:
> > > It seems that com/dreambean/ejb/EJBReference.java fails to build its
> > > fields properly from the ejb-jar.xml file. Furthermore, the
> > > implementation based on event listening makes it relie on the order of
> > > the xml tags (ejb-ref-name, ejb-link), which shouldn't be so.
> >
> > 1. Actually they should have this order (see EJB 1.1 DD DTD)
>
> In fact if you invert the order of the tags in the xml file the EJX code
> dies, it certainly can be made more robust :)
>
> marc
>
> > 2. The event listening code is only used for the GUI and should not
> > affect loading a complete XML-file which has already been created.
> >
> > /Rickard
> >
> > --
> > Rickard �berg
> >
> > Email: [EMAIL PROTECTED]
> > http://www.telkel.com
> > http://www.jboss.org
> > http://www.dreambean.com
> >
> >
>