This content has been marked as final.
Show 3 replies
-
1. Re: Serialization of value objects
mccaffc Jul 1, 2002 10:48 AM (in response to danilo_lr)In the past I got this occasionally when my classes were out of date on the server (i.e. I thought I had an up to date set of classes deployed in JBoss but I didn't).
By the way... strictly speaking to make a class serializable, all you really have to do is implement the marker interface in (java.io.Serializable). But it goes deeper than that (as you may well know) - you should probably write your own SERIAL_UID for example. There's an EXCELLENT treatment on these in Bloch's 'Effective Java'.
Cheers,
Chris -
2. Re: Serialization of value objects
lasterra Jul 1, 2002 12:03 PM (in response to danilo_lr)i think that tou need the constructor
public CursoVO(){} -
3. Re: Serialization of value objects
lasterra Jul 1, 2002 12:04 PM (in response to danilo_lr)i think that you need the constructor.
HTH.