<? XML version = "1.0" encoding = "UTF-8" ?>
< Beans
Xmlns = "Http://www.springframework.org/schema/beans"
Xmlns: AOP = "Http://www.springframework.org/schema/aop"
Xmlns: Context = "Http://www.springframework.org/schema/context"
Xmlns: TX = "Http://www.springframework.org/schema/tx"
Xmlns: xsi = "Http://www.w3.org/2001/XMLSchema-instance"
Xsi: schemalocation = "Http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd" >
<! -- Configure usage annotations -->
< Context: annotation-config />
<! -- -->
< Bean ID = "Liferaydatasource" Class = "Org. springframework. JDBC. datasource. lazyconnectionperformanceproxy" >
< Property Name = "Targetdatasource" >
< Bean Class = "Com. liferay. Portal. kernel. util. infrastructureutil" Factory-Method = "Getdatasource" />
</ Property >
</ Bean >
< Bean ID = "Jdbctemplate" Class = "Org. springframework. JDBC. Core. jdbctemplate" >
< Property Name = "Datasource" > < Ref Bean = "Liferaydatasource" /> </ Property >
</ Bean >
bean id =" computerentryservice " class =" cn.net. comsys. portlet. shownew. service. impl. computerentryserviceimpl " />
beans >