SSH框架与SSI框架的区别

一、SSH 整个配置如下图所示:

SSH框架与SSI框架的区别_第1张图片

1.


    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util"
    xmlns:tool="http://www.springframework.org/schema/tool" xmlns:context="http://www.springframework.org/schema/context"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
      http://www.springframework.org/schema/beans/spring-beans.xsd
      http://www.springframework.org/schema/tx
      http://www.springframework.org/schema/tx/spring-tx.xsd
      http://www.springframework.org/schema/aop
      http://www.springframework.org/schema/aop/spring-aop.xsd
      http://www.springframework.org/schema/jee
      http://www.springframework.org/schema/jee/spring-jee.xsd
      http://www.springframework.org/schema/context
      http://www.springframework.org/schema/context/spring-context.xsd
      http://www.springframework.org/schema/util
      http://www.springframework.org/schema/util/spring-util.xsd
      http://www.springframework.org/schema/tool
      http://www.springframework.org/schema/tool/spring-tool.xsd">
      
              class="org.apache.commons.dbcp.BasicDataSource"
        destroy-method="close">
                     value="${jdbc.driverClassName}">
        

                     value="${jdbc.url}" />
                      value="${jdbc.username}">
        

                     value="${jdbc.password}">
        

    

2.


    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util"
    xmlns:tool="http://www.springframework.org/schema/tool" xmlns:context="http://www.springframework.org/schema/context"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
      http://www.springframework.org/schema/beans/spring-beans.xsd
      http://www.springframework.org/schema/tx
      http://www.springframework.org/schema/tx/spring-tx.xsd
      http://www.springframework.org/schema/aop
      http://www.springframework.org/schema/aop/spring-aop.xsd
      http://www.springframework.org/schema/jee
      http://www.springframework.org/schema/jee/spring-jee.xsd
      http://www.springframework.org/schema/context
      http://www.springframework.org/schema/context/spring-context.xsd
      http://www.springframework.org/schema/util
      http://www.springframework.org/schema/util/spring-util.xsd
      http://www.springframework.org/schema/tool
      http://www.springframework.org/schema/tool/spring-tool.xsd"
    default-autowire="byName">
    
    
        
            
                classpath:zxdjbpmdb.properties
            

        

    

    
    
        
            
            classpath:ehcache.xml    
        
    
    
    
        
        
        
            
                
        
    
            
            DEFAULT_CACHE    
        
    
    

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

        
        
            
                ${hibernate.show_sql}
                true
                update
                ${hibernate.dialect}
                
                
                true
                
                org.hibernate.cache.EhCacheProvider
                
                true
            

        

        
           
                classpath*:jbpm.repository.hbm.xml
                classpath*:jbpm.execution.hbm.xml
                classpath*:jbpm.history.hbm.xml
                classpath*:jbpm.task.hbm.xml
                classpath*:jbpm.identity.hbm.xml
           

       

    

    

3.


    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util"
    xmlns:tool="http://www.springframework.org/schema/tool" xmlns:context="http://www.springframework.org/schema/context"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
      http://www.springframework.org/schema/beans/spring-beans.xsd
      http://www.springframework.org/schema/tx
      http://www.springframework.org/schema/tx/spring-tx.xsd
      http://www.springframework.org/schema/aop
      http://www.springframework.org/schema/aop/spring-aop.xsd
      http://www.springframework.org/schema/jee
      http://www.springframework.org/schema/jee/spring-jee.xsd
      http://www.springframework.org/schema/context
      http://www.springframework.org/schema/context/spring-context.xsd
      http://www.springframework.org/schema/util
      http://www.springframework.org/schema/util/spring-util.xsd
      http://www.springframework.org/schema/tool
      http://www.springframework.org/schema/tool/spring-tool.xsd"
     default-autowire="byName" >    

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

    

    
    
    
         
             
                 PROPAGATION_REQUIRED, -Exception
                 PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
            
             

         

    

    
    
    
         
             
                 transAdvisor
             

         

         
             
                 *Service
                *Service*
                *service*
             

         

    

    
    
    
         
             
         

         
             *
         

    

    
    
    
        
            
        

        
            
        

    

    
       
    
        
            
        

        
            
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED,readOnly
            

        

    


    
    
        
    
             factory-method="createProcessEngine" />
    
    
        
    

4.


    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util"
    xmlns:tool="http://www.springframework.org/schema/tool" xmlns:context="http://www.springframework.org/schema/context"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
      http://www.springframework.org/schema/beans/spring-beans.xsd
      http://www.springframework.org/schema/tx
      http://www.springframework.org/schema/tx/spring-tx.xsd
      http://www.springframework.org/schema/aop
      http://www.springframework.org/schema/aop/spring-aop.xsd
      http://www.springframework.org/schema/jee
      http://www.springframework.org/schema/jee/spring-jee.xsd
      http://www.springframework.org/schema/context
      http://www.springframework.org/schema/context/spring-context.xsd
      http://www.springframework.org/schema/util
      http://www.springframework.org/schema/util/spring-util.xsd
      http://www.springframework.org/schema/tool
      http://www.springframework.org/schema/tool/spring-tool.xsd"
    default-autowire="byName">

    
   
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 

5.



          "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
          "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">



       1000
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
       
       
       
       
       
       
       
       
       
       
       
       
       
     
    
    
    
    
    
    

6.


          "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
          "http://struts.apache.org/dtds/struts-2.3.dtd">

    
    
    
    
    
    
    
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    



二、SSI 整个配置如下图所示:

SSH框架与SSI框架的区别_第2张图片

2.


    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
     http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
    
    
        
            
                classpath:jdbczxd.properties
            

        

    

    
    
         
    

    
    
    
        
        
        
    

    
    
         
             
                 
                 
             

         

         
    

    
    
        
            
        

    



3.


    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
     http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
    
    
         
             
                 classpath:/com/zxd/autocontrol/common/config/sqlMapConfig.xml
             

         

    

    
    
    
        
        
    

    
        
    



4.


    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
     http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
    
    
                  class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
        
    

    
    
    
         
             
                 PROPAGATION_REQUIRED, -Exception
                 PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
                PROPAGATION_REQUIRED,-Exception
             

         

    

    
    
    
         
             
                 transAdvisor
             

         

         
             
                 *Service
                *Service*
                *service*
             

         

    

    
    
    
         
             
         

         
             *
         

    

    
    
    
        
            
        

        
            
        

    

    
       
    
        
            
        

        
            
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED
                PROPAGATION_REQUIRED,readOnly
            

        

    

    


5.


    "http://ibatis.apache.org/dtd/sql-map-config-2.dtd">

  lazyLoadingEnabled="false" maxRequests="1500" maxSessions="1500"
        maxTransactions="1500" useStatementNamespaces="true" />
    
    
    
    
    
    
   
    
    
    
    
    
    
    
    
    
   
    
    
    
    
    
    
    
    
    
    
    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
    
    
    
    
    
    
    
    
    


6.


       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
           http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
           http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
      
     
    
    
    
     
    
    
    
    
     
    
    
    
    
     
    
    
    
    
     
    
    
    
    
     
    
    
    
    
     
    
    
    
    
     
    
    
    
    
     
    
    
    
    
     
    
    
    
    
     
    
    
    
    
     
    
    
    
    
      
      

      
       
    
    
    

    
      
    
    
    


7.


    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    





你可能感兴趣的:(SSH框架与SSI框架的区别)