NOW, it's. That was the problem. Thanks Chris

                    Sonia
----- Original Message -----
From: Bono, Chris <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 14, 2000 5:18 PM
Subject: Re: Can a bean Managed return a Vector?


> Sonia,
> Is your Experiencia class Serializable?
>
> -----Original Message-----
> From: Sonia [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 14, 2000 9:55 AM
> To: [EMAIL PROTECTED]
> Subject: Can a bean Managed return a Vector?
>
>
> Hello:
>
> Although everything seem going well when in a bean managed BMP with an
> attribute vector, when I try to return that vector I got an Exception,
isn't
> it possible?
>
> that's the code:
>
>   public Vector getExperiencias(){
>         for (int j=0; j<expe.size();j++){
>         Experiencia exp1=(Experiencia)expe.elementAt(j);
>         System.out.println((exp1.id_categoria).toString()+","+
> exp1.tiempo+","+exp1.nombreCategoria);
>         }
>      return expe;
>      }
> In the server I can see the attributes of the objects Experiencia that
> belongs to the vector expe (the attribute of the bean) but I got an
> java.rmi.RemoteException
> Does anybody know why?
> Thanks in advance
>
>             Sonia
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to