How can I find in runtime if two EJB are running in the same JVM
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vassilis_Papoulidis
Posted On:   Monday, April 18, 2005 06:37 AM

Hi all,


I new to EJb tech and my question is the following.

How can I find in runtime if two EJB are running in the
same JVM, so as to use the proper call (remote or local).



For the moment I can know all the EJB components
(session(exposed as web services) and entity beans) will
reside in the same machine. But this might not apply in
future time.



I also want to use the Local - LocalHome Interface instead
of only using the remote ones due to application
performance.




Thanks in advance
About | Sitemap | Contact