According to the specification, I know that the create method should have a
return type of the remote interface of the bean. But my question is whether
the return type can be a superclass of the remote interface.
So for example,
public interface CommonBusinessEntity extends EJBObject {
}
The Remote interface of the Bean is
public interface Account extends CommonBusinessEntity{
}
Is it valid to have the following?
public interface AccountHome extends EJBHome{
public CommonBusinessEntity create(long id) throws
RemoteExceptionCreateException;
}
Thanks,
Seema
===========================================================================
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".