Ʒվʵ
ժ Ҫ
Ϣĸ߶ȷչйĻӭһֵķչ߳,ѡķʽӶ,ͬʱϹΪһʽЧͳɱƣΪ˵ľӪģʽ繺Ӧ˵ʹ˿㲻ԷɵѡԼϲƷ
ϵͳǻڵеB2CĹģʽƲġSql Server2005Ϊݿƽ̨TomcatΪWebӦ÷StrutsʵMVCģʽHibernateݿ⣬SpringҳϲJSPͬʱõһЩJSǰֺ̨ͺ̨֣ǰ̨ûʹãҪûעᡢﳵܣ̨ɹԱʹãҪƷûϹȡ
ɺվϵͳһ̬ʽƷṩϵͳȹܵۺԵվ
ؼʣϢSql Server2005, HibernateSpring
ABSTRACT
As With the highly developed information society now, the Internet of China has ushered a new developing climax. The way people choose the Internet has become more diversified . And online shopping as a form of e-commerce with its high-performance, low-cost advantages, has gradually become a new business model and concepts. Network trade is adapt to the fast-paced life of today's society, so that customers can easily and quickly purchase their favorite products at home.
The shopping system is based on B2C e-commerce shopping model design and development. Sql Server2005 as database development platform, Tomcat as Web applications server, using the technology of Struts to carry out the model of MVC, using the technology of Hibernate to access the database, using the technology of JSP on page layout, at the same time, applied to a number of JS technology. It includes the front part and back part, the front part is used by customers, including user registration, shopping cart management, order management, user data management, review management and other functions; back part used by the administrators, including merchandise management, process orders.
The completion of the website system is a dynamic, interactive, with the provision of goods, systems management, user comments and other functions of integrated e-commerce website.
Key words: information society, Sql Server2005, Hibernate, Spring, E-Commerce
Ŀ ¼
1 .................................................................................................................................................. 1 1.1 ............................................................................................................................................... 1 1.2 з ...................................................................................................................................... 1 1.3 ƽ̨ ........................................................................ δǩ 1.3.1 ƽ̨ .......................................................................................................................... 2 1.3.2 ƽ̨˼뼰 .......................................................................................................... 3 2 ϵͳ .......................................................................................................................................... 5 2.1 ...................................................................................................................................... 5 2.2 ƽ̨Ĺܷ .......................................................................................................................... 5 3 ƽ̨ .............................................................................................................................. 7 3.1 ƽ̨ݱķ ...................................................................................................................... 7 3.2 ƽ̨ݱ ...................................................................................................................... 7 3.3 ƽ̨еǰ̨ͼ ............................................................................................................ 10 3.4 ƽ̨еĺ̨ͼ ............................................................................................................ 11 3.5 Hibernateݿ ..................................................................................................... 11 4 ƽ̨ܵʵ ............................................................................................................................ 13 4.1 ûܵʵ ........................................................................................................................ 13 4.2 Աܵʵ .................................................................................................................... 18 4.3 ............................................................................................................................. 23 5 ƽ̨ĴͲ ........................................................................................................................ 25 5.1 ƽ̨лĴ ................................................................................................................ 25 5.2 ƽ̨ ................................................................................................................................ 25 5.3 ƽ̨IJ ................................................................................................................................ 26 5.4 ƽ̨ܷ ........................................................................................................................ 27 ................................................................................................................................................ 28 ο ............................................................................................................................................ 29 л .................................................................................................................................................... 30
1
1.1
InternetѸ𣬻ΪռṩϢ봫ͳͨǵʼԽԽ̼Ͻ̵꣬չʾһӱĹ[1]
ϹϵͳΪB2B(Business to Business,ҵҵ),B2CBusiness to Customer,ҵߣC2CCustomer to Customer,߶)ǰƽ̨,ȫžصáҪǵνB2CϹϵͳ[2]
Ϲһ־нܵҵϢϵͳûṩ̬Ͷ̬ϢԴν̬ϢָЩ䶯µԴվ顢ûԱȣ̬Ϣָʱ仯ϢƷۣ鰲źѵϢȡϹϵͳǿĽܣʹ̼ҺûĴϢɵóEDIסȫµĽʽʵ˹˾ĵʽֽ[3]
һ²չġŵIJϳ죬ĹҲԽԽǿעûԼҪĸƷᵽ㲻,ĿС鼮վInternet͵չIJҹչѸͣͬһЩڸؿֵ˿ͼһվĽԸõĽⷽ⣬ûƳһȫµϢּ֮һ١ݵϢĿǽʡߵʱ䡢ߵĹ飬ʹԶʱǰ[4]
1.2 з
оһֻB2CϹģʽоùģʽ¸ûķԼģʽڵһЩ㣬ͬʱоҳһЩɺܽһЩ飬Լоģ鿪ҳеƣԼоݿУƱƱͱ֮ϵ̽ʹStrutsܹҳһЩɺʹüɣʹHibernateݿʵֳ־ûһЩɣԼʹJSPҳһЩ飬ʹJavascriptʹҳԻʹJSеAjaxʵͷͨšͬʱ̽еҳģʽMVCģʽʵҳת
оԷΪķһǰ̨ûһĄ̊́ԹԱͬʱ÷ģ˼롣
оϵͳӦ¹ܣ