Alef Arendsen wrote:
can't you make any object that you cannot make serializable just TRANSIENT so it won't cause any problems??? alef
For example, most JDBC drivers have a buried reference to a java.net.Socket
inside their Connection implementations, which is required to perform TCP/IP
reads and writes to the database server. If you mark this variable
transient, it will be initialized to null when the object is deserialized
and reloaded, so you'll start getting NullPointerException errors -- since
the rest of the driver assumes that the socket was initialized at open()
time and will not be erased until close().
Craig McClanahan
|
- Session Object Serailization Shahed Ali
- Re: Session Object Serailization Sean Kroah
- Re: Session Object Serailization Alef Arendsen
- Re: Session Object Serailization Craig R. McClanahan
- Re: Session Object Serailization Sean Kroah
- Re: Session Object Serailization Craig R. McClanahan
- Re: Session Object Serailization Shahed Ali
- Re: Session Object Serailization Craig R. McClanahan
