I was reading through "Head First EJB" and read that container managed relationships would be handled by local interfaces not remote. From the book "CMR relationship can be only a local component interface but not remote". Why did Sun restrict this? What is the motive behind that.
Typically database would be in its own layer and could be remote to the jvm on which beans are running. Then what difference does it make if we use a remote vs local interfaces to define the CMR. I understand that it is a spec, but what made them (sun) to think in this angle.
subject: Why local interfaces only for container managed relationships