Mike,
This is probably not a practical thing to do.  Stateful
session beans are conversational but not long lived.
The state is maintained in memory and does not survive
a crash of the server, so some sort of persisted reference
on the client side is futile.  The session bean may or may
not be accessible when you return...

I think what you're after is a stringified reference ala
CORBA.  There is a mechanism in EJB that offers this
type of functionality for the home interface so you don't
have to do a jndi lookup, but not for the bean itself.

Without knowing specifically what you're after, entity
bean may suit your fancy....

cheers,
peter

<pre>
Does anyone know how I could store a reference to a stateful session bean
that could be stored in a relational database (not ODBMS) for example?

I know I can get the Handle and get the object reference back from that, but
is there a way to get something like a String that could be used to recreate
the reference, then get the stateful bean?

Thanks for any feedback.

- Mike



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]


</pre>




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to