<?xml version="1.0" encoding="ISO-8859-1"?>

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
         version="2.4">

 <distributable/>

  <servlet>
    <servlet-name>sessionServlet</servlet-name>
    <servlet-class>org.ow2.jonas.examples.cluster.j2ee14.servlets.SessionServlet</servlet-class>
  </servlet>

  <servlet>
    <servlet-name>releaseSessionServlet</servlet-name>
    <servlet-class>org.ow2.jonas.examples.cluster.j2ee14.servlets.ReleaseServlet</servlet-class>
  </servlet>

  <servlet>
    <servlet-name>checkSessionServlet</servlet-name>
    <servlet-class>org.ow2.jonas.examples.cluster.j2ee14.servlets.CheckServlet</servlet-class>
  </servlet>

  <servlet>
    <servlet-name>exceptionServlet</servlet-name>
    <servlet-class>org.ow2.jonas.examples.cluster.j2ee14.servlets.ExceptionServlet</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>exceptionServlet</servlet-name>
    <url-pattern>/servlet/exception</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>sessionServlet</servlet-name>
    <url-pattern>/servlet/session</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>releaseSessionServlet</servlet-name>
    <url-pattern>/servlet/release</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>checkSessionServlet</servlet-name>
    <url-pattern>/servlet/check</url-pattern>
  </servlet-mapping>

  <welcome-file-list>
    <welcome-file>/index.html</welcome-file>
  </welcome-file-list>

  <ejb-ref>
    <ejb-ref-name>ejb/MyEjb1Home</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>org.ow2.jonas.examples.cluster.j2ee14.beans.samplecluster2.MyEjb1Home</home>
    <remote>org.ow2.jonas.examples.cluster.j2ee14.beans.samplecluster2.MyEjb1</remote>

  </ejb-ref>

  <ejb-ref>
    <ejb-ref-name>ejb/MyStatefulHome</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>org.ow2.jonas.examples.cluster.j2ee14.beans.samplecluster2.MyStatefulHome</home>
    <remote>org.ow2.jonas.examples.cluster.j2ee14.beans.samplecluster2.MyStateful</remote>

  </ejb-ref>

</web-app>

