·¹µêµã²ËϵͳµÄÉè¼ÆÓëʵÏÖ±ÏÒµÉè¼Æ ÏÂÔØ±¾ÎÄ

·¹µêµã²ËϵͳµÄÉè¼ÆÓëʵÏÖ

Õª Òª

½üÄêÀ´£¬Ëæ×ÅÈËÃñµÄÉú»îˮƽµÄ²»¶ÏÌá¸ß£¬²ÍÒûÒµµÄÏû·Ñ³ÖÐøÔö³¤£¬¾ºÕùÓúÀ´Óú¼¤ÁÒ¡£È»¶ø£¬´«Í³²ÍÒûÆóÒµµÄÈÕ³£ÔË×÷»¹ÊÇ¿¿È˹¤¹ÜÀí£¬´ÓÔ­²ÄÁÏÈë¿âµ½¿ÍÈ˵㵥£¬ÔÙµ½½áÕË»ù±¾ÉÏÓÉÈ˹¤Íê³É¼Ç¼£¬ÕâÑù×ö²»½öºÄ·ÑÈËÁ¦×ÊÔ´¶øÇÒÈÝÒ×µ¼Ö¼Ç¼¶ªÊ§»òÖØ¸´µÈ´íÎó£¬Ôì³É¹ÜÀíˮƽµÍÏ¡£´«Í³µÄ²ÍÒûÆóÒµ´æÔÚÕâЩÎÊÌ⣬¿ÍÈ˵㵥Ðè·þÎñÔ±¼Ç¼²¢ËÍÖÁ³ø·¿£¬¿ÍÈ˽áÕËÓÉÊÖ¹¤¼Ç¼£¬ÈËÁ¦ºÄ·Ñ´ó£¬¿ÍÈ˵ȴýʱ¼ä³¤£¬¹ÜÀíЧÂʵÍÏ£¬Õâ¾ÍÆÈÇÐÐèÒª±ê×¼µÄ¡¢¸ßЧÂʵļÆËã»ú¹ÜÀí·½Ê½Òýµ¼Æä·¢Õ¹£¬Í¨¹ý¼ÆËã»ú¹ÜÀí·¹µêµÄÈÕ³£ÔË×÷£¬Ìá¸ß¹¤×÷ЧÂÊ¡£

ͨ¹ý·¹µêµã²ËϵͳµÄ¿ª·¢ÒÔʵÏÖ¶Ô²ÍÒûÐÐÒµÌṩÐÅÏ¢»¯¹ÜÀí¡£×ÅÖØÂÛÊöÁËϵͳ¹¦ÄÜÓëʵÏÖ¡¢Êý¾ÝÁ÷³Ì¼°´æ´¢,°üÀ¨²Ëµ¥¹ÜÀí¡¢Óû§¹ÜÀí¡¢¶©µ¥¹ÜÀí¡¢ºǫ́Êý¾Ý¿â¹ÜÀíµÈ¡£

ÔËÓÃJSP¼¼ÊõºÍMySQLÊý¾Ý¿âÔ­Àí£¬»ùÓÚB/Sģʽ¿ª·¢ÁËÒ»¸ö·¹µêµã²Ëϵͳ¡£±¾ÏµÍ³ÔÚÉè¼ÆÖÐÑϸñ°´Èí¼þ¹¤³ÌµÄÀíÂۺͷ½·¨½øÒ»²½·ÖÎöÈ·¶¨Èí¼þµÄÄ£¿é¡¢Êý¾Ý½á¹¹ºÍϵͳ¹¦ÄܵľßÌåʵÏÖ·½°¸£¬²ÉÈ¡Windows VistaΪ²Ù×÷ϵͳƽ̨£¬ºǫ́Êý¾Ý¿â²ÉÓÃMySql¡£

±¾ÎIJûÊöÁË·¹µêµã²ËϵͳµÄÉè¼ÆÓëʵÏÖ¹ý³Ì¡£ÔËÓÃHTMLÓïÑÔ, JavaScript, Sturts2Óëºǫ́Êý¾Ý¿âÁ´½ÓµÈ¹Ø¼ü¼¼Êõ½¨Éè·¹µêµã²Ëϵͳ¡£

¹Ø¼ü´Ê£ºStruts2£¬B/S£¬MySQL£¬JSP£¬ HTML

