JavaSE summary program ------- bookstore management system and javase bookstore Management System
Bookstore Management System
After a period of study, I have mastered some basic java programming technologies and software development capabilities. Now I have simply developed a small software, although it cannot be regarded as a real software, however, it is a good example for beginners to consolidate their learning knowledge.
Target of project contact:
1. Basic Analysis of Java applications
2. Cultivate the basic idea of Object-Oriented Programming
3. Integrated Application of Java Basic Design Patterns
4. master the basic design of layers and interfaces
5. Build a reasonable Java application package structure
6. Apply the knowledge learned by JSE comprehensively
7. Rational Use of the Collection framework in applications
8. Use common swing components in applications
9. Basic implementation mechanism of the Presentation Layer
10. Basic operations on IO streams and files
11. cultivate good Java programming habits
12. cultivate the ability to debug Java programs and the ability to correct errors
Project Functional requirements:
1. Users can register, modify, delete, and query basic information.
2. You can add, delete, modify, and query basic information of a book.
3. You can enter the purchase order. One Purchase Order contains multiple specific purchase information. The purchased books must already exist in the book management. You can also modify the inventory quantity of the expected books when purchasing the goods.
4. Fill in the sales form. A sales form contains multiple specific sales information. The sold books must already exist in the book management, and the sales quantity cannot exceed the current inventory quantity; modify the inventory of books corresponding to the inventory at the same time of sales.
5. You can view the inventory details and search for the inventory values of specific books according to the conditions.
6. Simplify permissions and implement fixed permission control. Users are divided into persons with different operation permissions by module. A Special admin user can perform all the operations.
Basic Project Design:
1. Architecture Design
① Overall framework and module division
② Module division: five modules: User, book, purchase, sales and inventory
2. System Function Structure Design
Specific function sub-modules of each function module
3. Database Design
Zookeeper user management (user.txt)
Field Names and sequence:
Description: The type indicates the user type.
1 -- indicates admin. All operations can be performed.
2 -- indicates the person who can operate the book Module
3 -- indicates the personnel who can operate the purchase Module
4 -- indicates the person who can operate the sales Module
5 -- indicates the person who can operate the inventory module
Zookeeper library management (book.txt)
Field Names and sequence:
Zookeeper Import Management (inmain.txt)
Field Names and sequence:
Import ticket management (indetail.txt)
Field Names and sequence:
Sales Manager (outmain.txt)
Field Names and sequence:
⑥、 (Outdetail.txt)
Field Names and sequence:
Zookeeper inventory management (stock.txt)
Field Names and sequence:
Project subcontracting
Level 1: divided into ------- user, book, in, out, and store by module)
Layer 2: The Layer 3 mode is divided into ------- presentation layer (ui), logic layer (business), and data layer (dao). A Value Object layer (vo) is usually added)
Layer 3: divided by layer ------- depends on the specific situation. For example, the sub-package must be created in the form of a tie triangle in business and dao, the ui and vo do not need to be tagged)
Project code implementation:
This project uses a series of technologies such as hierarchical design, engineering model, value object, enumeration, and interface switching technology, which is worth learning. Because there are many codes, I can directly upload the project to my blog resources and download it. Thank you.
Download link: bookstore management system code implementation
:
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.