C H A P T E R  10

Images

Using Strongly Typed Interfaces with JPublisher

In the previous chapter, we examined the technique of using the Struct interface to materialize database objects as a generic collection of attributes. This technique works well for a small set of applications that needs to treat different object types in a generic manner. However, this technique does not satisfy the requirements of the majority of object-oriented applications that require you to work in terms of actual objects instead of a loose collection of attributes.

In this chapter, we discuss the alternative of using strongly typed interfaces to create custom Java classes ...

Get Expert Oracle JDBC Programming 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.