Alex,

I don't understand why you want the "location" of the entity's home. But
whatever that is you don't want to save it or the JNDI name in your database.
What if you redeploy the entity under a different name and app server. You data
is garbage.

What is it you're actually trying to do? Are you attempting to save a reference
for which each instance will reference a different entity in some dynamic way?

--Victor


Alex Paransky wrote:

> I need to store a handle to an entity bean in the database for a long term.
> I am concerned, however, that handles from one application server are not
> readable by another application server.  So in a way, you are locked in with
> one vendor.  I there a way to obtain the handle functionality in other
> means?
>
> All the keys in our application are generated externally, and thus a single
> Long value.  If I could gather the location of the home object in the JNDI
> name, then I could, using the JNDI name and ID of the object retrieve any
> entity.  I just don't know how to get the JNDI location of the home object
> from a reference to a remote ejb entity???
>
> Thanks.
> -AP_

===========================================================================
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