2.1. Finding the Objects

The first step in the development of any object-oriented program is to identify the objects that will be needed. If you're already an experienced object designer, feel free to skip ahead; for the novices, it's worth spending a little time talking about the set of objects we expect to need for this application.

Look at the output shown in Figure 2.1 and ask yourself what set of objects you think would be required to generate this output. There is no single best answer; if you come up with a different list than the one I chose, chances are you could make a good argument for your choices. I think the most obvious object seen in the output is a Team object. All of the columns of information displayed would then be attributes ...

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.