Files
Book-management-system/README.md
T
2026-04-27 23:38:19 +08:00

31 lines
983 B
Markdown

# MZH Library Management
Initial JSP + Servlet + MySQL scaffold for the library-management system.
## Stack
- Java 11
- Maven WAR project layout
- JSP + Servlet on Tomcat
- MySQL through JDBC DAO classes
## Local Setup
1. Create a MySQL database and run `src/main/resources/db/schema.sql`.
2. Copy `src/main/resources/db.properties.example` to `src/main/resources/db.properties`.
3. Fill in the MySQL URL, username, and password.
4. Build with Maven when available:
```bash
mvn clean package
```
5. Deploy `target/library-management.war` to Tomcat.
The implemented scaffold slices now cover login/permission checks, catalog and
book management, book category maintenance, reader profile management,
borrowing circulation, reader loan history, the staff report center,
administrator user management, and system-log viewing. Authentication stores
only a safe authenticated-user snapshot in the HTTP session, and business
workflows stay in Servlet -> Service -> DAO boundaries.