To consolidate the technologies you have learned and master the technologies you just learned, and facilitate future development, we are now taking the time to build a system framework.
The main system structure and framework used have been basically designed. The system is built using Maven and modules. The three-layer structure is built using SpringMVC, Spring, and Hibernate, the front end adopts the mvc structure of Extjs4, and the basic skeleton of the Project is like this. Then fill in the content gradually. The following modules are expected:
1. The log management module based on AOP automatically intercepts and saves System Business logs through Spring AOP;
2. Integrate common user-role-department-permission management modules to provide user role allocation and management functions;
3. Integrated with the attachment management module to provide online reading of documents;
4. Integrate the shiro security framework;
5. Integrate activiti or jBPM workflow engine (which is to be determined );
For the moment, we need to integrate so many modules first. The best result is that we can implement relatively independent modules. If other systems want to use this module, we can extract it and integrate it into other modules.
At present, I have just built an SSH + Extjs framework. The detailed framework description will be explained step by step in the subsequent articles. If you have any good ideas or suggestions, I can give them to me, I can integrate it into the framework.
Layer 1 and Layer 3 structure construction
I believe we don't need to elaborate on the establishment of the SSH framework. In the development stage, we should first use the xml file configuration, and then modify the configuration to the full annotation during later integration, eliminating the need for xml files, provides a common Hibernate Persistence Layer Method.
The ssh framework is built on multiple maven modules. The details are described in the next article.
Reference address: Build a multi-module ssh project using maven (address is missing)
If you have better suggestions or idea, please do not hesitate to inform us !!!
If you want to develop this framework together, contact me to learn development and make progress together !!