3.6. Continuing the Separation of Interface and Implementation

Most of the changes that are required to separate interface from implementation have now been shown, so we won't belabor the point by showing the same pattern repeated on class after class. All programs are included on the CD, so you can refer to them there if there are particular aspects that haven't been adequately covered in the text. The new classes and interfaces are listed so you can find them easily.

The functionality of the original.Game class has been separated into the application.Game interface and the application.BasicGameImpl implementation. The original.Team class has similarly been separated into application.Team (the interface) and the implementing class application.BasicTeamImpl ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services 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.