[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/performance/spring/http/web/WEB-INF ...

Tom Elrod tom.elrod at jboss.com
Mon Aug 14 18:06:34 EDT 2006


  User: telrod  
  Date: 06/08/14 18:06:34

  Added:       src/tests/org/jboss/test/remoting/performance/spring/http/web/WEB-INF   
                        applicationContext.xml remoting-servlet.xml web.xml
  Log:
  JBREM-578 - add performance benchmark test for spring http transport.
  
  Revision  Changes    Path
  1.1      date: 2006/08/14 22:06:34;  author: telrod;  state: Exp;JBossRemoting/src/tests/org/jboss/test/remoting/performance/spring/http/web/WEB-INF/applicationContext.xml
  
  Index: applicationContext.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8" ?>
  <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
  
  <beans>
  </beans>
  
  
  
  1.1      date: 2006/08/14 22:06:34;  author: telrod;  state: Exp;JBossRemoting/src/tests/org/jboss/test/remoting/performance/spring/http/web/WEB-INF/remoting-servlet.xml
  
  Index: remoting-servlet.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8" ?>
  <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
  
  <!--
    - DispatcherServlet application context for Petclinic's web tier.
  	-->
  <beans>
     <bean id="springHttpServerService" class="org.jboss.test.remoting.performance.spring.http.web.SpringHttpServerImpl"/>
  
     <bean name="/springHttpServerService" class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
         <property name="service" ref="springHttpServerService"/>
         <property name="serviceInterface" value="org.jboss.test.remoting.performance.spring.http.web.SpringHttpServer"/>
     </bean>
  
     <bean id="beanMapping" class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping">
         <property name="order"><value>1</value></property>
     </bean>
  
  </beans>
  
  
  
  1.1      date: 2006/08/14 22:06:34;  author: telrod;  state: Exp;JBossRemoting/src/tests/org/jboss/test/remoting/performance/spring/http/web/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
  <web-app>
  
      <display-name>Spring HTTP Test</display-name>
  
      <description>Spring HTTP performance benchmark test</description>
  
      <!--
        - Key of the system property that should specify the root directory of this
        - web app. Applied by WebAppRootListener or Log4jConfigListener.
        -->
      <context-param>
          <param-name>webAppRootKey</param-name>
          <param-value>remoting.root</param-value>
      </context-param>
  
      <!--<context-param>-->
          <!--<param-name>contextConfigLocation</param-name>-->
          <!--<param-value>/WEB-INF/applicationContext.xml</param-value>-->
      <!--</context-param>-->
  
      <listener>
          <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
      </listener>
  
      <servlet>
          <servlet-name>remoting</servlet-name>
          <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
      </servlet>
  
      <!-- mapping -->
      <!--
        - Maps the egida dispatcher to *.htm. All handler mappings in
        - egida-servlet.xml will by default be applied to this subpath.
        - If a mapping isn't a /* subpath, the handler mappings are considered
        - relative to the web app root.
        -
        - NOTE: A single dispatcher can be mapped to multiple paths, like any servlet.
        -->
  
      <servlet-mapping>
          <servlet-name>remoting</servlet-name>
          <url-pattern>/*</url-pattern>
      </servlet-mapping>
  
  </web-app>
  
  



More information about the jboss-cvs-commits mailing list