Skip to main content


developerWorks  >  Java technology  >

Java design patterns 101

developerWorks

Level: Introductory

David Gallardo , Author, Freelance

08 Jan 2002

Register now or sign in using your IBM ID and password.

Design patterns capture the experience of expert software developers and present common recurring problems, their solutions, and the consequences of those solutions in methodical way. This tutorial explains why patterns are useful and important for object-oriented design and development, and how patterns are documented, categorized, and cataloged. It also discusses when patterns should be used and provides examples of important patterns and how they are implemented.

Prerequisites

This tutorial assumes that you are familiar with the Java™ language and with basic object-oriented concepts such as polymorphism, inheritance, and encapsulation. Some understanding of the Unified Modeling Language (UML) is helpful, but not required. This tutorial will provide an introduction to the basics.


System requirements

You will need JavaScript enabled on your browser.

The examples in this tutorial are all written in the Java language. It is possible and sufficient to read the code as a mental exercise, but to try out the code requires a minimal Java development environment. A simple text editor (such as Notepad in Windows or vi in a UNIX environment) and the Java Development Kit (version 1.2 or later) are all you need.



Duration

Under one hour


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


New site feature

Check out our new article design and features. Tell us what you think.