Javase Summary Procedure-------Bookstore Management System

Source: Internet
Author: User

Bookstore Management System

Through a period of learning, mastered some basic Java programming technology and software development capabilities, now simple to do a small software, although not real software, but for beginners is a good example to consolidate learning knowledge.

Objectives of the project's linkage:

1. Basic analysis of Java application
2. Cultivating the basic idea of object-oriented programming
3, Java basic design mode comprehensive application
4. Master the basic design of layering and interface
5. Construct a reasonable Java application package structure
6, comprehensive application of JSE learning knowledge
7. Use the set frame rationally in the application
8. Use the general components of swing in the application
9. Realization mechanism of basic presentation layer
10. Basic operation of IO stream and file
11. Develop good Java programming habits
12, training the ability to debug Java programs, training the ability to change the wrong

project function requirements:

1, can operate the user's registration, modify the basic information, delete and query.
2, can add to the basic information of books, delete, modify and query operation.
3, can fill in the purchase order, a purchase order with a number of specific incoming information, the purchase of books must be in the book management has already had, and the purchase of inventory corresponding to the stock of books.
4, can fill out a sales order, a sales order with a number of specific sales information, sales of books must be in the book management has already had, and the number of sales can not exceed the current inventory quantity, sales of the same time to modify inventory corresponding books inventory volume.
5, you can view the inventory details, you can follow the conditions to find the specific inventory value of the book.
6, the permission to simplify, do a fixed permission control. The user according to the module into different operating rights of the personnel, a special Admin user, you can operate all the functions.

Project basic design:

1. Architecture Design

①, overall framework, module division

②, Module Division: User, book, purchase, Sales and Inventory 5 modules

2. system function Structure Design

Specific functional sub-modules for each function module

3. Database design

①, user management (User.txt)

Field name and order:

Description: The type of which is of type int and is used to represent the types of the operation user.

As the admin, you can do all the work
2--as a person who can operate a library module
3--represents the person who can operate the incoming module
4--represents the person who can operate the sales module
5--represents the person who can operate the Inventory module

②, book Management (Book.txt)

Field name and order:

③, Stock management (InMain.txt)

Field name and order:


④ and purchase details management (InDetail.txt)

Field name and order:

⑤, Sales Management (OutMain.txt)

Field name and order:

⑥, Sales detail Management (OutDetail.txt)

Field name and order:

⑦, Inventory management (Stock.txt)

Field name and order:

subcontracting of projects

First layer: According to the module-------User module, book, Purchase (in), Sales (out), Inventory (store)

Tier Two:-------presentation layer (UI), logical layer (business), and Data Layer (DAO) in three-tier mode, typically adding a value object layer (VO)

The third layer: according to the division of the layer-------depending on the circumstances, such as business and DAO in the form of the Iron Triangle to build the sub-package, and the UI and VO do not need to re-draw the molecular bag)

Project Code implementation:

This project adopts a series of techniques, such as layered design, engineering mode, value object, enumeration, interface switching technology, which is worth studying. Because of the code a lot, I directly upload the project to my blog resources, download can, thank you.

Download Link: Bookstore Management system Code implementation








Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Javase Summary Procedure-------Bookstore Management System

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.