A factory production car,
business modules split, layered.
Maven project polymerization.
common.jar: General methods, tools, enum, and the like, it is a separate package
pojo.jar: class related entity, Entity,
mapper.jar: a data layer, dao layer can be considered, because we use Mybatis, so when defined here is defined as a mapper. If orm other frame for example JPA, defined here as the customer dao layer.
service.jar: the business layer,
controller.jar: receiving a request, processing the request.
By layering maven, making the project more clear,
maven split the project into several different sub-modules, so that other items may be needed to rely on. Different sub-modules grouped together, the final project is to be run.
And they may use different components of mutually different dependency.
End