applicationContext.xml各作用

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"

xmlns:c="http://www.springframework.org/schema/c" xmlns:cache="http://www.springframework.org/schema/cache"

xmlns:context="http://www.springframework.org/schema/context"

xmlns:jdbc="http://www.springframework.org/schema/jdbc" xmlns:jee="http://www.springframework.org/schema/jee"

xmlns:lang="http://www.springframework.org/schema/lang" xmlns:mvc="http://www.springframework.org/schema/mvc"

xmlns:p="http://www.springframework.org/schema/p" xmlns:task="http://www.springframework.org/schema/task"

xmlns:tx="http://www.springframework.org/schema/tx" xmlns:util="http://www.springframework.org/schema/util"

xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd

http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd

http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsd

http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd

http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd

http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee.xsd

http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang.xsd

http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd

http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd

http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd

http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">

作用一:配数据库

 

class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">

classpath:jdbc.properties

 

init-method="init" destroy-method="close">

 

 

 

 

 

value="20" />

 

 

class="com.alibaba.druid.support.spring.stat.DruidStatInterceptor" />

scope="prototype">

org.bigdatacn.sfgk.wlzbs.service.*

pointcut-ref="druid-stat-pointcut" />

 

作用二:

class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"

p:configLocation="classpath:ehcache.xml" p:shared="false" />

p:cacheManager-ref="cacheManagerFactory" />

 

 作用三:性能优化

                         

org\.bigdatacn\.sfgk\.wlzbs\.dao\..*

org\.bigdatacn\.sfgk\.wlzbs\.daoImpl\..*

org\.bigdatacn\.sfgk\.wlzbs\.service\..*

org\.bigdatacn\.sfgk\.wlzbs\.view\.service\..*

org\.bigdatacn\.sfgk\.wlzbs\.view\.serviceImpl\..*

 

作用四:,导入hibranate.cfg.xlm

class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">

 

作用五:

class="org.springframework.orm.hibernate3.HibernateTransactionManager">

 

 


你可能感兴趣的:(application)