Developing inheritance structures
To complete the banking model shown in Figure 11-33 on page 435, we now implement the two subclasses of Account, Checking and Savings.
Support for inheritance in Application Developer
The EJB 2.0 specification does not support inheritance. However, IBM products, such as VisualAge for Java, WebSphere Application Server, and the Application Developer, provide support for inheritance structures of entity EJBs.
Entity EJBs can inherit attributes and methods from the superclass entity bean, define additional attributes and methods, and overwrite inherited methods.
Defining the inheritance structure
Application Developer enables us to define entity beans as subclasses of existing entity beans in the Create an Enterprise ...
Get EJB 2.0 Development with WebSphere Studio Application Developer now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.