Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Point of Local Beans?  RSS feed

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
Boost this thread!