it *could* work on some servers
but remember, the Home and Remote interfaces are used by all AppServers to
GENERATE actual remotable implementations of such interfaces
thus, I could yield some problems
-----Original Message-----
From: Thalanki, Seema [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 2:13 PM
To: [EMAIL PROTECTED]
Subject: Return type of home
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".
===========================================================================
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".