You may need to implement the serialisation methods yourself, especially
with respect to non-primitive members. Have you ensured that all such
members are themselves serializable and marked that way?
A good book that may help you understand what's going on internally is
Mastering RMI by Rickard �berg, who often posts to this list. JBoss is
basically a giant heavily automated RMI server, and Rickard contributed much
to its development.
----- Original Message -----
From: "Jm Seigneur" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 7:42 AM
Subject: [JBoss-user] Entity bean with special objects attributes?
> Hello,
>
> I'd like to have a bean which can store persistently a vector of Parameter
> objects:
> import javax.ejb.EntityBean;
> public class BlackBoxBean implements EntityBean
> { String id; //primary key
> Vector parameters; //vector of Parameter objects
>
> public String getId{ ...
>
> To make the Parameter class serializable, I did that:
> import java.io.Serializable;
> public class Parameter implements Serializable
> {...}
>
> Nevertheless I get an exception saying Parameter isn't serializable.
>
> Is it possible to store that kind of objects in JBoss?
>
> Thanks,
>
> Jm
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user