Õª¡¡¡¡Òª
Ëæ×ſƼ¼µÄ·¢Õ¹£¬»¥ÁªÍøºÍÒƶ¯Í¨Ñ¶¼¼ÊõµÄÈÚºÏÓúÀ´ÓúÍêÃÀ£¬»ùÓÚÕâÖÖ¼¼ÊõµÄÍøÂç²úÆ·ÒѾ³ÉΪÈËÃÇÉú»îÖв»¿É»òȱµÄÒ»²¿·Ö¡£Óë´Ëͬʱ£¬21ÊÀ¼ÍÊÇÒ»¸öÐÅÏ¢±¬Õ¨µÄʱ´ú£¬ÐÅÏ¢Á¿²»¶ÏÔö¶à£¬¹µÍ¨ÈÕÒæÏÖ´ú»¯£¬Òò´ËÈËÃÇÐèÒªÒ»¸ö·½±ã¿ì½ÝµÄ·½Ê½À´´æ´¢´óÁ¿µÄͨѶÐÅÏ¢¡£
ͨ¹ý¶ÔÈËÃÇÏëҪͨѶ¼ʵÏÖ¾ßÌ幦ÄܵÄÉîÈëµ÷²éÓë·ÖÎöÒÔ¼°¶ÔÆäËûͨѶ¼ϵͳµÄѧϰ£¬ÎªÓû§Á¿Éí¶¨ÖÆÁËÒ»¸öʵÓõĸöÈËͨѶ¼£¬Ê¹Óû§¿ÉÒÔͨ¹ýWeb,WAPµÈ·½Ê½ËæʱËæµØ½øÐзÃÎÊ¡£¸öÈËͨѶ¼ϵͳÊÇÒ»¸öרÃÅÕë¶Ô´¢´æÓû§ÁªÏµ·½Ê½¶àÒÔ¼°Ò»Ð©¸öÈËÐÅÏ¢µÄʵÓÃÐÅϢϵͳ£¬ËüʵÏÖÁËÓû§¶ÔÅóÓÑ¡¢Í¬ÊµȸöÈËÐÅÏ¢µÄ·ÖÀà´¢´æºÍ¿ìËÙ²éÔĵŦÄÜ£¬´ó´ó¼õÉÙÁ˲éÕÒ¹ý³ÌµÄʱ¼ä¡£¸ÃϵͳÊÇʹÓÃJava×÷Ϊ¿ª·¢ÓïÑÔ,ÒÔMySql×÷Ϊºǫ́Êý¾Ý¿â£¬Tomcat×÷Ϊ·þÎñÆ÷£¬»ùÓÚB/Sģʽ¿ª·¢µÄ¸öÈËͨѶ¼µÄÉè¼ÆÓëʵÏÖ¡£
±¾ÎļòÊöÁ˹úÄÚÍâͨѶ¼·¢Õ¹ÏÖ×´£¬²¢¶ÔͨѶ¼·¢Õ¹ÏÖ×´½øÐÐÁËÉî¶ÈÆÊÎö£¬²¢¸ù¾ÝÐèÇóÌá³öÁËÔÚMyEclipseÖÐÕûºÏSSHµÄƽ̨ÉÏ¿ª·¢¸öÈËͨѶ¼ϵͳµÄÏîÄ¿¼Æ»®¡£SSH¼´Struts£¬Spring£¬Hibernate¡£ÆäÖÐStrutsÊÇÒ»¸öʵÏÖÁËMVCģʽµÄ¾µäµÄ¿ò¼Ü£¬ÔÚϵͳÖÐÖ÷Òª³Ðµ£ÓÉǰ̨ҳÃæÏòºǫ́´«ÊäÊý¾ÝµÄÈÎÎñ£»HibernateÊÇÇáÁ¿¼¶JAVA EEÓ¦Óõij־òã½â¾ö·½°¸£¬ÒÔÃæÏò¶ÔÏóµÄ·½Ê½ÌṩÁ˳־û¯ÀൽÊý¾Ý±íÖ®¼äµÄÓ³É䣬ÊÇÓÅÐãµÄORM¿ò¼Ü£¬Ö÷Òª¸ºÔðÓëµ×²ãÊý¾Ý¿â½øÐн»»¥£»SpringΪÆóÒµÓ¦ÓÃÌṩÁËÇáÁ¿¼¶µÄ½â¾ö·½°¸£ºËüµÄIOCÈÝÆ÷£¬AOP˼Ï룬ÒÔËüΪºËÐÄÕûºÏ³Ö¾Ã²ã¿ò¼ÜºÍWeb MVC¿ò¼Ü£¬Ö÷Òª×÷ÓÃÊÇʵÏÖÒµÎñÂß¼µÄ´¦Àí£¬ÊµÏÖϵͳ¹¦ÄÜ¡£Í¨¹ýÈý¸ö¿ò¼ÜµÄÕûºÏ£¬¿ÉÒÔ¹¹½¨¿ÉÀ©Õ¹¡¢¿É¸´ÓᢿÉÒÆÖ²¡¢¿Éά»¤µÄÈí¼þϵͳ¡£
±¾ÎÄÖ÷Òª²ûÊöÁ˸öÈËͨѶ¼ϵͳµÄ¿ÉÐÐÐÔ·ÖÎö¡¢ÏµÍ³Éè¼Æ¡¢ÐèÇó·ÖÎö¡¢¹¦ÄÜÄ£¿é»®·Ö¡¢Êý¾Ý¿âģʽ·ÖÎö¡¢ÏµÍ³²âÊÔÓëÐÔÄÜ·ÖÎö£¬²¢¾Ý´ËÉè¼ÆÁË»ùÓÚB/SģʽµÄÊý¾Ý¿â½á¹¹ºÍJAVA³ÌÐò¡£±¾ÏµÍ³Ö÷Òª·ÖΪǰ̨ºÍºǫ́£¬×îÖÕÐγɸöÈËͨѶ¼ϵͳ¡£
¹Ø¼ü×Ö£º¸öÈËͨѶ¼ϵͳ, Struts2£¬Hibernate£¬Spring£¬B/Sģʽ
Abstract
With the development of science and technology, Internet and mobile communication technology has become more and more perfect fusion, based on the technology of network product already becomes the people to live an indispensable part. At the same time, twenty-first Century is an age of information explosion, the amount of information increasing, more and more modern communication, so people need a convenient and efficient way to store large amounts of information communication.
The people want to mail list realize the specific function of the thorough investigation and analysis as well as to other mail list learning system, tailored for users of a practical personal mail list, the user may through the Web, WAP, whenever and wherever possible to consult. Personal mail list system is specially designed to store user contact way and some personal information of practical information system, it enables the user to many friends, colleagues and other personal information storage and fast access function, greatly reduces the searching time. The system is to use Java as a development language, adopts MySql as background database, Tomcat as the server, based on B / S mode development of the design and implementation of personal mail list.
This paper briefly introduces the development status of domestic and foreign mail list, and the mail list development present situation has carried on deep analysis, and according to the requirements put forward in the MyEclipse integration of SSH developed on the platform of personal mail list system project plan. SSH, hibernate, spring, where Struts is a realization of the MVC model of the classic framework, in the system is mainly responsible for data from the front page to background transmission task; Hibernate is a lightweight JAVA EE application persistence solution, by using object oriented approach provides a persistent class to table data mapping between, is an excellent ORM framework, mainly responsible for the underlying database interaction; Spring for enterprise applications to provide a lightweight solution: its IOC container, AOP thought, take it as the core integration persistence layer framework and Web MVC framework, the main role is to realize business logic processing, realize the function of the system. Through the three framework integration, can build scalable, reusable, portable, and maintainable software system.
This article mainly elaborated personal mail list system feasibility analysis, system design, needs analysis, functional module division, database model analysis, system testing and performance analysis, and thus designed based on B / S mode of the database structure and JAVA program. This system is divided into front and back, eventually forming personal mail list system.
Keywords£ºPersonal mail list system, Java, MySQL, B / S mode
Ŀ ¼
Õª¡¡¡¡Òª I
Abstract II
µÚ1Õ Ð÷ÂÛ 1
1.1ÏîÄ¿Ñо¿±³¾° 1
1.2Ä¿µÄºÍÒâÒå 1
1.3¹úÄÚÍâͨѶ¼·¢Õ¹ÏÖ×´ 1
1.3.1¹úÄÚͨѶ¼·¢Õ¹ÏÖ×´ 1
1.3.2¹úÍâͨѶ¼·¢Õ¹ÏÖ×´ 2
1.4ϵͳÉè¼Æ˼Ïë 2
1.5±¾ÎĽṹ 3
µÚ2Õ ϵͳ¿ª·¢»·¾³¼°¼¼Êõ½éÉÜ 4
2.1ϵͳÔËÐÐƽ̨ÉèÖà 4
2.2ÔËÐл·¾³ 4
2.3¿ª·¢¹¤¾ß¼°¼¼Êõ¼ò½é 4
2.3.1¿ª·¢¹¤¾ß¼ò½é 4
2.3.2¿ª·¢¼¼Êõ¼ò½é 5
µÚ3ÕÂ ¿ÉÐÐÐÔ·ÖÎö 6
3.1¾¼Ã¿ÉÐÐÐÔ 6
3.2 ¼¼Êõ¿ÉÐÐÐÔ 6
3.3Ó¦ÓÿÉÐÐÐÔ 6
3.4ÔËÐпÉÐÐÐÔ 7
µÚ4Õ ÐèÇó·ÖÎö 8
4.1ͨѶ¼ϵͳµÄÐèÇó·ÖÎö 8
4.1.1 ÃæÏò¹ÜÀíÔ±Óû§µÄ¹¦ÄÜÐèÇó 8
4.1.2 ÃæÏòÆÕͨÓû§µÄ¹¦ÄÜÐèÇó 9
4.2Êý¾ÝÁ÷ͼ 9
µÚ5Õ ×ÜÌåÉè¼Æ 11
5.1ϵͳģ¿é×ÜÌåÉè¼Æ 11
5.1.1ÆÕͨϵͳ¹¦ÄÜÄ£¿é 11
5.1.2¹ÜÀíÔ±¹¦ÄÜÄ£¿é 12
5.2Êý¾Ý¿âÉè¼Æ 12
5.2.1Êý¾Ý¿âÑ¡Ôñ 13
5.2.2Êý¾Ý·ÖÎö 13
5.2.2Êý¾Ý¿âµÄÏêϸÉè¼Æ 13
µÚ6Õ ÏêϸÉè¼ÆÓëʵÏÖ 16
6.1ϵͳÁ÷³Ì·ÖÎö 16
6.2ÆÕͨÓû§»ù±¾¹¦ÄÜÉè¼ÆÓëʵÏÖ 16
6.2.1Óû§µÇ¼ģ¿éÉè¼ÆÓëʵÏÖ 16
6.2.2ÐÂÓû§×¢²áÉè¼ÆÓëʵÏÖ 17
6.2.3¸öÈË×ÊÁÏÐÞ¸ÄÄ£¿éµÄÉè¼ÆÓëʵÏÖ 18
6.2.4ÁªÏµÈ˹ÜÀíÄ£¿éµÄÉè¼ÆÓëʵÏÖ 18
6.2.5ÁôÑÔ¹ÜÀíÄ£¿éµÄÉè¼ÆÓëʵÏÖ 19
6.3ϵͳºǫ́»ù±¾¹¦ÄÜÉè¼ÆÓëʵÏÖ 19
6.3.1¹ÜÀíÔ±µÇ¼ģ¿éµÄÉè¼ÆÓëʵÏÖ 19
6.3.2Ð޸ĸöÈËÃÜÂëÄ£¿éµÄÉè¼ÆÓëʵÏÖ 20
6.3.3Óû§¹ÜÀíÄ£¿éµÄÉè¼ÆÓëʵÏÖ 20
6.3.4ÁªÏµÈËÀà±ðÄ£¿éµÄÉè¼ÆÓëʵÏÖ 20
6.3.5ÁôÑÔ¹ÜÀíÄ£¿éµÄÉè¼ÆÓëʵÏÖ 20
6.3.6ϵͳ¹«¸æÄ£¿éµÄÉè¼ÆÓëʵÏÖ 21
µÚ7Õ ϵͳ²âÊÔÓëÐÔÄÜ·ÖÎö 22
7.1Èí¼þ²âÊÔ 22
7.1.1Èí¼þ²âÊÔ¸ÅÊö 22
7.1.2ϵͳÕûÌå²âÊÔ²½Öè 22
7.2¸öÈËͨѶ¼ϵͳ²âÊÔ 23
7.2.1ÆÕͨÓû§Ä£¿éµÄ²âÊÔ 23
7.2.2Óû§×¢²áÄ£¿éµÄ²âÊÔ 23
7.2.3ÁªÏµÈËÀà±ð¹ÜÀíÄ£¿éµÄ²âÊÔ 23
×Ü ½á 25
²Î¿¼ÎÄÏ× 26
Ö л 27