Can EJB in one EAR locally call EJB in another EAR?

Discussions

EJB programming & troubleshooting: Can EJB in one EAR locally call EJB in another EAR?

  1. Can EJB in one EAR locally call EJB in another EAR? (2 messages)

    EJB2.0 supports local home and local interface. From my understanding, I think two EJBs located at server side can call methods of each via local/local home interface. My question is: if EJB1 in EAR1 is already deployed to application server, EJB2 in EAR2 wants to local call method of EJB1, is it possible? I saw many examples and they often put two EJBs in the same EAR file. Can I locally call EJB at another EAR file? How to do it? Thanks!
  2. Atleast in weblogic7.0 I was not able to achieve this. All the EJBs where required to be deployed as part of a single application
  3. in websphere 5 you could set server classloader policy to 'single' and then I think it might work.