Java Reference
In-Depth Information
Introducing the Sample Project
Denny's DVDs is a DVD rental store for a small community. The certification project requires
that the application be built on a provided interface. Sun will include an interface as part of
the assignment, and you will be responsible for implementing that interface and developing a
fully featured application. Our sample project will take the same approach. We will imagine
that the infamous Denny of Denny's DVDs will define an interface that he expects the devel-
oper (i.e., you the reader) to implement. That interface, DBClient.java , will be our starting
point for development. Figure 3.1 shows a UML use case diagram for the primary operations
the system must support.
Note The acronym UPC will be bandied around quite a bit, so a little background information may come
in handy. UPC, which stands for Universal Product Code, is an official designation for a product, whether it
be a topic, a CD, or a DVD. It is a unique number identifying that product worldwide. For more trivia-related
information on UPC (and related concepts such as European Article Numbering [EAN] and checksums), refer
to such sites as Wikipedia ( http://en.wikipedia.org/wiki/Main_Page ) and the various online UPC
databases. Of course, such a topic is way outside the scope of this topic. For our purposes, UPC is a nice
surrogate for a system-wide identifier or primary key.
Figure 3-1. Denny's DVDs use case diagram
Search WWH ::




Custom Search