> Hi everyone.
>
> for modularity, i need to pass a token interface to a method of a session
bean.
>
> as an example i have
>
> public interface aToken implements Serializable
> {
>  public String getValue(String name);
>  public void setValue(String name, String value);
> }
>
> i implemented my session bean to receive this interface and use the
methods.
>
> i use a class implements aToken to send messages to my session bean
> this class use a Vector to store and retrieve values.
>
> but i always have java.lang.null exception.
>
> Is it ok to pass an interface or i have to use a class and extends it to
pass my objects??
>
> Thanks a lot
> merci beaucoup
> henry
>

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