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.