50 likes | 176 Vues
Design patterns are reusable solutions that address recurring problems in software engineering. Each pattern identifies a common issue and provides a core solution, enabling developers to apply it in various contexts without reinventing the wheel each time. This text explores the principles of design patterns, including their names, the problems they solve, and their implications in project design, architecture, implementation, and documentation. We will also look at specific J2EE core patterns like Front Controller, Transfer Object, Service Locator, and Data Access Object.
E N D
Design Patterns T-76.115
Design Patterns “Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can this solution a million times over, without ever doing it the same way twice” – Christopher Alexander
Mitä design patternit ovat? Uudelleenkäytettäviä ratkaisuja ongelmaan (olio-ohjelmoinnissa) • Nimi • Ongelma • Ratkaisu • Seuraukset
Käyttö projektissa • “Proof-of-concept” • Arkkitehtuurin suunnittelun apuna • Implemennoinnin apuna • Dokumennoinnin apuna
Käyttö projektissa 2 J2EE Core Patterns • Front Controller • Transfer Object • Service Locator • Data Access Object