Hey

david sims wrote:
> > If you already have a Customer, you can invoke getEJBHome() on it (since a
> > Costumer
> > extends EJBObject). And you have your Home without needing its JNDI name.
>
> But I want the actual JNDI name, not the EJBHome object reference. I'm in a
> situation where I need the JNDI name.

It's not possible to do what you want using the standard API's.

You could always implement a method in your beaninterface which returns
this information.

One cool thing for implementors to consider is to let the Home proxy
(/stub) implement Referenceable. In that case your problem would be
solved by calling home.getReference().get("URL").getContent();

/Rickard

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to