[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/performance/spring/hessian/web/WEB-INF ...
Tom Elrod
tom.elrod at jboss.com
Sun Aug 13 15:30:05 EDT 2006
User: telrod
Date: 06/08/13 15:30:05
Added: src/tests/org/jboss/test/remoting/performance/spring/hessian/web/WEB-INF
applicationContext.xml remoting-servlet.xml web.xml
Log:
JBREM-578 - including spring remoting tests (rmi and hessian transports) to the performance benchmark testing.
Revision Changes Path
1.1 date: 2006/08/13 19:30:05; author: telrod; state: Exp;JBossRemoting/src/tests/org/jboss/test/remoting/performance/spring/hessian/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/13 19:30:05; author: telrod; state: Exp;JBossRemoting/src/tests/org/jboss/test/remoting/performance/spring/hessian/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="springHessianServerService" class="org.jboss.test.remoting.performance.spring.hessian.web.SpringHessianServerImpl"/>
<bean name="/springHessianServerService" class="org.springframework.remoting.caucho.HessianServiceExporter">
<property name="service" ref="springHessianServerService"/>
<property name="serviceInterface" value="org.jboss.test.remoting.performance.spring.hessian.web.SpringHessianServer"/>
</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/13 19:30:05; author: telrod; state: Exp;JBossRemoting/src/tests/org/jboss/test/remoting/performance/spring/hessian/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 Hessian Test</display-name>
<description>Spring Hessian 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