Can a EJB (Session/Entity) extend another EJB? eg. A SFSB bookstore shopping cart extends a more generic SFSB shopping cart. Is this kind of design often used? Is it a recommended/good to design this way? Thanks !
posted 12 years ago
An EJB is a component and one component cannot extend/inherit another. However, the EJB implementation class is free to extend another EJB's implementation class.