On Sun, 25 Jan 2004, Jeremy Boynes wrote:
> That just seems so wrong :-(
>
> On the other hand, the DDBeans themselves are immutable so the only
> events DConfigBeans receive would pertain to changes in the tree.
> Provided whatever is mutating the XML notifies all replicas we should be OK.
>
> I have not done anything with the event stuff yet as I could not figure
> out a need. None of our DConfigBeans register for events and the tool
> does not modify the structure.
In general, tools can let you edit the standard and server DDs at
the same time. So DDBeans aren't really immutable in the sense that
getText() (and getText(...)) might change over time. The events are so
that if the user changes an EJB name from "Foo" to "Bar", then the server
impl can change the ejb-name of the cooresponding DConfigBean from "Foo"
to "Bar" (and perhaps the default JNDI name too, you get the idea).
> I didn't copy over your impl during the move as it didn't seem to
> register the listener on the DD node put on the parent and that seemed
> like a bug.
I don't understand what you mean here. Are you talking about the
DDBean impl? If so, that definitely needed to be replaced. If you're
talking about the DConfigBean, can you elaborate?
Aaron