This content has been marked as final.
Show 2 replies
-
1. Re: Use LocalHome in jboss,I meet a question
tdang Aug 14, 2002 4:30 AM (in response to wellday)Default, a localhome is bound under local namespace, if you do not configure it in your jboss.xml. So try:
Object ref = jndiContext.lookup("local/Hello");
Remember that you cannot return a local interface to a client, so that you will got an error in your client.
Regards. -
2. Re: Use LocalHome in jboss,I meet a question
morgan Aug 14, 2002 9:34 AM (in response to wellday)Are you saying that client code, can not access the local interface of a bean? I'm new to EJB's (so I may have misunderstood what you're saying), but that doesn't seem right.
:Paul