Java full stack development---Java ERP system development: commercial ERP (1) the use of UML modeling tools

1. Introduction to ERP

(1) What is ERP (Enterprise Resource Planning)

Introduction to Popular Science-ERP (Enterprise Resource Planning)


The ERP system is an enterprise resource plan, proposed by the American Gartner Group in 1990. Enterprise Resource Planning is the next generation manufacturing system and resource planning software of MRP II (Enterprise Manufacturing Resource Planning). In addition to the existing production resource planning, manufacturing, finance, sales, and purchasing functions of MRP II, there are also quality management, laboratory management, business process management, product data management, inventory, distribution and transportation management, human resource management and regular Reporting system. At present, the meaning of ERP in my country has been expanded, and all kinds of software used in enterprises have all been included in the category of ERP. It jumps beyond the boundaries of traditional enterprises, optimizes the resources of enterprises from the scope of supply chain, and is based on a new generation of information system in the era of network economy. It is mainly used to improve the business process of the enterprise to enhance the core competitiveness of the enterprise.
ERP is a supply chain management idea proposed by the American computer technology consulting and evaluation group Gartner Group Inc. Enterprise resource planning refers to a management platform that is based on information technology and uses systematic management ideas to provide enterprise decision-makers and employees with decision-making operation methods. The ERP system supports discrete and process-based hybrid manufacturing environments, and its application range has expanded from manufacturing to retail, service, banking, telecommunications, government agencies, schools and other business sectors. Through the integration of database technology, graphical user interface, and Four generations of query language, client-server structure, computer-aided development tools, and portable open systems effectively integrate corporate resources.

Need to be familiar with some basic concepts
Supplier: your seller, the merchant who provides you with raw materials

Customer: Your buyer, who you want to sell

Purchasing: shopping

Sales: Selling things

Order: purchase order sales order

2. Common sense of software projects

Software development process
Demand analysis -> software design -> coding -> testing -> online -> system maintenance

(1) Demand analysis and demand specifications

Software requirements specification refers to the specification written by software engineers or analysts after completing feasibility analysis and investment benefit analysis on the basis of studying user requirements.
It defines in detail the information flow and interface, functional requirements, design requirements and restrictions, testing criteria and quality assurance requirements.
Its function is to serve as a technical agreement reached by users and software developers, as the basis and basis for starting the design work, after the completion of the system development, it provides a basis for product acceptance.

(2) Software design and software design documents

Insert picture description here
Insert picture description here

(Three) UML language

As a unified software modeling language, UML has extensive modeling capabilities.
UML is proposed on the basis of digesting, absorbing and refining all software modeling languages ​​that exist so far. It is the master of software modeling languages ​​based on the best of hundreds of families. UML also breaks through the limitations of software, widely absorbs modeling methods from other fields, and combines the characteristics of software according to the general principles of modeling, so it has a solid theoretical foundation and extensiveness. UML can be used not only for software modeling, but also for modeling work in other fields.

UML is based on the whole description and reflection of the entity, nature, relationship, structure, state and dynamic process of things.
UML can describe the software view that people observe from different angles, and it can also describe the form of software in different stages of development. UML can establish demand models, logic models, design models and implementation models, but UML has shortcomings in establishing domain models and needs to be supplemented.
As a modeling language, UML has strict syntax and semantic specifications.
UML is built on the basis of metamodel theory, including four layers of metamodel structure, which are primitive model, metamodel, model and user object.
The 4-layer structure is abstracted layer by layer, and the next layer is an instance of the previous layer.
All concepts and elements in UML have strict semantic specifications.
UML uses a set of graphic symbols to describe the software model. These graphic symbols are simple, intuitive and standardized, and it is relatively simple for developers to learn and master.
The described software model can be intuitively understood and read. Because of its normativeness, it can ensure the accuracy and consistency of the model.

(1) Establish a visual model for the software system.

