diff --git a/layers/src/main/java/com/iluwatar/layers/App.java b/layers/src/main/java/com/iluwatar/layers/App.java index 3ab5e211e..bac946265 100644 --- a/layers/src/main/java/com/iluwatar/layers/App.java +++ b/layers/src/main/java/com/iluwatar/layers/App.java @@ -4,33 +4,22 @@ import java.util.Arrays; /** * - *

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

- * *

* This example demonstrates a traditional 3-layer architecture consisting of data access * layer, business layer and presentation layer. - *

- * *

* The data access layer is formed of Spring Data repositories CakeDao, CakeToppingDao and * CakeLayerDao. The repositories can be used for CRUD operations on cakes, cake toppings * and cake layers respectively. - *

- * *

* The business layer is built on top of the data access layer. CakeBakingService offers * methods to retrieve available cake toppings and cake layers and baked cakes. Also the * service is used to create new cakes out of cake toppings and cake layers. - *

- * *

* The presentation layer is built on the business layer and in this example it simply lists * the cakes that have been baked. - *

- * *

* We have applied so called strict layering which means that the layers can only access * the classes directly beneath them. This leads the solution to create an additional set of @@ -41,7 +30,6 @@ import java.util.Arrays; * layer DTOs (CakeInfo, CakeToppingInfo, CakeLayerInfo) * and returns them instead. This way the presentation layer does not have any knowledge of * other layers than the business layer and thus is not affected by changes to them. - *

* * @see Cake * @see CakeTopping