Õª Òª
Ëæ×ÅÍâÂô¶©²ÍÔÚ¸ßУԽÀ´Ô½ÆÕ¼°£¬´«Í³µÄµç»°¶©²Í¸ø¹Ë¿Í¸úÍâÂôµê´øÀ´²»·½±ã£¬ÈçºÎʹ¶©²Í¸ü¿ìËÙ£¬¸ü·½±ãÒѳÉΪÖÚ¶à¸ßУѧÉú¹Ø×¢µÄÎÊÌâÁË¡£±¾ÍâÂô¶©²Í¹ÜÀíϵͳÊÇÕë¶Ô¸ßУÍâÂôµê½øÐоßÌåµÄÐèÇó·ÖÎö£¬²ÉÓÃOOA£¨ÃæÏò¶ÔÏó·ÖÎö£©ºÍ²ÉÓÃUML¹¤¾ß¸¨Öú¿ª·¢·ÖÎö£¬»ùÓÚS2SH£¨Struts2+Spring+Hibernate£©¼Ü¹¹½øÐÐÉè¼ÆºÍ¿ª·¢¡£ÂÛÎÄÖ÷ÒªÃèÊöÍâÂô¶©²Í¹ÜÀíϵͳµÄ¿ª·¢Á÷³Ì£¬·Ö±ð´ÓÐèÇó·ÖÎöºÍϵͳÉè¼Æ¡¢ÏêϸÉè¼ÆÓëϵͳʵÏÖÕ⼸¸ö½×¶Î½øÐÐÃèÊö¡£
¹Ø¼ü´Ê£º¶©²Í¹ÜÀíϵͳ S2SH OOA
ABSTRACT
With more and more popular in universities order take-out, due to the traditional telephone reservation for customers to bring inconvenience take-away meal, how to make more quickly, more convenient has become the concern of the students. The take-away meal management system in colleges and universities is the concrete take-away demand analysis, using object-oriented analysis (OOA) and using UML tools to assist in the development, using Struts2-Spring-Hibernate framework to design and development. Thesis mainly describes take-away meal management system process, separately from the demand analysis and system design, detailed design and realization of this system are described several stages.
Key words: meal management system S2SH OOA
Ä¿ ¼ Ò»¡¢Ð÷ÂÛ 1 1.1 ±³¾° 1 1.2 ±±Ê¦´óÖ麣·ÖУÍâÂô¶©²ÍµÄÏÖ×´·ÖÎö 1 1.3 ÍâÂô¶©²Í¹ÜÀíϵͳµÄ¿ÉÐÐÐÔ·ÖÎöÓë×÷Óà 1 1.4 ϵͳ¼ò½é 2 ¶þ¡¢Ïà¹Ø¼¼ÊõµÄ½éÉÜ 3 2.1 STRUTS2¼¼Êõ½éÉÜ 3 2.2 HIBERNATE¼¼Êõ½éÉÜ 4 2.3 SPRING¼¼Êõ½éÉÜ 5 2.4 DWR¼¼Êõ½éÉÜ 6 Èý¡¢ÏµÍ³ÐèÇó 8 3.1 UML 7 3.2 ÐèÇó·ÖÎö 8 3.3 ϵͳ¹¦ÄÜ 8 ËÄ¡¢ÏµÍ³Éè¼Æ 11 4.1 ϵͳ×ÜÌå½á¹¹ 11 4.2 ϵͳ¼Ü¹¹·½Ê½ 11 4.3 HIBERNATE×Ô¶¯½¨±í 11 4.4 ÏêϸÉè¼Æ 17 4.4.1 ÀàÉè¼Æ 17 4.4.2 Á÷³Ì·ÖÎö 19 4.4.3 ʱÐòͼ·ÖÎö 20 4.4.4Ö÷Òª½çÃæÉè¼Æ 26 Î塢ϵͳʵÏÖ 30 5.1 ¿ª·¢¹¤¾ßÓë»·¾³ 30 5.2 »·¾³´îÅä 30 5.3 ±àÂëʵÏÖ 32 5.3.1 DAO²ãµÄ±àд 33 5.3.2 Service²ãµÄ±àд 34 5.3.3 WEB²ãµÄ±àд 35 5.3.4 DWRÓ¦Óà 38 ½á ÂÛ 42 ²Î¿¼ÎÄÏ× 43 Ö л 44 Ò» ¡¢Ð÷ ÂÛ 1.1 ±³¾° ½øÈë21ÊÀ¼ÍÒÔÀ´£¬²ÍÒûÐÐÒµÒÔÄê¾ù20%µÄÔö³¤Ëٶȣ¬³ÉΪ¹úÃñ¾¼ÃÖеķ¢Õ¹×î¿ìµÄÐÐÒµÖ®Ò»¡£Ëæ×ÅÈËÃÇÉú»îˮƽµÄ²»¶ÏÌá¸ß£¬ÈËÃÇÉõÖÁÏëÒª²»³öÞÍÄܳԵ½¿É¿ÚµÄ·¹²Ë¡ª¡ªÕâ¾ÍÊÇÍâÂô¡£ÔÚÎÒ¹ú¸ßУÄÚ²ÍÒûÐÐÒµÍâÂôÐÐÒµ¸üÊÇ·¢Õ¹×î¿ìµÄÒ»¸öÐÐÒµ£¬ÔÚ±±Ê¦´óÖ麣·ÖУÿÄ궼Óм¸¼äеÄÍâÂôµêµÄ²úÉú¡£ÍâÂô¶©²ÍÒѾ³ÉΪ±±Ê¦´óÖ麣·ÖУѧÉúÉú»îÖв»¿ÉȱµÄÒ»²¿·Ö£¬¶ø¶©²ÍµÄ·½Ê½Ò²Ëæ×ÅѧÉúÃǵÄÒªÇóÌá¸ß£¬²»¶ÏµÄ¶àÑù»¯ºÍ³ÉÊ컯¡£
1.2±±Ê¦´óÖ麣·ÖУÍâÂô¶©²ÍÐÐÒµµÄÏÖ×´·ÖÎö
ÒÀ¿¿µç»°¶©²ÍÊDZ±Ê¦´óÄ¿Ç°×îÖ÷ÒªµÄ¶©²Í·½Ê½£¬Èç±È½Ï´óµÄÍâÂôµê¹Ø¶«¡¢Ï²Ô·¡¢ºìÃÎÔµ¶¼ÊÇʹÓõ绰¶©²Í·½Ê½£¬´ËÖÖ¶©²Í·½Ê½Óв»ÉÙµÄȱÏÝ£¬±ÈÈ磺ʱЧÎÊÌâ¡¢´òµç»°µÄ³É±¾µÈµÈ¡£Ä¿Ç°±±Ê¦´óÍâÂô¶©²ÍÐÐÒµµÄÏÖ×´·ÖÎöÈçÏ£º £¨1£© ÍâÂôµêÊýÁ¿Öڶ࣬¸÷µê¾ºÕù½Ï´ó¡£ £¨2£© ÍâÂôµê¶àÊýʵÐÐÈ˹¤·½Ê½¶©²Í£¬¼´´òµç»°¶©²ÍµÇ¼Ç¡£ÕâÖÖ¶©²Í·½Ê½Ôì³É¶©²ÍºÜ²»·½±ãÌرðÔÚ¶©²Í¸ß·åÆÚ£¬¾³£³öÏÖ´òµç»°´ò²»Í¨µÄÏÖÏó¡£ £¨3£© ÍâÂôµê¶àÊýûÓÐʵÐÐÊг¡·ÖÎö£¬Ò»Ð©²ËʽÔÚ¶¥·åÆÚ³öÏÖȱ²ËÏÖÏ󣬶øһЩ²Ëʽȴ³öÏÖ»ýÀÛÏÖÏó£¬Ôì³ÉÁË×ÊÔ´µÄÀ˷Ѻ;¼ÃËðʧ¡£ £¨4£© ÍâÂôµêûÓжÔÍâÂô½øÐвÆÎñ¹ÜÀí£¬Ôì³É¶ÔµêÄÚ×ʽð¹ÜÀí²»Ã÷È·ºÍµêÔ±ÀÄÓÃ×ʽðµÄ¿ÉÄÜ¡£ £¨5£© ÎÞ·¨ÎªµêÄÚ¹ÜÀí²ãÌṩ׼ȷµÄ¾ö²ßÐÅÏ¢£¬ÕÆÎÕ¼°Ê±µÄÊг¡ÏûÏ¢¡£ ͨ¹ý·ÖÎö±±Ê¦´óµÄÍâÂôÐÐÒµµÄÏÖ×´£¬²»ÄÑ·¢ÏÖ¹úÄÚ¸ßУµÄÍâÂôµê´ó¶àÊý¶¼ÊÇÒÀ¿¿ÊÖ¹¤µÄ¹ÜÀí·½Ê½£¬Ã»ÓÐʵÐÐÍâÂô¶©²Í¹ÜÀíµÄÐÅÏ¢»¯£¬ËùÒÔÔì³ÉÁ˲»ÉÙÎÊÌâ¡£
|