Today many of Java developers work on Spring Web Application Framework. Today we’ll discuss most the problematic part of a Spring web application. There are a lot of functionality comes with Spring Framework and that is the main reason to choose this framework. Developers who are using Spring Framework in their applications are good to talk about the benefits of dependency injection.
Unfortunately, they are not good enough to take advantage of their advantages such as:
If we look at a spring operated web application, the hurdle is that the application is implemented using these common and uniformly incorrect design principles:
- The domain model objects are used only to store the data of the application.
- The business logic lies in the service layer which manages the data of the domain objects.
- The service layer has one service class per each entity of the application.
|