• Post Reply Bookmark Topic Watch Topic
  • New Topic

Why local interfaces only for container managed relationships

Kumar Raja
Ranch Hand
Posts: 548
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!