Software Engineering-Personal projects

Source: Internet
Author: User

Individual projects

Management of book Invoicing system

Name: Jia Gingdo

Study No.: 201303011135

Class: ITCSC 13-1

Date: 2015/4/24

I. Introduction of the topic

Management of book Invoicing system

1. User Login

The user only need one, namely admin Administrator, the user password is 123456, the user login information is saved in the property file user.properties , The user enters a user name and password when logged on, if successful, the system menu is printed, the unsuccessful log in again, the number of unsuccessful times is 3 , more than 3 times, the system exits.

2, System menu:1, inventory management 2, sales management 3, exit system

3, choose a different menu, enter different management functions. 1, Inventory management: Use bookStore.txt file as a library data file,

After entering the inventory management can only carry out the library operation and exit, that is, to add book information to the file, if the book name in the document already exists, then enter the book, you need to the original book inventory based on the addition of data. If there is no such book, it is entered as a new data.

Background interface:1, book storage 2, Exit

For example:

If the input information is: Java Foundation, then the next step only need to enter the quantity of incoming goods.

If the input information is:HTML, this book does not, then need to carry out detailed input, the next step into the author name, price, price, inventory and other information.

4, Sales Management: Use sell.txt file as book sales information preservation,

Background interface:1, book sales 2, Exit

Sales Management process:

Second, the source of GitHub links

Https://github.com/JiaDianDuo/java_core/tree/master

Third, the design of the module test cases, test results of the drawing

Package com.langxi.homework;

Import static org.junit.assert.*;

Import Org.junit.Test;

public class Librarysystemtest {

@Test

public void Test () {

Fail ("not yet implemented");

}

}

Operation Result:

Iv. problems and solutions and experiences

In the process of library storage, there are often errors in the recording of existing books.

Using the randonacessfile. txt file as the database of the library system.

The recording information of a book uses a fixed length string, which facilitates the modification of the information.

Software Engineering-Personal projects

Related Article

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.