[jboss-user] [EJB3] - Re: Reload classloader for bean?

jaikiran pai do-not-reply at jboss.com
Wed Nov 10 10:46:12 EST 2010

jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: Reload classloader for bean?"

To view the discussion, visit: http://community.jboss.org/message/570531#570531

If it's just plain lookup then it's a bit difficult to add dependencies such that when Bean A undeploys, Bean B undeploys too. However, if you had a

@EJB private BeanA a;

in Bean B, then this internally adds a dependency. So if Bean A is redeployed, Bean B is redeployed too.

Apply our latest EJB3 plugin  http://www.jboss.org/ejb3/ejb3plugin.html http://www.jboss.org/ejb3/ejb3plugin.html against AS 5.1.0 and see that works. There was a issue which was fixed after 5.1.0 was released and is available in that plugin release  https://jira.jboss.org/browse/EJBTHREE-1889 https://jira.jboss.org/browse/EJBTHREE-1889

Reply to this message by going to Community

Start a new discussion in EJB3 at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101110/94be29b9/attachment-0001.html 

More information about the jboss-user mailing list