Originally posted by Sridhar Raman001:
... Can I have the ... EJB extending the ... abstract class? If so, How is it implemented? ...
Hi Sridhar,
the following worked in a project:
public class MyEntityBean
extends EntityBeanAbstr // what you want to add
implements EntityBean // what the EJB container needs
public abstract class EntityBeanAbstr
extends DbConnectionFactoryBeanAbstr // as an example ...
public abstract class DbConnectionFactoryBeanAbstr // not via deployment descriptor here
// no extends or implements ...
But this is true for the BEAN CLASS only and not for the home or remote interfaces.
The home or remote interface must extend EJBHome and EJBObject directly.
Otherwise (not the compiler but) the verifier of the deploymenttool and the one of the ATG J2EE server insisted that the remote interface MySession must _directly_ extend EJBObject. There is not any interface level possible between the interfaces MySession and EJBObject.
Good luck
Thomas.