Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Point of Local Beans?

Jayavardhan geepi
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm a novice for EJB.
I understood remote beans and local beans.
When local beans live in the same heap(JVM) as clients, what is the point in using EJBs(RMI) there?
This point is raised in HeadFirst EJBs. They answer for this like

"if we dont do so, we can not distribute our objects over network. (Locking down the design)."
My doubt is:
If we are going to distribute our objects over network, those beans will become remote beans, isn't it?
So, we need to change our code to make beans remote.

Can anybody explain please..

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic