Õª Òª
Ä¿Ç°¹úÄÚ»ùÓÚB/S¡¢C/S½á¹¹µÄÍøÂçÔÚÏß¿¼ÊÔϵͳ²úÆ·ÒѾÓÐÐí¶à£¬±¾ÎÄÊ×ÏȽéÉÜÁËÕâЩ¿¼ÊÔϵͳµÄÐγɺͷ¢Õ¹¹ý³Ì£¬´óÖ½ṹ¡£È»ºóͨ¹ý×Ðϸ·ÖÎö£¬Ìá³öÁËÄ¿Ç°µÄÕâЩϵͳ»¹´æÓÐϵͳ¸üкÍά»¤µÈÖÖÖֱ׶Ë,ÈÔ²»¹»³ÉÊì¡£»ùÓÚ¶ÔÏÖÓвúÆ·µÄ˼¿¼£¬½áºÏJ2EEµÄ³ÉÊì¼¼Êõ,ÎÒÃÇÏëµ½ÁËÊÇ·ñ¿ÉÒÔ½«¸Ã¼¼ÊõÔËÓÃÔÚÍøÂçÔÚÏß¿¼ÊÔϵͳÖÐ,Ìá³öÁËÒ»¸ö»ùÓÚJ2EE¼Ü¹¹µÄÍøÂçÔÚÏß¿¼ÊÔϵͳ¡£Í¨¹ý½«¸Ã¼Ü¹¹ÓëÒÑÓнṹµÄÍøÂçÔÚÏß¿¼ÊÔϵͳ½øÐбȽϣ¬·ÖÎöÁ˸üܹ¹µÄÓÅÊÆ,Öصã½éÉÜÁ˸ÿò¼ÜµÄÕûÌå¹¹ÔìÒÔ¼°Ïà¹ØµÄ¸ÅÄîºÍ¼¼Êõ¡£²¢Í¨¹ýÉè¼ÆÁËÒ»¸ö»ùÓÚJ2EE¼Ü¹¹µÄÍøÂçÔÚÏß¿¼ÊÔϵͳ¶Ô¸Ã¼Ü¹¹×öÁËÒ»¸ö±È½ÏÉîÈëµÄÆÊÎö¡£×îºó£¬¶ÔJ2EE¼¼Êõ×öÁËÒ»¸ö×ܽáÐÔµÄÕ¹Íû£¬ÈÏΪ¸Ã¼¼ÊõÓÐ×ÅÁ¼ºÃµÄ·¢Õ¹¿Õ¼äºÍ¹ãÀ«µÄÇ°¾°¡£
¹Ø¼ü´Ê£ºJ2EE£¬ÍøÂçÔÚÏß¿¼ÊÔϵͳ£¬b/s£¬JavaBean£¬jsp£¬Êý¾Ý³Ø
Abstract
At present, there are many b/s, c/s structure examination systems based on-line, this paper first introduced most of these systems¡¯ formed and developed process, and structures. Then, analysis these systems, and pointed out that there still have many defects about them, just like the update and the service to these systems .Thinking based on these produces, and now the J2EE technical is becoming mature, we thinking about is this technical can be used in examination systems, so we mentioned a on-line system based on J2EE structure. Compared to other systems, and also analysis its¡¯ advantages, we introduced this structure¡¯s construction and technical as emphasize. Finally, make J2EE technical a expectation and it can progress quiet great and have a nice foreground.
Keywords: J2EE, Examination system on-line, b/s, JavaBean, jsp, data pool
Õª Òª 4
ABSTRACT 5
µÚ1ÕÂ ÒýÑÔ 6
1.1 Ñ¡Ìâ±³¾° 6
1.2 ¿ÎÌâ±³¾°¼°¿ªÕ¹Ñо¿µÄÒâÒå 6
µÚ2Õ ÏîÄ¿¸ÅÊö 7
2.1 ¿ÎÌâ¼òҪ˵Ã÷ 7
2.2 ¿ÉÐÐÐÔÑо¿ 7
2.2.1 ¾¼Ã¿ÉÐÐÐÔ 7
2.2.2 ¼¼Êõ¿ÉÐÐÐÔ 7
2.2.3ÔËÐпÉÐÐÐÔ 8
2.2.4 ʱ¼ä¿ÉÐÐÐÔ 8
2.2.5 ·¨ÂÉ¿ÉÐÐÐÔ 8
µÚ3Õ ÐèÇó·ÖÎö 9
3.1 ÍøÂçÔÚÏß¿¼ÊÔϵͳһ°ãÐèÇó·ÖÎö 9
3.2 µ±Ç°ÍøÂçÔÚÏß¿¼ÊÔϵͳÏÖ×´·ÖÎö 9
3.3 ÐÔÄÜÐèÇó 10
µÚ4Õ Ïà¹Ø¼¼Êõ·ÖÎö 11
4.1 JSP±à³ÌÓïÑÔ 11
4.2 ϵͳÊý¾Ý¿âÁ¬½Ó 11
4.3 SQLSERVER 2000 Êý¾Ý¿â 15
µÚ5Õ ϵͳÉè¼Æ 16
5.1 Êý¾Ý×Öµä 16
5.2 E-R ͼ 19
5.3ÔÚÏß¿¼ÊÔ×ÜÌ幦ÄܽéÉÜ 20
5.4 ÔÚÏß¿¼ÊÔÄ£¿éÉè¼Æ 21
5.5 ÔÚÏß¿¼ÊÔÊý¾Ý¿âÉè¼Æ 23
6 ¹Ø¼ü¼¼Êõ 25
6.1 TOMCATÊý¾Ý¿âÁ¬½Ó³Ø½éÉÜÓëÅäÖà 25
6.2 APPLETÊý×ÖÇ©Ãû¼¼Êõ 27
7£®ÏµÍ³ÏêϸÉè¼ÆÓëʵÏÖ 30
1£®ÏµÍ³µÇ½ʵÏÖ 30
2£®¹ÜÀíÔ±µÄ²Ù×÷½çÃæ 32
3£®Ìí¼ÓÑ¡ÔñÌâÄ£¿é 32
4¡£ÌâÄ¿²é¿´Ä£¿é 34
½áÊøÓï 38
Ö л 40
²Î¿¼ÎÄÏ× 41
µÚ1ÕÂ ÒýÑÔ
1.1 Ñ¡Ìâ±³¾°
Ïֽ׶Σ¬Ñ§Ð£ÓëÉç»áÉϵĸ÷ÖÖ¿¼ÊԴ󶼲ÉÓô«Í³µÄ¿¼ÊÔ·½Ê½£¬ÔÚ´Ë·½Ê½Ï£¬×éÖ¯Ò»´Î¿¼ÊÔÖÁÉÙÒª¾¹ýÎå¸ö²½Ö裬¼´³ö¾í¡¢¿¼Éú¿¼ÊÔ¡¢ÔÄ¾í¡¢³É¼¨ÆÀ¹ÀºÍÊÔ¾í·ÖÎö¡£ÏÔÈ»£¬Ëæ×Å¿¼ÊÔÀàÐ͵IJ»¶ÏÔö¼Ó¼°¿¼ÊÔÒªÇóµÄ²»¶ÏÌá¸ß£¬½ÌʦµÄ¹¤×÷Á¿½«»áÔ½À´Ô½´ó£¬²¢ÇÒÆ乤×÷½«ÊÇÒ»¼þÊ®·Ö·±ËöºÍ·Ç³£ÈÝÒ׳ö´íµÄÊÂÇ飬¿ÉÒÔ˵´«Í³µÄ¿¼ÊÔ·½Ê½ÒѾ²»ÄÜÊÊÓ¦ÏÖ´ú¿¼ÊÔµÄÐèÒª¡£Ëæ׿ÆËã»úÓ¦ÓõÄѸÃÍ·¢Õ¹£¬ÍøÂçÓ¦Óò»¶ÏÀ©´ó£¬ÈçÔ¶³Ì½ÌÓýºÍÐéÄâ´óѧµÄ³öÏֵȵȣ¬ÇÒÕâЩӦÓÃÕýÖð²½ÉîÈ뵽ǧ¼ÒÍò»§¡£ÈËÃÇÆÈÇÐÒªÇóÀûÓÃÕâЩ¼¼ÊõÀ´½øÐÐÔÚÏß¿¼ÊÔ£¬ÒÔ¼õÇá½ÌʦµÄ¹¤×÷¸ºµ£¼°Ìá¸ß¹¤×÷ЧÂÊ£¬´Ó¶øÌá¸ßÁË¿¼ÊÔµÄÖÊÁ¿£¬Ê¹¿¼ÊÔ¸üÇ÷ÓÚ¹«Ö¤¡¢¿Í¹Û¡¢¼¤·¢Ñ§ÉúµÄѧϰÐËȤ¡£ÀýÈçÄ¿Ç°Ðí¶à¹ú¼ÊÖøÃûµÄ¼ÆËã»ú¹«Ë¾Ëù¾Ù°ìµÄ¸÷ÖÖÈÏÖ¤¿¼ÊÔ¾ø´ó²¿·Ö²ÉÓÃÕâÖÖ·½Ê½¡£