O'Reilly logo

Developing Applications with Java™ and UML by Paul R. Reed

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enhancing the CMP Implementation

Adding More Use-Case Pathways

In Chapter 11 we demonstrated the ability to inquire about a Customer object, as well as to insert, update, and delete one. However, the Maintain Relationships use-case has quite a few more pathways. These relate to adding, updating, and deleting roles and addresses for that customer. The next section covers those changes.

In the CMP implementation we have no DAO classes, and we have already seen most of the CMP beans in action. However, we will present other changes that are required of these beans later in this chapter. Obviously we can't use the DOS-based client presented in the preceding section; it was just a means to test the EJB implementation of our three entity beans. This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required