ÕªÒª
ÔÚУ԰¡¢»ú¹Ø»òÆóÒµÀÓÉÓÚ¸÷ÖÖµ÷²éÑо¿µÄÐèÒª£¬¾³£»áÓи÷ÖÖ¸÷ÑùµÄµ÷²éÎÊ¾í£¬ÔÚ´«Í³Ä£Ê½Ï£¬ÈËÃDz»µ«Òª»¨·Ñ²»ÉٵķÑÓÃÓ¡Ë¢ÎÊ¾í£¬¶øÇÒ»¹ÒªÏûºÄ´óÁ¿Ê±¼äºÍ¾«Á¦·¢·ÅÎÊ¾í£¬»ØÊÕÎÊ¾í£¬Í³¼ÆÎÊ¾í£¬²¢ÇÒÎʾí¿É¿ØÐԲÈÝÒײúÉú©¾í£¬·Ï¾íµÈÎÊÌâ¡£±¾ÏµÍ³½¨Á¢ÔÚÐÅÏ¢¼¼Êõ»ù´¡ÉÏ£¬¹¹½¨Ò»¸öÔÚÏßµÄÎʾíÉè¼Æ¡¢·Ö·¢¡¢µ÷²é¡¢»ØÊÕ¡¢Í³¼ÆµÄϵͳ£¬»ù±¾½â¾ö´«Í³ÎʾíµÄÉÏËßÀÏ´óÄÑÎÊÌâ¡£
±¾ÎÄÊ×ÏȶÔJ2EEÌåϵ¼Ü¹¹×÷Á˼òÒª½éÉÜ£»È»ºóÌÖÂÛÁËÉè¼ÆģʽÔÚÃæÏò¶ÔÏóÈí¼þ¿ª·¢¹ý³ÌÖеÄÖØÒª×÷Ó㬲ûÊöÁËÔÚJ2EEƽ̨Ï¿ª·¢Ó¦ÓóÌÐòµÄһЩ³£ÓõÄÉè¼Æģʽ£¬ÒÔ¼°ÈçºÎʹÓÃÕâЩÉè¼ÆģʽÀ´¶ÔÒ»¸öÎʾíµ÷²éϵͳÏîÄ¿½øÐÐÉè¼Æ£»½Ó×ÅÌÖÂÛÁËÓ¦ÓóÌÐò¿ò¼ÜµÄ¸ÅÄîÒÔ¼°Ê¹ÓÃÓ¦ÓóÌÐò¿ò¼Ü¿ª·¢ÒµÎñÓ¦ÓóÌÐòËù´øÀ´µÄÓÅÊÆ£¬×îºóÑо¿ºÍÉè¼ÆÁËÒ»¸ö½¨Á¢ÔÚJ2EEƽ̨ÉϵÄͨÓÿò¼Ü¡£´Ó¶ø½¨Á¢ÁËÒ»¸öÄܹ»¿ìËÙ¿ª·¢ÒµÎñÓ¦ÓóÌÐòµÄ¿ª·¢»·¾³¡£
¹Ø¼ü´Ê£ºJ2EEÌåϵ½á¹¹£¬Îʾíµ÷²é£¬Éè¼Æģʽ£¬Í¨Óÿò¼Ü
Abstract
On campus, authorities or enterprises in China, due to a variety of research needs, often have a variety of questionnaires, the traditional model, people not only have to spend a lot of the cost of printing the questionnaires, but also spend a lot of time and Issued on the questionnaire, the recovery of the questionnaire, statistical survey, questionnaires and control poor, prone to leakage volume, the volume of waste. The system built on the basis of information technology, to build an online questionnaire design, distribution, investigation, recovery, statistical systems, the traditional solution to the basic appeal of the questionnaire chronic problem.
The paper introduces J2EE architecture firstly,and then,the importance of design patterns and the advantage of developing object-oriented application using design patterns are discussed.With following,some important design patterns used on J2EE architecture are described,and the way how to use these design patterns to design an enterprise management information system is introduced. Finally,the paper make a research and a design of a common framework established on J2EE platform.
Keywords:J2EE,questionnaire,common framework,survey
Ŀ ¼
Ò»¡¢ Ð÷ÂÛ 7
£¨Ò»£©¡¢ÒýÑÔ 7
£¨¶þ£©¡¢ÏîÄ¿½éÉÜ 7
¶þ¡¢J2EE¼ò½é 7
£¨Ò»£©¡¢J2EE¸ÅÊö 7
£¨¶þ£©¡¢J2EEµÄÓÅÊÆ 8
Èý¡¢ ϵͳµÄÉè¼ÆÓëʵÏÖ 10
£¨Ò»£©¡¢Ê¹ÓÃÉè¼Æģʽ½øÐÐϵͳÉè¼Æ 10
£¨¶þ£©¡¢ÏµÍ³×ÜÌåÉè¼Æ 10
1¡¢ MVCģʽ 10
2¡¢ÏµÍ³×ÜÌå½á¹¹ 11
£¨Èý£©¡¢³Ö¾Ã²ãÉè¼ÆÓëʵÏÖ 12
£¨ËÄ£©¡¢ ÒµÎñÂß¼²ãµÄÉè¼ÆÓëʵÏÖ 20
£¨Î壩¡¢ Ç°¶ËWEB²ãÉè¼ÆÓëʵÏÖ 21
ËÄ¡¢ÖØÄѵãÎÊÌâ½â¾ö·½°¸Ñо¿ 25
£¨Ò»£©¡¢ÈçºÎʵÏÖÓû§´ð¾íʱÌâÄ¿¶¯Ì¬½Ø¶ÏºÍÌøת 25
£¨¶þ£©¡¢ÈçºÎʵÏÖ´æÈ¡µ¥ÕÅ´ð¾í 29
Îå¡¢ ͨÓÿò¼ÜÉè¼Æ 32
£¨Ò»£©¡¢ ÓÃÓÚ»ñÈ¡Êý¾Ý¿âÁ¬½ÓµÄʵÓù¤¾ß 32
£¨¶þ£©¡¢ÓÃÓÚ¿ìËÙÖ´ÐÐSQLµÄ¹¤¾ßSQLCommand 33
½áÊøÓï 35
¸½Â¼ 37
²Î¿¼ÎÄÏ× 42
ÖÂл 43
Ò»¡¢ Ð÷ÂÛ
£¨Ò»£©¡¢ÒýÑÔ
ÔÚУ԰¡¢»ú¹Ø»òÆóÒµÀÓÉÓÚ¸÷ÖÖµ÷²éÑо¿µÄÐèÒª£¬¾³£»áÓи÷ÖÖ¸÷ÑùµÄµ÷²éÎÊ¾í£¬ÔÚ´«Í³Ä£Ê½Ï£¬ÈËÃDz»µ«Òª»¨·Ñ²»ÉٵķÑÓÃÓ¡Ë¢ÎÊ¾í£¬¶øÇÒ»¹ÒªÏûºÄ´óÁ¿Ê±¼äºÍ¾«Á¦·¢·ÅÎÊ¾í£¬»ØÊÕÎÊ¾í£¬Í³¼ÆÎÊ¾í£¬²¢ÇÒÎʾí¿É¿ØÐԲÈÝÒײúÉú©¾í£¬·Ï¾íµÈÎÊÌâ¡£ÏÖ´úÐÅÏ¢¼¼ÊõµÄ·¢Õ¹£¬¼«´ó³Ì¶ÈÉÏÌá¸ßÁËÎÒÃÇÉú²úµÄЧÂÊ£¬µ±È»Ò²ÎªÎÒÃǽâ¾öÎʾíµ÷²éµÄÄÑÌâÌṩÁËÁ¼ºÃµÄ½â¾ö·½°¸£¬ÆäÖÐJ2EE½â¾ö·½°¸¾ÍÊÇÒ»¸öÔÚ¾ø´ó¶àÊý·½Ã涼ռ¾ÝÓÅÊƵķ½°¸£¬Ò²ÊDZ¾ÎÄÌÖÂÛµÄÖ÷Ìâ¡£