Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Confusion on P398

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 ]
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.
Evildoers! Eat my justice! And this tiny ad's justice too!
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic