Current location - Training Enrollment Network - Books and materials - Course design of java book management system
Course design of java book management system
Struts2.0 can be considered as a framework, which is popular at present. According to the framework of MVC, that is, views, controls and models. Generally, jsp is used to display the interface, java is used for background logic processing, and struts needs to download the package. I can't remember which packages. I have used myeclipse before, so I don't need to download it. If you have never used struts and find it too difficult, you can use servlet+jsp. Similarly, use MVC framework, jsp as page and servlet as logic control. Now or you can use the Velocityservlet framework, which is similar to a servlet, but this one can use html (that is, a static page) as a page without jsp. VelocityServlet needs to download several packages, I forgot. You can ask me for it if necessary. I have it here. But VelocityServlet's words seem a little outdated and not very popular. ...

If you want to be more advanced, you can use the ssh framework, which is Strust+Spring+Hibernate. ...

The overall design is as follows:

Page presentation: html or jsp

Logical jump: an action in java (that is, inheriting the parent class, depending on the framework)

Database operations: various additions, deletions, changes and queries.

Javabean: model. Used to receive information from the database or from the page.

Function modules can be divided into adding, deleting, viewing books, and paying attention to user permissions (the permissions of readers and administrators are definitely different, and the displayed interface is different).

Users can add, delete and view (users include readers and administrators).

Management of user's borrowing information (what to do if it is not returned on time, etc.). )

It is said that the book information system is a good exercise topic. ...