users@glassfish.java.net

Re: EJB 3.1 remote interface access problems on Glassfish!

From: <forums_at_java.net>
Date: Fri, 16 Sep 2011 16:09:25 -0500 (CDT)

EJB refs are cashed, so if your POJO is not reloaded after the redeploy,
it'll have a stale EJB ref. The work around proposed on one of the forum
postings was to have a method that pings the EJB, and if the ping fails,
looks up the ref again.

 

That said, inter-app EJBs do not need remote interfaces. They can more
efficiently use local ones.

 

HTH,

-marina


--
[Message sent by forum member 'mvatkina']
View Post: http://forums.java.net/node/843728