• Post Reply Bookmark Topic Watch Topic
  • New Topic

Home / Remote Interfaces

 
Raju Vemula
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Could someone tell me why EJB needs two interfaces, Home and Remote?

thanks in advance.
Raju Vemula
 
Brian Tinnel
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe the thinking is that the Home interface provides factorylike methods to create objects, find existing objects, and remove objects. The Remote interface gives you access to the instance of the object that was created/found.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!