users@glassfish.java.net

Re: Redeploy tree

From: <glassfish_at_javadesktop.org>
Date: Thu, 23 Sep 2010 15:50:48 PDT

The injected reference is updated only when a new instance that it is injected into is created by the EJB container. So if you look it up all the time, you get an instance with the updated reference, but if your code holds on to the original instance, or if it is pooled, the injected reference remains stale.

-marina
[Message sent by forum member 'mvatkina']

http://forums.java.net/jive/thread.jspa?messageID=483564