Well, you said that bean instances are serializable because they implement
EnterpriseBean. But, as you said, Contexts are not serializable. So, bean
instances are not serializable because each of them contains one reference
to this context...
So, how could we expect to serialize a bean without specifying the context
as a transient field ?
Thanks.
A.G.
----- Original Message -----
From: "Philippe Durieux" <[EMAIL PROTECTED]>
To: "Laurent Vaills" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 13, 2001 3:52 PM
Subject: Re: Beans and contexts serialization
> Laurent Vaills wrote:
> >
> > We are working at INRIA, on a joint project (RNTL) to add non
> > functional properties to Jonas Beans (asynchronous calls, migration,
> > interactive monitoring, etc.).
> >
> > We have been studying the source and we have several questions:
> > - Regarding Beans and serialization :
> > They are not serializable.
> > Why is that ? How do you manage passivation of the beans?
> Bean instances are serializable, because they implement EnterpriseBean
> which extends Serializable.
> >
> > - Regarding Context and serialization :
> > They are not serializable.
> >
> > Are there any plans in the future to change that or to hqve some
generic
> > mecanisms to transport and rebind contexts ?
> Contexts are not serialized, but Jonas must rebind them after
> a session bean seialization. But this is not done today in Jonas,
> we are working on it.
> Concerning entity beans, contexts are never serialized, but they are
> kept in memory in a pool.
> >
> > Looking forwards to hearing from you,
> > Best regards,
> >
> > Laurent Vaills ([EMAIL PROTECTED])
> >
> > ----
> > This list is cross-posted to two mail lists. To unsubscribe,
> > follow the instructions below for the list you subscribed to.
> > For objectweb.org: send email to [EMAIL PROTECTED] and
> > include in the body of the message "unsubscribe ejb-container-group".
> > For enhydra.org: send email to [EMAIL PROTECTED] and include
> > in the body of the message "unsubscribe ejb-container-group".
>
> --
> Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Bull - 1 rue de Provence - 38432 Echirolles Cedex France
> [EMAIL PROTECTED]
> -> Download our EJBServer at http://www.evidian.com/ejb <-
> ----
> This list is cross-posted to two mail lists. To unsubscribe,
> follow the instructions below for the list you subscribed to.
> For objectweb.org: send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe ejb-container-group".
> For enhydra.org: send email to [EMAIL PROTECTED] and include
> in the body of the message "unsubscribe ejb-container-group".
----
This list is cross-posted to two mail lists. To unsubscribe,
follow the instructions below for the list you subscribed to.
For objectweb.org: send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe ejb-container-group".
For enhydra.org: send email to [EMAIL PROTECTED] and include
in the body of the message "unsubscribe ejb-container-group".