This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes local and remote home interfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "local and remote home interfaces" Watch "local and remote home interfaces" New topic
Author

local and remote home interfaces

Murali Krishna M
Greenhorn

Joined: Nov 11, 2004
Posts: 2
I am a new bee learning EJB. Going through Head First Ejb. I could not understand, why the client code should always know whether it is accessing a local bean or a remote bean. Why the EJB technology leave this decision to the client at the development level itself? Shouldn't it be at least configured at deployment lever or client should bother nothing at all. I have worked on distributed systems where the client need not be aware of the service provider location for any reason. I may be missing some thing. Could some one explain or provide any links.

murali


Start by doing what is necessary; then do what is possible. Suddenly you are doing the impossible. -St.Francis
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
There's always a transport aspect of distributed systems ... what do you do when the remote system is unavailable? Etc. There are design patterns you could use to abstract away the locality issue if your application really needed to do that.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: local and remote home interfaces
 
Similar Threads
Confused of Local Interface and Remote Interface
About remote client
no any errors occured but database hasnt changed
HF EJB Book - Page 554 & 559 - Clarification required
How do I implement BOTH a local and a remote client view for a bean?