Part Two: Defining an Entity Relationship

In part one of the tutorial you imported the Band entity bean, created the Music session bean, which referenced the Band bean, and ran two page flows that called the Music bean to add and list bands. In part two of the tutorial you will add a second entity bean called Recording and define the relationship between the Recording and Band beans. After updating the session bean to enable client applications to add a recording and receive a listing of recordings for a given band, you will run a page flow to add and list bands and recordings. Finally, you will create an EJB control and a test web service to test the Band bean directly.

Steps in Part Two

Related Topics

Developing Enterprise JavaBeans

Click one of the following arrows to navigate through the tutorial: