Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA/OCP Java SE 7 Programmer I & II Study Guide
this week in the
EJB and other Java EE Technologies
Joined: Oct 31, 2003
Dec 10, 2003 08:47:00
We typically lookup the home interface and then get the remote interface from it. Why not directly lookup the remote interface as this is also a Remote Object?
Joined: Jan 23, 2002
Dec 10, 2003 08:59:00
Because the bean instances are not bound to JNDI... Yes, the home and remote interfaces could've been made into one interface, but that would be ugly (mixing lifecycle management with business methods).
Effective Unit Testing
I agree. Here's the link:
subject: EJB lookup
Using Sockets to pass an RMI Reference
ejb 3.0,jboss 4.2.2 netbeans 6.0.1
Help regarding RemoteClient
EJB - Remote or Local (JBoss)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014