Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Local client can call another bean through its remote interface?

 
Alibabra Sanjie
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Local client can call another EJB bean through its remote interface since the EJB bean being called doesn't have a local interface (remote interface only), and the client and the bean are in the same VM?
 
Mikalai Zaikin
Ranch Hand
Posts: 3381
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
howdy Alibabra !
Yes,
... and this was the only way to access other Enterprise JavaBean in version 1.1 before EJB 2.0 introduced *local* interfaces. Before EJB 2.0 any Enterprise JavaBean had to use remote interface even within the same JVM.
 
Alibabra Sanjie
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, Mikalai Zaikin! I am glad I can talk to you. I like your notes so much. I believe that many people like me will appreciate your effort.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!