<web-app xmlns="http://caucho.com/ns/resin">
  <servlet servlet-name="resin-php"
           servlet-class="com.caucho.quercus.servlet.QuercusServlet" />

  <servlet-mapping url-pattern="*.php" servlet-name="resin-php" />

  <!--
     - JMS
    -->
  <jms-connection-factory uri="resin:"/>

  <jms-queue name="AdQueue" uri="memory:"/>

  <jms-queue name="ControlQueue" uri="memory:"/>

  <!--
     - EJB message-driven-bean
    -->
  <ejb-message-bean class="example.AdProducer">
    <destination>#{ControlQueue}</destination>
  </ejb-message-bean>
</web-app>
