• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confusion on P398

 
Jingyi Wang
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In chapter7, we're talking about local component interface for CMR. But in P398, we define a remote home interface. My question is if all the CMR beans have to define two set interfaces ( local-home/local and home/remote )? Who will be the clients for these two sets interfaces? What does the MovieHome ( local ) look like?
[ July 16, 2004: Message edited by: Jingyi Wang ]
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't HAVE to do both types of interfaces, but you have to have at least one. (Otherwise nobody will be able to access it -- in addition to it probably not being able to deploy.) The LocalHome/Local interfaces will be used by local clients; Home/Remote interfaces will be used by remote clients. What do they look like? I'll let you do some research and find that info for yourself -- a good place to start is probably the J2EE tutorial and the EJB specs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic