Skip to content

One of my weekly class assignment was to put into practice a combination of design patterns to eventually form another one called the Transaction pattern. Here are the pattern I mastered to do so : Composite : used to treat uniformly a group of objects the same way as a single instance of the same type of object. Visitor, iterator : used to defi…

Notifications You must be signed in to change notification settings

vifeng/PatternJava

Repository files navigation

Java Design Pattern

One of my weekly class assignment was to put into practice a combination of design patterns to eventually form another one called the Transaction pattern. Here are the pattern I had to master to do so:

  • Composite : used to treat uniformly a group of objects the same way as a single instance of the same type of object.
  • Visitor, iterator : used to define a new operation for (some) classes of an object structure without changing the classes.
  • Memento : used for persistence and implementation of the backup.
  • Template Method : used to delegate certain methods to the sub-classes.

Install

I recommend to use BlueJ because it is more easy to visualise the pattern "more graphic".
To read the assignement (in french) see: tp_commit.html

===

Patron de conception Java

Exemple des devoirs hebdomadaires pour le cours de design pattern java.

Installation

Ce projet est prévu pour BlueJ, un logiciel d'apprentissage Java qui a l'avantage de montrer graphiquement les relations entre les class. Pour notre cours de design pattern c'est plus graphique…

En savoir plus

Lire le sujet du tp : tp_commit.html

About

One of my weekly class assignment was to put into practice a combination of design patterns to eventually form another one called the Transaction pattern. Here are the pattern I mastered to do so : Composite : used to treat uniformly a group of objects the same way as a single instance of the same type of object. Visitor, iterator : used to defi…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published