• Post Reply Bookmark Topic Watch Topic
  • New Topic

Remote call or local call?

 
Gaurav Jain
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If i am calling a bean from my web container then will it be a local call or remote call assuming the web and ejb container are on the same box and same JVM?
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you package your war with the ejbs in an ear than you can certainly use the EJBs local interfaces.
BTW, this question should really be in the EJB... we just recently had this same question come up here. In fact, this is asked on an increasingly alarming basis... if I wasn't so lazy I would make an FAQ entry for it.
[ April 29, 2004: Message edited by: Chris Mathews ]
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the EJB forum...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!