• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Confusion on P398

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic