J2EE 课程设计实训项目——《蓝梦网上商城》——实现系统项目中的商品信息业务处理功能组件1.1.1实现系统项目中的商品信息业务处理功能组件1、商品信息管理的接口(1)接口名称为GoodsInfoManageInterface,包名称为com.px1987.webshop.business.goods(2)设计该接口package com.px1987.webshop.business.goods;import java.util.*;import com.px1987.webshop.service.*;import com.px1987.webshop.business.vobject.*;public interface GoodsInfoManageInterface {// 下面的方法是针对基类GoodsInfoPOpublic ArrayList doGetAllGoodsInfo() throws ServiceException;public ArrayList doGetSomeGoodsInfo(Map goodsInfos) throws ServiceException;public GoodsInfoVO doGetOneGoodsInfo(int goodsID) throws ServiceException;public boolean doAddOneGoodsInfo(GoodsInfoVO oneGoodsInfoVO) throws ServiceException;public boolean doUpdateOneGoodsInfo(GoodsInfoVO oneUpdatedGoodsInfoVO) throws ServiceException;public boolean doDeleteOneGoodsInfo(int goodsID) throws ServiceException;// 下面的方法是针对子类ComputerInfoPOpublic ArrayList doGetAllComputerInfo() throws ServiceException;public ArrayList doGetSomeComputerInfo(Map computerInfos) throws ServiceException;public ComputerInfoVO doGetOneComputerInfo(int computerID) throws ServiceException;public boolean doAddOneComputerInfo(ComputerInfoVO oneComputerInfoVO) throws ServiceException;public boolean doUpdateOneComputerInfo(ComputerInfoVO oneUpdatedComputerInfoVO) throws ServiceException;public boolean doDeleteOneComputerInfo(int computerID) throws ServiceException;// 下面的方法是针对子类CommDeviceInfoPOpublic ArrayList doGetAllCommDeviceInfo() throws ServiceException;public ArrayList doGetSomeCommDeviceInfo(Map commDeviceInfos) throws ServiceException;public CommDeviceInfoVO doGetOneCommDeviceInfo(int commDeviceID) throws ServiceException;public boolean doAddOneCommDeviceInfo(CommDeviceInfoVO oneCommDeviceInfoVO) throws ServiceException;public boolean doUpdateOneCommDeviceInfo(CommDeviceInfoVO oneUpdatedCommDeviceInfoVO) throws ServiceException;public boolean doDeleteOneCommDeviceInfo(int commDeviceID) throws ServiceException;// 下面的方法是针对子类BookInfoPOpublic ArrayList doGetSomeBookInfo(Map bookInfos) throws ServiceException;public BookInfoVO doGetOneBookInfo(int bookID) throws ServiceException;public boolean doAddOneBookInfo(BookInfoVO oneBookInfoVO) throws ServiceException;public boolean doUpdateOneBookInfo(BookInfoVO oneUpdatedBookInfoVO) throws ServiceException;public boolean doDeleteOneBookInfo(int bookID) throws ServiceException;// 下面的方法是针对子类ClothInfoPOpublic ArrayList doGetAllClothInfo() throws ServiceException;public ArrayList doGetSomeClothInfo(Map clothInfos) throws ServiceException;public ClothInfoVO doGetOneClothInfo(int clothID) throws ServiceException;public boolean doAddOneClothInfo(ClothInfoVO oneClothInfoVO) throws ServiceException;public boolean doUpdateOneClothInfo(ClothInfoVO oneUpdatedClothInfoVO) throws ServiceException;public boolean doDeleteOneClothInfo(int clothID) throws ServiceException;// 下面的方法是查询特殊的商品信息的各个方法public ArrayList doGetAllNewsBookInfo() throws ServiceException;public ArrayList doGetAllNewsClothInfo() throws ServiceException;public ArrayList doGetAllNewsCommDeviceInfo() throws ServiceException;public ArrayList doGetAllNewsComputerInfo() throws ServiceException;public ArrayList doGetAllNewsGoodsInfo() throws ServiceException;public ArrayList doGetAllHotBookInfo() throws ServiceException;public ArrayList doGetAllHotClothInfo() throws ServiceException;public ArrayList doGetAllHotCommDeviceInfo() throws ServiceException;public ArrayList doGetAllHotComputerInfo() throws ServiceException;public ArrayList doGetAllPayOffBookInfo() throws ServiceException;public ArrayList doGetAllPayOffClothInfo() throws ServiceException;public ArrayList doGetAllPayOffCommDeviceInfo() throws ServiceException;public ArrayList doGetAllPayOffComputerInfo() throws ServiceException;public ArrayList doGetAllPayOffGoodsInfo() throws ServiceException;public ArrayList doGetAllGoodBookInfo() throws ServiceException;public ArrayList doGetAllGoodClothInfo() throws ServiceException;public ArrayList doGetAllGoodCommDeviceInfo() throws ServiceException;public ArrayList doGetAllGoodComputerInfo() throws ServiceException;public ArrayList doGetAllGoodGoodsInfo() throws ServiceException;}2、商品信息管理的接口的实现类(1)类名称为GoodsInfoManageImple,包名称为com.px1987.webshop.business.goods(2)编程该实现类package com.px1987.webshop.business.goods;import java.util.*;import com.px1987.webshop.business.vobject.BookInfoVO;import com.px1987.webshop.business.vobject.ClothInfoVO;import mDeviceInfoVO;import puterInfoVO;import com.px1987.webshop.business.vobject.GoodsInfoVO;import com.px1987.webshop.service.GoodsInfoDAOServiceInterface;import com.px1987.webshop.service.ServiceException;public class GoodsInfoManageImple implements GoodsInfoManageInterface{ GoodsInfoDAOServiceInterface goodsInfoDAOServiceImple=null;public void setGoodsInfoDAOServiceImple(GoodsInfoDAOServiceInterface goodsInfoDAOServiceImple) { this.goodsInfoDAOServiceImple = goodsInfoDAOServiceImple;}public GoodsInfoManageImple() {}public boolean doAddOneBookInfo(BookInfoVO oneBookInfoVO) throws ServiceException{boolean okOrNot=false;okOrNot=goodsInfoDAOServiceImple.insertOneBookInfo(oneBookInfoVO);return okOrNot;}public boolean doAddOneClothInfo(ClothInfoVO oneClothInfoVO) throws ServiceException{boolean okOrNot=false;okOrNot=goodsInfoDAOServiceImple.insertOneClothInfo(oneClothInfoVO);return okOrNot;}public boolean doAddOneCommDeviceInfo(CommDeviceInfoVO oneCommDeviceInfoVO) throws ServiceException{boolean okOrNot=false;okOrNot=goodsInfoDAOServiceImple.insertOneCommDeviceInfo(oneCommDeviceInfoVO);return okOrNot;}public boolean doAddOneComputerInfo(ComputerInfoVO oneComputerInfoVO) throws ServiceException{boolean okOrNot=false;okOrNot=goodsInfoDAOServiceImple.insertOneComputerInfo(oneComputerInfoVO);return okOrNot;}public boolean doAddOneGoodsInfo(GoodsInfoVO oneGoodsInfoVO) throws ServiceException{boolean okOrNot=false;okOrNot=goodsInfoDAOServiceImple.insertOneGoodsInfo(oneGoodsInfoVO);return okOrNot;}public boolean doDeleteOneBookInfo(int bookID) throws ServiceException { boolean okOrNot=false;okOrNot=goodsInfoDAOServiceImple.deleteOneBookInfo(bookID);return okOrNot;}public boolean doDeleteOneClothInfo(int clothID) throws ServiceException{ boolean okOrNot=false;okOrNot=goodsInfoDAOServiceImple.deleteOneClothInfo(clothID);return okOrNot;}public boolean doDeleteOneCommDeviceInfo(int commDeviceID) throws ServiceException {boolean okOrNot=false;okOrNot=goodsInfoDAOServiceImple.deleteOneCommDeviceInfo(commDeviceID);return okOrNot;}public boolean doDeleteOneComputerInfo(int computerID) throws ServiceException{boolean okOrNot=false;okOrNot=goodsInfoDAOServiceImple.deleteOneComputerInfo(computerID);return okOrNot;}public boolean doDeleteOneGoodsInfo(int goodsID) throws ServiceException { boolean okOrNot=false;okOrNot=goodsInfoDAOServiceImple.deleteOneGoodsInfo(goodsID);return okOrNot;}public ArrayList doGetAllBookInfo() throws ServiceException {ArrayList allBookInfoVOInfos=null;allBookInfoVOInfos=goodsInfoDAOServiceImple.selectAllBookInfo();return allBookInfoVOInfos;}public ArrayList doGetAllClothInfo() throws ServiceException{ArrayList allClothInfoVOInfos=null;allClothInfoVOInfos=goodsInfoDAOServiceImple.selectAllClothInfo();return allClothInfoVOInfos;}public ArrayList doGetAllCommDeviceInfo() throws ServiceException{ ArrayList allCommDeviceInfoVOInfos=null;allCommDeviceInfoVOInfos=goodsInfoDAOServiceImple.selectAllCommDeviceInfo();return allCommDeviceInfoVOInfos;}public ArrayList doGetAllComputerInfo() throws ServiceException { ArrayList allComputerInfoVOInfos=null;allComputerInfoVOInfos=goodsInfoDAOServiceImple.selectAllComputerInfo();return allComputerInfoVOInfos;}public ArrayList doGetAllGoodsInfo() throws ServiceException{ArrayList allGoodsInfoVOInfos=null;allGoodsInfoVOInfos=goodsInfoDAOServiceImple.selectAllGoodsInfo();return allGoodsInfoVOInfos;}public BookInfoVO doGetOneBookInfo(int bookID) throws ServiceException{ BookInfoVO oneBookInfoVO=null;oneBookInfoVO=goodsInfoDAOServiceImple.selectOneBookInfo(bookID);return oneBookInfoVO;}public ClothInfoVO doGetOneClothInfo(int clothID) throws ServiceException { ClothInfoVO oneClothInfoVO=null;oneClothInfoVO=goodsInfoDAOServiceImple.selectOneClothInfo(clothID);return oneClothInfoVO;}public CommDeviceInfoVO doGetOneCommDeviceInfo(int commDeviceID) throws ServiceException {CommDeviceInfoVO oneCommDeviceInfoVO=null;oneCommDeviceInfoVO=goodsInfoDAOServiceImple.selectOneCommDeviceInfo(commD eviceID);return oneCommDeviceInfoVO;}public ComputerInfoVO doGetOneComputerInfo(int computerID) throws ServiceException {ComputerInfoVO oneComputerInfoVO=null;oneComputerInfoVO=goodsInfoDAOServiceImple.selectOneComputerInfo(computerID);return oneComputerInfoVO;public GoodsInfoVO doGetOneGoodsInfo(int goodsID) throws ServiceException { GoodsInfoVO oneGoodsInfoVO=null;oneGoodsInfoVO=goodsInfoDAOServiceImple.selectOneGoodsInfo(goodsID);return oneGoodsInfoVO;}public ArrayList doGetSomeBookInfo(Map bookInfos) throws ServiceException { ArrayList someBookInfos=null;someBookInfos=goodsInfoDAOServiceImple.selectSomeBookInfoByWhere(bookInfos);return someBookInfos;}public ArrayList doGetSomeClothInfo(Map clothInfos) throws ServiceException{ ArrayList someClothInfos=null;someClothInfos=goodsInfoDAOServiceImple.selectSomeClothInfoByWhere(clothInfos) ;return someClothInfos;}public ArrayList doGetSomeCommDeviceInfo(Map commDeviceInfos) throws ServiceException {ArrayList someCommDeviceInfos=null;someCommDeviceInfos=goodsInfoDAOServiceImple.selectSomeCommDeviceInfoByWhere(c ommDeviceInfos);return someCommDeviceInfos;}public ArrayList doGetSomeComputerInfo(Map computerInfos) throws ServiceException {ArrayList someComputerInfos=null;someComputerInfos=goodsInfoDAOServiceImple.selectSomeComputerInfoByWhere(c omputerInfos);return someComputerInfos;public ArrayList doGetSomeGoodsInfo(Map goodsInfos) throws ServiceException{ ArrayList someGoodsInfos=null;someGoodsInfos=goodsInfoDAOServiceImple.selectSomeGoodsInfoByWhere(goodsInfos) ;return someGoodsInfos;}public boolean doUpdateOneBookInfo(BookInfoVO oneUpdatedBookInfoVO) throws ServiceException {boolean OkOrNot=false;OkOrNot=goodsInfoDAOServiceImple.updateOneBookInfo(oneUpdatedBookInfoVO);return OkOrNot;}public boolean doUpdateOneClothInfo(ClothInfoVO oneUpdatedClothInfoVO)throws ServiceException {boolean OkOrNot=false;OkOrNot=goodsInfoDAOServiceImple.updateOneClothInfo(oneUpdatedClothInfoVO);return OkOrNot;}public boolean doUpdateOneCommDeviceInfo(CommDeviceInfoVO oneUpdatedCommDeviceInfoVO)throws ServiceException {boolean OkOrNot=false;OkOrNot=goodsInfoDAOServiceImple.updateOneCommDeviceInfo(oneUpdatedCommDeviceInfoVO);return OkOrNot;}public boolean doUpdateOneComputerInfo(ComputerInfoVO oneUpdatedComputerInfoVO) throws ServiceException { boolean OkOrNot=false;OkOrNot=goodsInfoDAOServiceImple.updateOneComputerInfo(oneUpdatedComputerInfoVO);return OkOrNot;}public boolean doUpdateOneGoodsInfo(GoodsInfoVO oneUpdatedGoodsInfoVO) throws ServiceException{boolean OkOrNot=false;OkOrNot=goodsInfoDAOServiceImple.updateOneGoodsInfo(oneUpdatedGoodsInfoVO);return OkOrNot;}// 下面的方法是查询特殊的商品信息的各个方法public ArrayList doGetAllNewsBookInfo() throws ServiceException{ ArrayList someBookInfos=null;Map bookInfos=new HashMap();java.util.Date nowDate=new Date();//目前以“本年”作为我们的“最新”的条件String timeWheree=new Integer(1900+nowDate.getYear()).toString();bookInfos.put("goodsProductTime", timeWheree);someBookInfos=goodsInfoDAOServiceImple.selectSomeBookInfoByWhere(bookInfos);return someBookInfos;}public ArrayList doGetAllNewsClothInfo() throws ServiceException{ ArrayList someClothInfos=null;Map clothInfos=new HashMap();java.util.Date nowDate=new Date();//目前以“本年”作为我们的“最新”的条件String timeWheree=new Integer(1900+nowDate.getYear()).toString();clothInfos.put("goodsProductTime", timeWheree);someClothInfos=goodsInfoDAOServiceImple.selectSomeClothInfoByWhere(clothInfos);return someClothInfos;}public ArrayList doGetAllNewsCommDeviceInfo() throws ServiceException{ ArrayList someCommDeviceInfos=null;Map commDeviceInfos=new HashMap();java.util.Date nowDate=new Date();//目前以“本年”作为我们的“最新”的条件String timeWheree=new Integer(1900+nowDate.getYear()).toString();commDeviceInfos.put("goodsProductTime", timeWheree);someCommDeviceInfos=goodsInfoDAOServiceImple.selectSomeCommDeviceInfoByWhere(commDeviceInfos);return someCommDeviceInfos;}public ArrayList doGetAllNewsComputerInfo() throws ServiceException{ ArrayList someComputerInfos=null;Map computerInfos=new HashMap();java.util.Date nowDate=new Date();//目前以“本年”作为我们的“最新”的条件String timeWheree=new Integer(1900+nowDate.getYear()).toString();computerInfos.put("goodsProductTime", timeWheree);someComputerInfos=goodsInfoDAOServiceImple.selectSomeComputerInfoByWhere(computerInfos);return someComputerInfos;}public ArrayList doGetAllNewsGoodsInfo() throws ServiceException{ ArrayList someGoodsInfos=null;Map goodsInfos=new HashMap();java.util.Date nowDate=new Date();//目前以“本年”作为我们的“最新”的条件String timeWheree=new Integer(1900+nowDate.getYear()).toString();goodsInfos.put("goodsProductTime", timeWheree);someGoodsInfos=goodsInfoDAOServiceImple.selectSomeGoodsInfoByWhere(goodsInfos);return someGoodsInfos;}public ArrayList doGetAllHotBookInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllHotBookInfo();return allResultInfos;}public ArrayList doGetAllHotClothInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllHotClothInfo();return allResultInfos;}public ArrayList doGetAllHotCommDeviceInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllHotCommDeviceInfo();return allResultInfos;}public ArrayList doGetAllHotComputerInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllHotComputerInfo();return allResultInfos;}public ArrayList doGetAllHotGoodsInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllHotGoodsInfo();return allResultInfos;}public ArrayList doGetAllPayOffBookInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllPayOffBookInfo();return allResultInfos;}public ArrayList doGetAllPayOffClothInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllPayOffClothInfo();return allResultInfos;}public ArrayList doGetAllPayOffCommDeviceInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllPayOffCommDeviceInfo();return allResultInfos;}public ArrayList doGetAllPayOffComputerInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllPayOffComputerInfo();return allResultInfos;}public ArrayList doGetAllPayOffGoodsInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllPayOffGoodsInfo();return allResultInfos;}public ArrayList doGetAllGoodBookInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllGoodBookInfo();return allResultInfos;}public ArrayList doGetAllGoodClothInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllGoodClothInfo();return allResultInfos;}public ArrayList doGetAllGoodCommDeviceInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllGoodCommDeviceInfo();return allResultInfos;}public ArrayList doGetAllGoodComputerInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllGoodComputerInfo();return allResultInfos;}public ArrayList doGetAllGoodGoodsInfo() throws ServiceException{ ArrayList allResultInfos=null;allResultInfos=goodsInfoDAOServiceImple.selectAllGoodGoodsInfo();return allResultInfos;}}3、修改Spring IoC的webShopUserInfoIoC.xml文件中的内容以添加本业务组件的定义(1)相关的配置项目示例<bean id="goodsInfoManageImple" scope="prototype"class="com.px1987.webshop.business.goods.GoodsInfoManageImple" > <property name="goodsInfoDAOServiceImple"><ref bean="goodsInfoDAOServiceImple"/></property></bean>(2)webShopUserInfoIoC.xml文件的完整代码示例<?xml version="1.0" encoding="gb2312"?><!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "/dtd/spring-beans-2.0.dtd"><beans><bean id="userInfoCRUDImple" scope="prototype"class="com.px1987.webshop.dao.crud.SpringHibernateUserInfoCRUDImple" > <property name="sessionFactory"><ref bean="sessionFactory"/></property></bean><bean id="orderInfoCRUDImple" scope="prototype"class="com.px1987.webshop.dao.crud.SpringHibernateOrderInfoCRUDImple" > <property name="sessionFactory"><ref bean="sessionFactory"/></property><bean id="goodsInfoCRUDImple" scope="prototype"class="com.px1987.webshop.dao.crud.SpringHibernateGoodsInfoCRUDImple" > <property name="sessionFactory"><ref bean="sessionFactory"/></property></bean><bean id="userInfoDAOServiceImple" scope="prototype"class="erInfoDAOServiceImple" > <property name="userInfoCRUDImple"><ref bean="userInfoCRUDImple"/></property><property name="orderInfoCRUDImple"><ref bean="orderInfoCRUDImple"/></property><property name="goodsInfoCRUDImple"><ref bean="goodsInfoCRUDImple"/></property></bean><bean id="orderInfoDAOServiceImple" scope="prototype"class="com.px1987.webshop.service.OrderInfoDAOServiceImple" > <property name="userInfoCRUDImple"><ref bean="userInfoCRUDImple"/></property><property name="orderInfoCRUDImple"><ref bean="orderInfoCRUDImple"/></property><property name="goodsInfoCRUDImple"><ref bean="goodsInfoCRUDImple"/></property><bean id="goodsInfoDAOServiceImple" scope="prototype"class="com.px1987.webshop.service.GoodsInfoDAOServiceImple" > <property name="userInfoCRUDImple"><ref bean="userInfoCRUDImple"/></property><property name="orderInfoCRUDImple"><ref bean="orderInfoCRUDImple"/></property><property name="goodsInfoCRUDImple"><ref bean="goodsInfoCRUDImple"/></property></bean><bean id="userInfoManageImple" scope="prototype"class="erInfoManageImple" > <property name="userInfoDAOServiceImple"><!-- 没有应用声明事务时的引用<ref bean="userInfoDAOServiceImple"/>--><ref bean="userInfoDAOServiceImpleProxy"/></property><property name="springActionEventResponse"><ref bean="springActionEventResponse"/></property></bean><bean id="springActionEventResponse"class="com.px1987.webshop.business.springevent.SpringActionEventResponse"> <property name="mailSender"><ref bean="mailSender"/></property></bean><bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"> <property name="host" value=""/><property name="username" value="trainict"/><property name="password" value="12345678"/></bean><bean id="goodsInfoManageImple" scope="prototype"class="com.px1987.webshop.business.goods.GoodsInfoManageImple" > <property name="goodsInfoDAOServiceImple"><!-- 没有应用声明事务时的引用<ref bean="goodsInfoDAOServiceImple"/>--><ref bean="goodsInfoDAOServiceImpleProxy"/></property></bean><bean id="orderInfoManageImple" scope="prototype"class="com.px1987.webshop.business.order.OrderInfoManageImple" > <property name="orderInfoDAOServiceImple"><!-- 没有应用声明事务时的引用<ref bean="orderInfoDAOServiceImple"/>--><ref bean="orderInfoDAOServiceImpleProxy"/></property><property name="userInfoDAOServiceImple"><!-- 没有应用声明事务时的引用<ref bean="userInfoDAOServiceImple"/>--><ref bean="userInfoDAOServiceImpleProxy"/></property></bean><bean id="cartInfoManageImple" scope="prototype"class="com.px1987.webshop.business.cart.CartInfoManageImple" ></bean><bean id="customExceptionAdvice"class="com.px1987.webshop.business.aop.CustomExceptionAdvice"/><bean class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator"> <property name="beanNames"><value>userInfoManageImple,goodsInfoManageImple,orderInfoManageImple</value> </property><property name="interceptorNames"><list><value>customExceptionAdvice</value><value>userLoggerBeforeAdvisor</value></list></property></bean><bean id="userLoggerAdvice" class="erLoggerAdvice"/> <bean id="userLoggerBeforeAdvisor"class="org.springframework.aop.support.RegexpMethodPointcutAdvisor"> <property name="advice"><ref bean="userLoggerAdvice"/></property><property name="patterns"><value>com\.px1987\.webshop\.business\.user\.UserInfoManageInterface\.doUpdateOneUserInfo, com\.px1987\.webshop\.business\.user\.UserInfoManageInterface\.doUpdateOneRegisterUse rPassWord,com\.px1987\.webshop\.business\.user\.UserInfoManageInterface\.doUserRegister,com\.px1987\.webshop\.business\.user\.UserInfoManageInterface\.doUpdateOneAdminUser PassWord,com\.px1987\.webshop\.business\.user\.UserInfoManageInterface\.doDeleteOneRegisterUserInfo ,com\.px1987\.webshop\.business\.user\.UserInfoManageInterface\.doDeleteOneAdminUserInfo, com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doAddOneGoodsInfo, com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doUpdateOneGoodsInfo, com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doDeleteOneGoodsInfo, com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doAddOneComputerInfo, com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doUpdateOneComput erInfo,com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doDeleteOneCompute rInfo,com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doAddOneCommDevi ceInfo,com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doUpdateOneCommD eviceInfo,com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doDeleteOneCommDe viceInfo,com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doAddOneBookInfo,com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doUpdateOneBookInfo, com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doDeleteOneBookInfo, com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doAddOneClothInfo, com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doUpdateOneClothInfo, com\.px1987\.webshop\.business\.goods\.GoodsInfoManageInterface\.doDeleteOneClothInfo, com\.px1987\.webshop\.business\.order\.OrderInfoManageInterface\.doAddOneOrderInfo, com\.px1987\.webshop\.business\.order\.OrderInfoManageInterface\.doUpdateOneOrderInfo, com\.px1987\.webshop\.business\.order\.OrderInfoManageInterface\.doDeleteOneOrderInfo </value></property></bean><bean id="sessionFactory"class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"><!-- 在分层开发时使用<value>D:\AllInOneWebShop\WebShopProject\WebRoot\WEB-INF\classes\hibernate.cfg.xml </value>--><!-- 在Web集成时使用<value>WEB-INF/classes/hibernate.cfg.xml</value>--><value>WEB-INF/classes/hibernate.cfg.xml</value></property></bean><bean id="transactionManager"class="org.springframework.orm.hibernate3.HibernateTransactionManager"> <property name="sessionFactory"><ref local="sessionFactory"/></property></bean><bean id="userInfoDAOServiceImpleProxy"class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> <property name="proxyInterfaces"><list><value>erInfoDAOServiceInterface</value> </list></property><property name="transactionManager"><ref bean="transactionManager"/></property><property name="target"><ref bean="userInfoDAOServiceImple"/></property><props><prop key="Batch*">PROPAGATION_REQUIRED</prop></props></property></bean><bean id="orderInfoDAOServiceImpleProxy"class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> <property name="proxyInterfaces"><list><value> com.px1987.webshop.service.OrderInfoDAOServiceInterface</value> </list></property><property name="transactionManager"><ref bean="transactionManager"/></property><property name="target"><ref bean="orderInfoDAOServiceImple"/></property><property name="transactionAttributes"><props><prop key="Batch*">PROPAGATION_REQUIRED</prop></props></property></bean><bean id="goodsInfoDAOServiceImpleProxy"class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> <property name="proxyInterfaces"><list><value>com.px1987.webshop.service.GoodsInfoDAOServiceInterface</value>。