Ilkka Seppälä 9ec0935a1c Merge pull request #532 from leogtzr/master
Adding initialization-on-demand idiom and noninstantiable class instead of interface constant idiom
2017-01-23 08:21:07 +02:00
..

layout, title, folder, permalink, pumlid, categories, tags
layout title folder permalink pumlid categories tags
pattern Layers layers /patterns/layers/ BSR13OCm30NGLSe0n7UsCS62L8w9x6yGszD3t-bDpQhc9kdwEO0H2v7pNVQ68zSCyNeQn53gsQbftWns-lB5yoRHTfi70-8Mr3b-8UL7F4XG_otflOpi-W80 Architectural
Java
Difficulty-Intermediate
Spring

Intent

Layers is an architectural style where software responsibilities are divided among the different layers of the application.

alt text

Applicability

Use the Layers architecture when

  • you want clearly divide software responsibilities into differents parts of the program
  • you want to prevent a change from propagating throughout the application
  • you want to make your application more maintainable and testable

Credits