• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

what is remote home interface

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello folks


in HFEJB page 125,125 there was remote home interface. what is remote home interface. I thought both remote and home interace are seperate.

please explain

priya
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Priya Rao:
hello folks


in HFEJB page 125,125 there was remote home interface. what is remote home interface. I thought both remote and home interace are seperate.

please explain

priya



An remote home interface acts as an factory for your enterprise beans. Refer to the Abstract Factory (GOF) pattern to learn more about factories.

Basically, factories are good to improve a architectural separation between the client tier and the business tier, minimizing the coupling between them. The same strategy are used in COM programming, the client application NEVER creates the requiried object directly. Instead, it calls a factory, and request the object creation for this factory.

In the case of enterprise java beans, this is good to abstract the bean creation from the applications, because the container can choose if will create the bean, restore it from passivation or get�s some EJBObject reference from POOL.

Good Luck !
 
Eat that pie! EAT IT! Now read this tiny ad. READ IT!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic