wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Getting the Local Home Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Getting the Local Home" Watch "Getting the Local Home" New topic

Getting the Local Home

dennis zined
Ranch Hand

Joined: Mar 07, 2003
Posts: 330
Hi all. I'm a newbie with EJB and need help on getting the local ejb home object.

My EJB contains both a Remote and Local home interface. When I do a lookup from another EJB using the JNDI name, the Remote home object is always returned and it's giving me a ClassCastException because I'm expecting a Local home object. How do I get the Local interface? Here's my code:


SCJP 1.4<br />SCWCD 1.4
Georg Joo
Ranch Hand

Joined: Feb 24, 2004
Posts: 49

See my posting.



SCJP, SCWCD, SCBCD<br /> <br />Vienna, Austria
subject: Getting the Local Home
Similar Threads
question about jndi and EJBLocalHome interface
EJB Local Home interface look up in RAD with WebSphere 5.0 test environment.
Help how do i call a LOCAL ejb
EJB access issue
how many ejb classes