»ùÓÚjavaͼÊé¹Ý¹ÜÀíϵͳ-±ÏÒµÂÛÎÄ ÏÂÔØ±¾ÎÄ

»ùÓÚjavaͼÊé¹Ý¹ÜÀíϵͳ

Õª Òª

Ëæ×ÅÉç»áµÄ·¢Õ¹£¬ÈËÀà¶Ô֪ʶµÄÐèÇóÒ²ÔÚ²»¶ÏµØÔö³¤¡£ÔÚÕâÖÖÐÎʽÏ£¬Êé¼®¾ÍÖð½¥³ÉΪ»ñµÃ֪ʶµÄÖ÷Ҫ;¾¶¡£Òò´ËͼÊé¹Ý¾Í×ÔÈ»¶øÈ»µØÔÚÈËÃǵÄÉú»îÖÐÕ¼¾ÝÁËÒ»¶¨µÄλÖá£ÈçºÎ¿ÆÑ§µØ¹ÜÀíͼÊé²»µ«¹ØÏµµ½¶ÁÕß½èÔÄͼÊéµÄ·½±ã³Ì¶È£¬Ò²¹ØÏµµ½Í¼Êé¹ÝµÄ·¢Õ¹¡£Òò´Ë£¬¿ª·¢Ò»Ì×ÍêÉÆµÄͼÊé¹Ý¹ÜÀíϵͳ¾Í±Ø²»¿ÉÉÙÁË¡£

±¾ÎÄÏêϸ½²½âÈçºÎʹÓÃJavaÓïÑÔ¿ª·¢Í¼Êé¹Ý¹ÜÀíϵͳ¡£Í¬Ê±ÎªÁËʹ³ÌÐò½á¹¹¸ü¼Ó¼ò½à£¬ÔÚ±àдÊÇʹÓÃÁ˼òµ¥µÄMVC¼Ü¹¹¡£±¾ÏµÍ³»¹Ê¹ÓÃÁËMySQLÊý¾Ý¿âÀ´´æ´¢ÓйØÊý¾Ý¡£Ö÷ҪʵÏÖÒÔϹ¦Äܹ¦ÄÜ£º

¢Å µÇ¼¹ÜÀí£ºÌṩÓû§µÇ¼¡¢×¢Ïú¼°ÐÞ¸ÄÃÜÂëµÈ¹¦ÄÜ¡£

¢Æ Óû§ÐÅÏ¢¹ÜÀí£ºÌṩÓû§ÐÅÏ¢²é¿´ÒÔ¼°ÐÞ¸ÄÃÜÂëµÈ¹¦ÄÜ¡£

¢Ç ͼÊé½èÔĹÜÀí£ºÍ¼Êé¹ÜÀíÔ±¿ÉÒÔ¶ÔͼÊé½øÐнèÔĺ͹黹²Ù×÷¡£

¢È ͼÊéÐÅÏ¢¹ÜÀí£ºÍ¼Êé¹ÜÀíÔ±¿ÉÒÔ¶ÔͼÊé½øÐÐÔö¼Ó¼°¸üвÙ×÷¡£

¢É ÐÂÊé¶©¹º£º¿ÉÒÔΪͼÊé¹ÝÀïÔöÌíÐÂÊéϹºÊé¶©µ¥¡£ ¹Ø¼ü´Ê£ºÍ¼Êé¹ÜÀíϵͳ£»Í¼Êé¶©¹º£»MVCģʽ

Abstract

With the development of society,the human demand for knowledge continues to grow.In this situation,the book gradually became the main way to knowledge.So the library naturally occupies a certain position in people¡¯s lives. How to scientifically manage the books not only related to the convenience of the readers to borrow books, but also to the development of the

library.Therefore,development a comprehensive library management system will become essential.This writing explains how to use the Java language for developing library management system in detail.

This paper explained in detail how to use Java language to develop the library management system. Meanwhile, in order to make the program structure more simple, prepared using a simple MVC architecture. The system also uses a MySQL database to store the data. The main achievement of the following functions:

¢Å Log management: provides the user login, logout and modify passwords and other functions.

¢Æ The user information management: provides user information view and modify passwords and other functions.

¢Ç The librarian, library management system to borrow and return books operating.

¢È Library information management: the librarian can add to the book and the update operation.

¢É The new order, can add: library book purchase order.

Key words: Library management system£»Book ordering£»MVC model

Ŀ ¼

µÚ1ÕÂ ÐòÑÔ ...................................................................................... 1

1.1¿ÎÌ⿪·¢±³¾°¼°ÒâÒå ...................................................................... 1 1.2¿ÎÌâÑо¿ÄÚÈÝ .................................................................................. 2

µÚ2Õ ¿ª·¢¹¤¾ß¼°Ïà¹Ø¼¼Êõ .......................................................... 4

2.1¿ª·¢¹¤¾ß .......................................................................................... 4 2.2¿ª·¢ÔËÐл·¾³ .................................................................................. 8 2.3Ïà¹Ø¼¼ÊõÖ§³Ö ................................................................................ 12 2.4 MVCģʽ ...................................................................................... 15

µÚ3Õ ϵͳ×ÜÌåÉè¼Æ .................................................................... 17

3.1¹¦ÄÜÓëÄ£¿é·ÖÎö ............................................................................ 17 3.2ϵͳʵÏÖÁ÷³Ìͼ ............................................................................ 18 3.3ϵͳÓÃÀýͼ .................................................................................... 19

µÚ4Õ Êý¾Ý¿âÉè¼Æ ........................................................................ 21

4.1Êý¾Ý¿â·ÖÎö .................................................................................... 21 4.2Êý¾Ý¿â¸ÅÄîÉè¼Æ ............................................................................ 21 4.3Êý¾Ý¿âÂß¼­½á¹¹Éè¼Æ .................................................................... 24 4.4Êý¾Ý¿âE-Rͼ ............................................................................... 28

µÚ5Õ ϵͳÏêϸÉè¼Æ .................................................................... 30

5.1¹«¹²Ä£¿éÉè¼Æ ................................................................................ 31 5.2»ù´¡Êý¾Ýά»¤Ä£¿éÉè¼Æ ................................................................ 35 5.3ÐÂÊé¶©¹º¹ÜÀíÄ£¿éÉè¼Æ ................................................................ 38