Õª Òª
µç×ÓÉÌÎñ(Electronic Commerce)ÊÇ»¥ÁªÍøÉϳöÏÖµÄиÅÄî¡£ËüÊÇÀûÓüÆËã»ú¼¼Êõ¡¢ÍøÂç¼¼ÊõºÍÔ¶³ÌͨÐż¼Êõ£¬ÊµÏÖÕû¸öÉÌÎñ(ÂòÂô)¹ý³ÌÖеĵç×Ó»¯¡¢Êý×Ö»¯ºÍÍøÂ绯¡£Ëæ×ÅËüµÄ¹ã·ºÊ¹ÓÃ,¸øÈËÃÇ´øÀ´Á˱ãÀû£¬²¢Ö𽥸ıäÁËÈËÃǵÄÉú»î·½Ê½.
¹úÄÚÔÚÏß¹ºÎïÍøÕ¾¶àÊýÊÇÓÃASP£¬PHP¼¼ÊõʵÏֵģ¬¶ø»ùÓÚJSPµÄÓÅÐãÍøÕ¾½ÏÉÙ¡£±¾ÏµÍ³¡ª¡ªÍøÉÏͼÊ鳬ÊвÉÓÃJSP+JavaBean+ SQL ServerÊý¾Ý¿âÈý²ãģʽÉè¼Æ²¢ÊµÏÖ¡£±¾ÂÛÎÄÏêϸµØ²ûÊöÁËϵͳµÄÐèÇó·ÖÎö¡¢ÏµÍ³×ÜÌå¼Ü¹¹¡¢ÏêϸÉè¼ÆÒÔ¼°Ä£¿éµÄʵÏÖ¹ý³Ì£¬Ö÷ҪʵÏÖÁËÒÔÏÂÄ£¿é¹¦ÄÜ£º»áÔ±×¢²á¡¢µÇ¼/×¢Ïú£»Óû§¹ÜÀí£»ä¯ÀÀͼÊéÏêϸÐÅÏ¢£»Í¼ÊéËÑË÷£»Í¼Êé¹ÜÀí£»¹ºÎï³µ£»¶©µ¥£»¶©µ¥¹ÜÀíµÈ¡£
¹Ø¼ü´Ê£º JSP£»SQL Server£»JavaBean£»ÔÚÏß¹ºÎï
Design and Implementation of online shopping system based on Java
Abstract
Electronic commence over Internet is a new concept. To realize electronic, digital and networking commerce, computer technology, network technology and telecommunications are used. With its widely used, it brings people with a lot of convenience, and is changing the way of people¡¯s life.
Most domestic online shopping websites are implemented with ASP, PHP, and few are based on JSP. This system¡ª¡ªweb-based bookstore is implemented with JSP, JavaBean, and SQL Server database in three-tier model. In the paper, requirements analysis, general framework, detailed design and realization of each module are introduced. These modules includes member registration, login in/login out, user management, browsing books detailed information, searching book, library management, the shopping car, orders and orders management etc.
Key words: JSP;SQL Server;JavaBean; Online Shopping
Ŀ ¼
ÂÛÎÄ×ÜÒ³Êý£º29Ò³
1 ÒýÑÔ 1
1.1 ¿ÎÌâ±³¾° 1
1.2 ¹úÄÚÍâÑо¿ÏÖ×´ 1
1.3 ±¾¿ÎÌâµÄÑо¿·½·¨ 2
2 ¹ØÓÚJSP 2
2.1 JSP¼ò½é 2
2.2 JSPµÄÔËÐÐÔÀí 2
2.3 JSPÒ³ÃæµÄ×é³É 3
2.4 JSPµÄÔËÐл·¾³ 3
2.5 JAVABEAN¼¼Êõ½éÉÜ 4
3 ÐèÇó·ÖÎö 4
3.1 ϵͳ˵Ã÷ 4
3.2 ϵͳ¹¦Äܼò½é 4
4 ϵͳÉè¼Æ 5
4.1 ¹¦ÄÜÄ£¿é 5
4.2 ϵͳÉè¼Æ˼Ïë 6
4.3 ϵͳ×ÜÌåÁ÷³Ì 6
4.4 ÍøÕ¾¼ÜÉè 7
4.4.1¿ª·¢»·¾³ 7
4.4.2½¨Á¢Õ¾µã 7
4.5 Êý¾Ý¿âÉè¼Æ 7
5 ϵͳʵÏÖ 9
5.1 ±àдJAVABEAN 9
5.1.1Êý¾Ý¿â²Ù×÷µÄJavaBeanµÄʵÏÖ 10
5.1.2×Ö·û´®´¦ÀíµÄJavaBeanµÄʵÏÖ 10
5.1.3±£´æ¹ºÎïÐÅÏ¢µÄJavaBeanµÄʵÏÖ 10
5.2 Íøվǰ̨Ö÷Òª¹¦ÄÜÄ£¿éʵÏÖ 11
5.2.1Íøվǰ̨Ê×Ò³Éè¼Æ 11
5.2.2ÖصãÍƼöչ̨µÄʵÏÖ¹ý³Ì 11
5.2.3ÐÂÊéÉϼÜʵÏÖ¹ý³Ì 13
5.2.4ͼÊé·ÖÀàʵÏÖ¹ý³Ì 13
5.2.5Óû§¹ÜÀíʵÏÖ¹ý³Ì 14
5.2.6¹ºÎﳵʵÏÖ¹ý³Ì 15
5.2.7Éú³É¶©µ¥ÊµÏÖ¹ý³Ì 19
5.2.8¶©µ¥²éѯʵÏÖ¹ý³Ì 20
5.2.9ÏúÊÛÅÅÐÐʵÏÖ¹ý³Ì 20
5.3 ÍøÕ¾ºǫ́Ö÷Òª¹¦ÄÜÄ£¿éÉè¼Æ 21
5.3.1ºǫ́µÇ¼ʵÏÖ¹ý³Ì 21
5.3.2ͼÊé¹ÜÀíÒ³ÃæʵÏÖ¹ý³Ì 21
5.3.3Óû§¹ÜÀíʵÏÖ¹ý³Ì 23
5.3.4¶©µ¥¹ÜÀíʵÏÖ¹ý³Ì 24
5.3.5¹«¸æ¹ÜÀíʵÏÖ¹ý³Ì 25
5.3.6Í˳öϵͳʵÏÖ¹ý³Ì 25
6 ϵͳ²âÊÔ 25
6.1 ²âÊÔ»·¾³ 25
6.2 ²âÊÔ½á¹û 26
×Ü ½á 26
²Î¿¼ÎÄÏ× 27
Ö л 28
Éù Ã÷ 29