What exception you are getting please mention it.

> ----------
> From:         Sonia[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list for Enterprise JavaBeans development
> Sent:         Monday, August 14, 2000 8:25 PM
> 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".

Reply via email to