The Class Experiencia has to be Serializable and the attribute it contains.

best regards...
Jerson

--- Sonia <[EMAIL PROTECTED]> wrote:
> 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".
>


__________________________________________________
Do You Yahoo!?
Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/

===========================================================================
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