EJB programming & troubleshooting: Can EJB in one EAR locally call EJB in another EAR?
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!
- Posted by: road ahead
- Posted on: November 06 2003 12:36 EST
- RE:Can EJB in one EAR locally call EJB in another EAR? by sgt pepper on November 09 2003 17:27 EST
- RE:Can EJB in one EAR locally call EJB in another EAR? by scot mcphee on November 12 2003 00:22 EST
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
in websphere 5 you could set server classloader policy to 'single' and then I think it might work.