12Using Object-Oriented Patterns

WHAT YOU WILL LEARN IN THIS CHAPTER:                

  • What programming patterns are and why they are useful
  • How can object-oriented patterns be applied to structure applications
  • Which libraries, frameworks, and best practices are commonly used in Java programming

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at www.wrox.com/go/beginningjavaprogramming on the Download Code tab. The code is in the Chapter 12 download and individually named according to the names throughout the chapter.

Congratulations, you’ve reached the last chapter. The primary goal behind this chapter is to combine all the knowledge you’ve gained throughout this book and to show you how all the various pieces—control flow, input and output, class inheritance, and so on—come together to construct a complete application.

Since many aspiring programmers find it hard to start from a blank sheet and maintain order and structure in their applications, we aim to reach the goals listed above with a chapter on so-called programming patterns. This chapter will teach you a number of best practices and solutions for common problems you’ll encounter when creating object-oriented applications with Java. As such, this chapter starts with a general introduction on programming patterns, before delving deeper into the patterns. Finally, the chapter ends with a brief overview of some third-party libraries that you may find useful when starting ...

Get Beginning Java 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.