Design and Implementation of System for

Restaurant Ordering Food

Abstract

In recent years, with the continuous development of living standards, catering consumption continues to grow and competition increase. However, traditional catering businesses still rely on manual management of daily operations, from raw material storage to customers a single point, then check out basically completed by the manual records, this is not only expensive but also prone to human resources records of errors such as missing or repeated, causing management low level. Traditional catering business problem, and customers need a single point of record and sent to the kitchen crew, the guests check out records by hand, a large human cost, the guests wait for a long time, inefficient management, which urgently need a standard, efficient computer management approach to guide its development, through the daily operations of the hotel computer management to improve efficiency.

According to the System for Restaurant Ordering Food, it focuses on the system functionality and implementation, data flow and storage, including menu management, user management, order Management, background database management.

The system is used JSP technology and MySQL database theory which is based on B/S model. It is designed strictly according to the software engineering theory and methods for further analysis to determine the software modules, data structures and systems function in the program, to take Windows Vista for the operating system platform, the background database using MySQL. This sub-section the following a la carte system, described the System for Restaurant Ordering Food design and implementation.

This article described the restaurant ordering food system design and implementation. Use of HTML language, Freemarker technology, JavaScript, Spring, Sturts2 links with key technologies such as the background database building the System for Restaurant Ordering Food.

Key words: Struts2£¬B/S£¬MySQL£¬JSP£¬ HTML

Ŀ¼

µÚ1Õ Ð÷ ÂÛ ................................................................................................... 1

1.1 ¿ÎÌâÑо¿±³¾° .......................................................................................................................... 1 1.2 ¿ÎÌâÑо¿Ä¿µÄ .......................................................................................................................... 1 1.3 ¿ÎÌâÑо¿ÒâÒå .......................................................................................................................... 1 1.4 ¹úÄÚÍâÏÖ×´ .............................................................................................................................. 1

µÚ2Õ ¹Ø¼ü¼¼Êõ½éÉÜ ....................................................................................... 2

2.1 STRUTS2 .................................................................................................................................. 2 2.2 MYSQL ................................................................................................................................... 2 2.3 TOMCAT ................................................................................................................................... 2 2.4 MYECLIPSE .............................................................................................................................. 2

µÚ3Õ ϵͳ·ÖÎö ............................................................................................... 4

3.1 ¹¹¼Ü¸ÅÊö ................................................................................................................................. 4

3.1.1 ¹¦Äܹ¹¼Ü ................................................................................................................. 4 3.1.2 Ä£¿éÐèÇóÃèÊö ......................................................................................................... 4 3.2 ϵͳ¿ª·¢»·¾³ ......................................................................................................................... 5 3.3 ϵͳÈÎÎñµÄ¿ÉÐÐÐÔ·ÖÎö ......................................................................................................... 5

3.3.1 Èí¼þ¿ÉÐÐÐÔ·ÖÎö ................................................................... ´íÎó£¡Î´¶¨ÒåÊéÇ©¡£ 3.3.2 ¼¼Êõ¿ÉÐÐÐÔ·ÖÎö ................................................................... ´íÎó£¡Î´¶¨ÒåÊéÇ©¡£ 3.3.3 ϵͳ°²È«ÐÔ·ÖÎö ................................................................... ´íÎó£¡Î´¶¨ÒåÊéÇ©¡£

µÚ4Õ ϵͳÉè¼Æ ............................................................................................... 7 4.1 Éè¼ÆÖ¸µ¼Ë¼ÏëºÍÔ­Ôò ....................................................................................... 7

4.1.1 Ö¸µ¼Ë¼Ïë ................................................................................................................. 7 4.1.2 Èí¼þÉè¼ÆÔ­Ôò ......................................................................................................... 7 4.2 ¹¹¼Ü¸ÅÊö ................................................................................................................................. 7 4.3 ϵͳµÄ¹¦ÄܽṹÉè¼Æ ............................................................................................................. 7

4.3.1 Ä£¿éÐèÇó¸ÅÒªÃèÊö ................................................................................................. 7 4.3.2 Ä£¿éÐèÇóÏêϸÃèÊö ................................................................................................. 8 4.4 ϵͳ¿ØÖÆÁ÷³Ì ......................................................................................................................... 8