devdaily home | apple | java | perl | unix | directory | blog

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">

<Configure class="org.mortbay.jetty.webapp.WebAppContext">

  <!-- Add an EnvEntry only valid for this webapp               -->
  <New id="gargle"  class="org.mortbay.jetty.plus.naming.EnvEntry">
    <Arg>gargle
    <Arg type="java.lang.Double">100
    <Arg type="boolean">true
  </New>

 <!-- Add an override for a global EnvEntry                           -->
  <New id="wiggle"  class="org.mortbay.jetty.plus.naming.EnvEntry">
    <Arg>wiggle
    <Arg type="java.lang.Double">55.0
    <Arg type="boolean">true
  </New>


  <!-- ==============================================================  -->
  <!-- Add a DataSource only valid for this webapp                     -->
  <!-- Uncomment one of the following options.                         -->
  <!-- ==============================================================  -->

  <!-- Atomikos datasource                                             

  <New id="mydatasource99" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>jdbc/mydatasource99
    <Arg>
     <New class="com.atomikos.jdbc.SimpleDataSourceBean">org.apache.derby.jdbc.EmbeddedXADataSourcedatabaseName=testdb99;createDatabase=createmydatasource99
    </Arg>
   </New>
  -->

  <!-- JOTM datasource
<Call id="tm" name="getAttribute">txmgrmyxadatasource99org.apache.derby.jdbc.EmbeddedDriverjdbc:derby:myderbyDB99;create=true
  <New id="mydatasource99" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>jdbc/mydatasource99
    <Arg>
     <New class="org.enhydra.jdbc.pool.StandardXAPoolDataSource">java:/comp/env/myxadatasource99
    </Arg>
   </New>
  -->


</Configure>




Copyright 1998-2008 Alvin Alexander
All Rights Reserved.
 
devdaily.com is based in louisville, kentucky, and this web site is hosted by godaddy.com