UML symbols have good semantics and will not cause ambiguity; the visual model based on UML makes the system structure intuitive and easy to understand; the use of UML for software system models not only facilitates the communication between system developers and system users, but also facilitates system maintenance . The model is the blueprint of the system, it can supplement the developer's plan, and the model can help the developer plan the system to be built. With the correct model, the correct system design can be realized, ensuring that the user's requirements are met, and the system can stand up when the needs change. For a software system, the model is a set of views designed by the developer for the system. This group of views not only describes the functions that users need, but also describes how to implement these functions. [2]

(2) Build components for the software system.

UML is not an object-oriented programming language, but its model can directly correspond to a variety of programming languages. For example, it can use the code generator tool to convert the UML model into a variety of programming language codes, such as C++, XML, DTD, JAVA, Visual basic and other languages, or use the reverse generator tool to convert the program source code Convert to UML; even can generate tables in relational databases.

(3) Establish documentation for the software system.

UML can document the system structure and all its details. Different UML model diagrams can be used as software development documents at different stages of the project.

(4) Design tool PowerDesigner (PD)

PowerDesigner was originally developed by Xiao-Yun Wang (王晓昀) in SDP Technologies.

PowerDesigner is Sybase's enterprise modeling and design solution. It uses a model-driven approach to integrate business and IT. It can help deploy effective enterprise architecture and provide powerful analysis and design techniques for R&D lifecycle management.

PowerDesigner uniquely integrates a variety of standard data modeling technologies (UML, business process modeling, and market-leading data modeling), and integrates with mainstream development platforms such as .NET, WorkSpace, PowerBuilder, Java™, and Eclipse, thereby Provide business analysis and standardized database design solutions for traditional software development cycle management. In addition, it supports more than 60 relational database management systems (RDBMS)/versions.

PowerDesigner runs on the Microsoft Windows platform and provides an Eclipse plug-in

Three, the use of UML modeling tools

Installation file link: https://pan.baidu.com/s/1jIIgeZ8 Password: spk4

Crack file link: https://pan.baidu.com/s/1jIIgeZO Password: 24xv

Chinese document link: https://pan.baidu.com/s/1pLA4siv Password: eaji

1. New model

Insert picture description here
Insert picture description here

2. Create a class diagram (entity class): click on the left margin after clicking

Insert picture description here
Switch to the selection tool, double-click the created Class_1
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

3. Creation of activity diagram (realizing swim lane diagram)

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Insert picture description here
Insert picture description here
Implement swimlane diagram
Insert picture description here

4. Data design (a total of 17 tables)

Insert picture description here



Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Insert picture description here
Insert picture description here
Insert picture description here

Four, naming convention

1. System layering and package naming convention

(1) Entity class layer

com.itzheng.erp.entity

(2) Data access layer

Interface com.itzheng.erp.dao
classescom.itzheng.erp.dao.impl

(3) Business logic layer

interface com.itzheng.erp.biz

(4) Action layer

com.itzheng.erp.action

2. Class interface naming convention

(1) The name of the entity class table, with the first letter capitalized dep Dep
(2) Data access layer interface IDepDao
(3) Data access class DepDao
(4) Business logic layer interface IDepBiz
(5) Business logic DepBiz
(6) Action class DepAction

Five, system architecture- SSH2+easyui

(1) Front-end and back-end development

Insert picture description here
Front end: including HTML, JS, CSS, pictures, the function is to display data and collect data

Back-end: data access layer, business logic layer, control (action), the role of processing business logic, data storage and reading.

Advantages of front-end and back-end development

Clear division of labor is conducive to improving development speed

The project changes the development language, the workload is relatively small

Enhance the user experience

Front-end: The problem of concern is how to display data and how to collect user input data

Backend: logical processing of data

(2) Front-end-EasyUI

Insert picture description here

(3) Back-end-SSH2 integration framework

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_44757034/article/details/108896711