If you define some variable as transient type than during the serialization of
the object the transient variable will not be stored. In your case the
declaration means it will not save the state of the variable.

"" wrote:

> Hi,  I am starting writing EJB for a project.  I noticed that in some EJB
> examples, they define some variables as transient.  For example: transient
> private SessionContext ctx.
>
> Could someone explain what transient means?
>
> Thanks,
>
> Lixin
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
begin:vcard
n:Parida;S.
tel;work:841 0 148/149/150/151/152  extn 236
x-mozilla-html:FALSE
org:TATA ELXSI;Internet Solutions Group
version:2.1
email;internet:[EMAIL PROTECTED]
title:Sr. Engineer, Design & Developement
adr;quoted-printable:;;TATA ELXSI=0D=0AMahedevpura post, Hoody=0D=0AWhitefield Road;Bangalore;;;
fn:S. Parida
end:vcard

Reply via email to