Hi,

Can someone tell me what is or if is violated on EJB if i have a same home
and remote class for many different bean managed entity bean classes. This
is because most of the beans have got the same functionality.

Also the reason why i came up with this is because i cannot do a inheritence
on home and remote interface classes.

Suppose
////////////////////////////////////////////////////////////////////////////////
public interface XHome extends EJBHome {
public IX findByPrimaryKey(Long primaryKey) throws FinderException;

}

////////////////////////////////////////////////////////////////////////////////

public interface IX extends EJBObject {

public IBusinessObject getObject() throws EJBException, RemoteException;
}

////////////////////////////////////////////////////////////////////////////////

public interface XChildHome extends XHome {
}

////////////////////////////////////////////////////////////////////////////////

public interface IXChild extends IX {
}

I get exceptions on the finder method. I would greatly appreciate if someone
could help me on this!

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

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