You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2011/07/12 20:06:36 UTC

svn commit: r792601 [1/49] - /websites/staging/openejb/trunk/content/

Author: buildbot
Date: Tue Jul 12 18:06:32 2011
New Revision: 792601

Log:
Staging update by buildbot

Modified:
    websites/staging/openejb/trunk/content/alternate-descriptors.html
    websites/staging/openejb/trunk/content/annotations,-xml-and-defaults.html
    websites/staging/openejb/trunk/content/apache-openejb-3.1.3.html
    websites/staging/openejb/trunk/content/apache-openejb-3.1.4.html
    websites/staging/openejb/trunk/content/apache-tomee.html
    websites/staging/openejb/trunk/content/app-clients-and-jndi.html
    websites/staging/openejb/trunk/content/application-discovery-via-the-classpath.html
    websites/staging/openejb/trunk/content/april2008.html
    websites/staging/openejb/trunk/content/april2009.html
    websites/staging/openejb/trunk/content/articles.html
    websites/staging/openejb/trunk/content/august2007.html
    websites/staging/openejb/trunk/content/basics---getting-things.html
    websites/staging/openejb/trunk/content/basics---security.html
    websites/staging/openejb/trunk/content/basics---transactions.html
    websites/staging/openejb/trunk/content/building-from-source.html
    websites/staging/openejb/trunk/content/built-in-type-converters.html
    websites/staging/openejb/trunk/content/callbacks.html
    websites/staging/openejb/trunk/content/client-server-transports.html
    websites/staging/openejb/trunk/content/clients.html
    websites/staging/openejb/trunk/content/collapsed-ear.html
    websites/staging/openejb/trunk/content/common-datasource-configurations.html
    websites/staging/openejb/trunk/content/common-errors.html
    websites/staging/openejb/trunk/content/common-persistenceprovider-properties.html
    websites/staging/openejb/trunk/content/concepts.html
    websites/staging/openejb/trunk/content/configuration-and-assembly.html
    websites/staging/openejb/trunk/content/configuration.html
    websites/staging/openejb/trunk/content/configuring-containers-in-tests.html
    websites/staging/openejb/trunk/content/configuring-datasources-in-tests.html
    websites/staging/openejb/trunk/content/configuring-datasources.html
    websites/staging/openejb/trunk/content/configuring-javamail.html
    websites/staging/openejb/trunk/content/configuring-logging-in-tests.html
    websites/staging/openejb/trunk/content/configuring-persistenceunits-in-tests.html
    websites/staging/openejb/trunk/content/constructor-injection.html
    websites/staging/openejb/trunk/content/containers-and-resources.html
    websites/staging/openejb/trunk/content/contribution-tips.html
    websites/staging/openejb/trunk/content/creating-itests.html
    websites/staging/openejb/trunk/content/custom-injection.html
    websites/staging/openejb/trunk/content/datasource-password-encryption.html
    websites/staging/openejb/trunk/content/deploy-tool.html
    websites/staging/openejb/trunk/content/deployment-id.html
    websites/staging/openejb/trunk/content/deployments.html
    websites/staging/openejb/trunk/content/design---application-server.html
    websites/staging/openejb/trunk/content/design---application-serverlinks.html
    websites/staging/openejb/trunk/content/design---assembler.html
    websites/staging/openejb/trunk/content/design---bmp-entitybean-container.html
    websites/staging/openejb/trunk/content/design---classic-assembler.html
    websites/staging/openejb/trunk/content/design---cmp-entitybean-container.html
    websites/staging/openejb/trunk/content/design---configuration-factory.html
    websites/staging/openejb/trunk/content/design---container.html
    websites/staging/openejb/trunk/content/design---local-server.html
    websites/staging/openejb/trunk/content/design---nova-configuration-factory.html
    websites/staging/openejb/trunk/content/design---passivation-strategy.html
    websites/staging/openejb/trunk/content/design---random-access-file-passivater.html
    websites/staging/openejb/trunk/content/design---remote-server.html
    websites/staging/openejb/trunk/content/design---resource-manager.html
    websites/staging/openejb/trunk/content/design---security-service.html
    websites/staging/openejb/trunk/content/design---simple-passivater.html
    websites/staging/openejb/trunk/content/design---stateful-sessionbean-container.html
    websites/staging/openejb/trunk/content/design---stateless-sessionbean-container.html
    websites/staging/openejb/trunk/content/design---transaction-service.html
    websites/staging/openejb/trunk/content/design.html
    websites/staging/openejb/trunk/content/details-on-openejb-jar.html
    websites/staging/openejb/trunk/content/download.html
    websites/staging/openejb/trunk/content/dynamic-datasource.html
    websites/staging/openejb/trunk/content/eclipse-plugin.html
    websites/staging/openejb/trunk/content/ejb-+-jpa-+-jsf-+-jax-rs.html
    websites/staging/openejb/trunk/content/ejb-2.1-compatibility-example.html
    websites/staging/openejb/trunk/content/ejb-3-roadmap.html
    websites/staging/openejb/trunk/content/ejb-3.0-specification.html
    websites/staging/openejb/trunk/content/ejb-3.1-roadmap.html
    websites/staging/openejb/trunk/content/ejb-annotation-example.html
    websites/staging/openejb/trunk/content/ejb-annotation-examples.html
    websites/staging/openejb/trunk/content/ejb-example.html
    websites/staging/openejb/trunk/content/ejb-examples.html
    websites/staging/openejb/trunk/content/ejb-glossary.html
    websites/staging/openejb/trunk/content/ejb-howto.html
    websites/staging/openejb/trunk/content/ejb-local-ref.html
    websites/staging/openejb/trunk/content/ejb-ref.html
    websites/staging/openejb/trunk/content/ejb-refs.html
    websites/staging/openejb/trunk/content/ejb-sample-applications.html
    websites/staging/openejb/trunk/content/ejb-sample.html
    websites/staging/openejb/trunk/content/ejb-samples.html
    websites/staging/openejb/trunk/content/ejb-servlet.html
    websites/staging/openejb/trunk/content/ejb-tutorial.html
    websites/staging/openejb/trunk/content/ejb-tutorials.html
    websites/staging/openejb/trunk/content/ejb3-annotation-example.html
    websites/staging/openejb/trunk/content/ejb3-annotation-examples.html
    websites/staging/openejb/trunk/content/ejb3-example.html
    websites/staging/openejb/trunk/content/ejb3-examples.html
    websites/staging/openejb/trunk/content/ejb3-howto.html
    websites/staging/openejb/trunk/content/ejb3-sample-applications.html
    websites/staging/openejb/trunk/content/ejb3-sample.html
    websites/staging/openejb/trunk/content/ejb3-samples.html
    websites/staging/openejb/trunk/content/ejb3-tutorial.html
    websites/staging/openejb/trunk/content/ejb3-tutorials.html
    websites/staging/openejb/trunk/content/embedded-and-remotable.html
    websites/staging/openejb/trunk/content/embedded-configuration.html
    websites/staging/openejb/trunk/content/embedding.html
    websites/staging/openejb/trunk/content/examples-table.html
    websites/staging/openejb/trunk/content/examples.html
    websites/staging/openejb/trunk/content/failover.html
    websites/staging/openejb/trunk/content/faq.html
    websites/staging/openejb/trunk/content/functional-testing-with-openejb,-jetty-and-selenium.html
    websites/staging/openejb/trunk/content/generating-ejb-3-annotations.html
    websites/staging/openejb/trunk/content/geronimo.html
    websites/staging/openejb/trunk/content/getting-started.html
    websites/staging/openejb/trunk/content/hello-world.html
    websites/staging/openejb/trunk/content/hibernate.html
    websites/staging/openejb/trunk/content/index.html
    websites/staging/openejb/trunk/content/injection-of-datasource-example.html
    websites/staging/openejb/trunk/content/injection-of-entitymanager-example.html
    websites/staging/openejb/trunk/content/injection-of-env-entry-example.html
    websites/staging/openejb/trunk/content/injection-of-other-ejbs-example.html
    websites/staging/openejb/trunk/content/installation.html
    websites/staging/openejb/trunk/content/itests-overview.html
    websites/staging/openejb/trunk/content/january2008.html
    websites/staging/openejb/trunk/content/javaagent-with-maven-surefire.html
    websites/staging/openejb/trunk/content/javaagent.html
    websites/staging/openejb/trunk/content/jms-resources-and-mdb-container.html
    websites/staging/openejb/trunk/content/jndi-names.html
    websites/staging/openejb/trunk/content/jpa-concepts.html
    websites/staging/openejb/trunk/content/jpa-usage.html
    websites/staging/openejb/trunk/content/july2007.html
    websites/staging/openejb/trunk/content/july2008.html
    websites/staging/openejb/trunk/content/july2009.html
    websites/staging/openejb/trunk/content/july2010.html
    websites/staging/openejb/trunk/content/june2007.html
    websites/staging/openejb/trunk/content/lightening-demos.html
    websites/staging/openejb/trunk/content/local-client-injection.html
    websites/staging/openejb/trunk/content/local-server.html
    websites/staging/openejb/trunk/content/logging.html
    websites/staging/openejb/trunk/content/lookup-of-other-ejbs-example.html
    websites/staging/openejb/trunk/content/mailing-lists.html
    websites/staging/openejb/trunk/content/management-and-voting.html
    websites/staging/openejb/trunk/content/manual-installation.html
    websites/staging/openejb/trunk/content/multiple-business-interface-hazzards.html
    websites/staging/openejb/trunk/content/new-in-openejb-3.0.html
    websites/staging/openejb/trunk/content/october2007.html
    websites/staging/openejb/trunk/content/october2008.html
    websites/staging/openejb/trunk/content/openejb-0.9.2.html
    websites/staging/openejb/trunk/content/openejb-1.0-beta-1.html
    websites/staging/openejb/trunk/content/openejb-1.0-test-matrix.html
    websites/staging/openejb/trunk/content/openejb-1.0.html
    websites/staging/openejb/trunk/content/openejb-3.0-beta-1.html
    websites/staging/openejb/trunk/content/openejb-3.0-beta-2.html
    websites/staging/openejb/trunk/content/openejb-3.0.html
    websites/staging/openejb/trunk/content/openejb-3.1.1.html
    websites/staging/openejb/trunk/content/openejb-3.1.2.html
    websites/staging/openejb/trunk/content/openejb-3.1.html
    websites/staging/openejb/trunk/content/openejb-3.html
    websites/staging/openejb/trunk/content/openejb-binaries.html
    websites/staging/openejb/trunk/content/openejb-eclipse-plugin.html
    websites/staging/openejb/trunk/content/openejb-jsr-107-integration.html
    websites/staging/openejb/trunk/content/openejb-release-process.html
    websites/staging/openejb/trunk/content/openejb.xml.html
    websites/staging/openejb/trunk/content/openjpa.html
    websites/staging/openejb/trunk/content/persistence-context.html
    websites/staging/openejb/trunk/content/persistence-unit-ref.html
    websites/staging/openejb/trunk/content/privacy-policy.html
    websites/staging/openejb/trunk/content/properties-tool.html
    websites/staging/openejb/trunk/content/property-overriding.html
    websites/staging/openejb/trunk/content/proxies.html
    websites/staging/openejb/trunk/content/quickstart.html
    websites/staging/openejb/trunk/content/remote-server.html
    websites/staging/openejb/trunk/content/resource-injection.html
    websites/staging/openejb/trunk/content/resource-ref-for-datasource.html
    websites/staging/openejb/trunk/content/rules-of-thumb.html
    websites/staging/openejb/trunk/content/running-a-standalone-openejb-server.html
    websites/staging/openejb/trunk/content/securing-a-web-service.html
    websites/staging/openejb/trunk/content/security-annotations.html
    websites/staging/openejb/trunk/content/security.html
    websites/staging/openejb/trunk/content/service-locator.html
    websites/staging/openejb/trunk/content/simple-stateful-example.html
    websites/staging/openejb/trunk/content/simple-stateless-example.html
    websites/staging/openejb/trunk/content/singleton-beans.html
    websites/staging/openejb/trunk/content/singleton-ejb.html
    websites/staging/openejb/trunk/content/singleton-example.html
    websites/staging/openejb/trunk/content/source-code.html
    websites/staging/openejb/trunk/content/spring-and-openejb-3.0.html
    websites/staging/openejb/trunk/content/spring-ejb-and-jpa.html
    websites/staging/openejb/trunk/content/spring.html
    websites/staging/openejb/trunk/content/startup.html
    websites/staging/openejb/trunk/content/system-properties.html
    websites/staging/openejb/trunk/content/take-my-code.html
    websites/staging/openejb/trunk/content/team.html
    websites/staging/openejb/trunk/content/telnet-console.html
    websites/staging/openejb/trunk/content/testcase-with-testbean-inner-class.html
    websites/staging/openejb/trunk/content/testing-security-example.html
    websites/staging/openejb/trunk/content/testing-transactions-example.html
    websites/staging/openejb/trunk/content/thread-dumps.html
    websites/staging/openejb/trunk/content/time-saved.html
    websites/staging/openejb/trunk/content/tips-and-suggestions.html
    websites/staging/openejb/trunk/content/tomcat-detailed-instructions.html
    websites/staging/openejb/trunk/content/tomcat-ejb-refs.html
    websites/staging/openejb/trunk/content/tomcat-installation.html
    websites/staging/openejb/trunk/content/tomcat-object-factory.html
    websites/staging/openejb/trunk/content/tomcat.html
    websites/staging/openejb/trunk/content/transaction-annotations.html
    websites/staging/openejb/trunk/content/understanding-callbacks.html
    websites/staging/openejb/trunk/content/understanding-the-directory-layout.html
    websites/staging/openejb/trunk/content/unit-testing-transactions.html
    websites/staging/openejb/trunk/content/validation-keys-audit-report.html
    websites/staging/openejb/trunk/content/validation-tool.html
    websites/staging/openejb/trunk/content/webadmin.html
    websites/staging/openejb/trunk/content/writing-validation-tests.html
    websites/staging/openejb/trunk/content/xbean-usage-in-openejb.html

Modified: websites/staging/openejb/trunk/content/alternate-descriptors.html
==============================================================================
--- websites/staging/openejb/trunk/content/alternate-descriptors.html (original)
+++ websites/staging/openejb/trunk/content/alternate-descriptors.html Tue Jul 12 18:06:32 2011
@@ -160,7 +160,7 @@ configuration for a set of tests or even
 <p>{note:title=When nothing else does the trick}
 Note that this approach was added as a catch-all for when one of the
 simpler overriding techniques will not work.  For the common case of
-needing to tweak your persistence.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml, see the <a href="configuring-persistenceunits-in-tests.html">Configuring PersistenceUnits in Tests</a>
+needing to tweak your persistence.xml, see the <a href="configuring-persistenceunits-in-tests.html">Configuring PersistenceUnits in Tests</a>
  page for a simpler approach.</p>
 
 <p>For many reasons it is very inconvenient to have to maintain two sets of
@@ -170,107 +170,107 @@ way to solve a problem without duplicati
 us know.  You should never have to go the long way to do something simple.
 {note}</p>
 
-<p><a name="AlternateDescriptors-openejb.altdd.prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
+<p><a name="AlternateDescriptors-openejb.altdd.prefix"></a></p>
 
-<h1>openejb.altdd.prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"></h1>
+<h1>openejb.altdd.prefix</h1>
 
-<p>To use this functionality, just set the new "openejb.altdd.prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">" system
-property or InitialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t property to something like "<em>test</em>", then any
-descriptors in your META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"> directory that start with "<em>test.</em>" will
-override the regular descriptor.  So for e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ample with an app like this:</p>
+<p>To use this functionality, just set the new "openejb.altdd.prefix" system
+property or InitialContext property to something like "<em>test</em>", then any
+descriptors in your META-INF/ directory that start with "<em>test.</em>" will
+override the regular descriptor.  So for example with an app like this:</p>
 
 <ul>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><em>test</em>.ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">persistence.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><em>test</em>.env-entry.properties</li>
+<li>META-INF/ejb-jar.xml</li>
+<li>META-INF/<em>test</em>.ejb-jar.xml</li>
+<li>META-INF/persistence.xml</li>
+<li>META-INF/<em>test</em>.env-entry.properties</li>
 </ul>
 
 <p>Just initialize your test case like so:</p>
 
 <pre><code> Properties properties = new Properties();
- properties.setProperty(Conte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t.INITIAL_CONTEXT_FACTORY,
-      "org.apache.openejb.client.LocalInitialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;tFactory");
- properties.setProperty("openejb.altdd.prefi&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;", "test");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,
+      "org.apache.openejb.client.LocalInitialContextFactory");
+ properties.setProperty("openejb.altdd.prefix", "test");
 
- InitialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t initialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t = new InitialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t(properties);
+ InitialContext initialContext = new InitialContext(properties);
 </code></pre>
 
-<p>The logical result will be the prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ed file replacing the non-prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ed
+<p>The logical result will be the prefixed file replacing the non-prefixed
 file as the active descriptor:</p>
 
 <ul>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml -> <em>test</em>.ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">persistence.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">env-entry.properties -> <em>test</em>.env-entry.properties</li>
+<li>META-INF/ejb-jar.xml -> <em>test</em>.ejb-jar.xml</li>
+<li>META-INF/persistence.xml</li>
+<li>META-INF/env-entry.properties -> <em>test</em>.env-entry.properties</li>
 </ul>
 
 <p>This will work in any environment in which OpenEJB works (embedded,
 standalone, tomcat, geronimo, etc.).</p>
 
-<p>Note that there does <em>not</em> have to be an equivalent non-prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ed version of
-the file.  In the e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ample above, only a "test.env-entry.properties" file
-e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ists and there is no equivalent plain "env-entry.properties" file.  This
-prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ing works for any deployment descriptor in the META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"> directory or
-WEB-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"> directory.  The prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"> does not have to be "test" and could be
-anything you choose.  You can also have as many prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ed files as you need
-and could even go as far as to have one prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"> per individual test.</p>
+<p>Note that there does <em>not</em> have to be an equivalent non-prefixed version of
+the file.  In the example above, only a "test.env-entry.properties" file
+exists and there is no equivalent plain "env-entry.properties" file.  This
+prefixing works for any deployment descriptor in the META-INF/ directory or
+WEB-INF/ directory.  The prefix does not have to be "test" and could be
+anything you choose.  You can also have as many prefixed files as you need
+and could even go as far as to have one prefix per individual test.</p>
 
-<p><a name="AlternateDescriptors-Morethanoneprefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
+<p><a name="AlternateDescriptors-Morethanoneprefix"></a></p>
 
-<h1>More than one prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"></h1>
+<h1>More than one prefix</h1>
 
-<p>It is possible to have several prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">es, specified in order of preference,
+<p>It is possible to have several prefixes, specified in order of preference,
 so that it is possible to avoid duplicating descriptors that are used in
-more than one "profile".  For e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ample, the "foo" test case uses the same
+more than one "profile".  For example, the "foo" test case uses the same
 "env-entries.properties" file as the "bar" test case, but both have their
-own ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml files:</p>
+own ejb-jar.xml files:</p>
 
 <ul>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">test.ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">footest.ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">bartest.ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">persistence.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">test.env-entry.properties</li>
+<li>META-INF/ejb-jar.xml</li>
+<li>META-INF/test.ejb-jar.xml</li>
+<li>META-INF/footest.ejb-jar.xml</li>
+<li>META-INF/bartest.ejb-jar.xml</li>
+<li>META-INF/persistence.xml</li>
+<li>META-INF/test.env-entry.properties</li>
 </ul>
 
-<p>The "foo" test case could set the <em>openejb.altdd.prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"></em> as follows:</p>
+<p>The "foo" test case could set the <em>openejb.altdd.prefix</em> as follows:</p>
 
-<pre><code> &lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;...
- properties.setProperty("openejb.altdd.prefi&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;", "footest, test");
+<pre><code> //...
+ properties.setProperty("openejb.altdd.prefix", "footest, test");
 
- InitialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t initialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t = new InitialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t(properties);
+ InitialContext initialContext = new InitialContext(properties);
 </code></pre>
 
 <p>Resulting the following logical view of the app:</p>
 
 <ul>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml -> <em>footest</em>.ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">persistence.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">env-entry.properties -> test.env-entry.properties</li>
+<li>META-INF/ejb-jar.xml -> <em>footest</em>.ejb-jar.xml</li>
+<li>META-INF/persistence.xml</li>
+<li>META-INF/env-entry.properties -> test.env-entry.properties</li>
 </ul>
 
-<p>And the "bar" test case could set the  <em>openejb.altdd.prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"></em> as follows:</p>
+<p>And the "bar" test case could set the  <em>openejb.altdd.prefix</em> as follows:</p>
 
-<pre><code> &lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;...
- properties.setProperty("openejb.altdd.prefi&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;", "footest, test");
+<pre><code> //...
+ properties.setProperty("openejb.altdd.prefix", "footest, test");
 
- InitialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t initialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t = new InitialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t(properties);
+ InitialContext initialContext = new InitialContext(properties);
 </code></pre>
 
 <p>Resulting the following logical view of the app:</p>
 
 <ul>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml -> <em>bartest</em>.ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">persistence.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</li>
-<li>META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">env-entry.properties -> test.env-entry.properties</li>
+<li>META-INF/ejb-jar.xml -> <em>bartest</em>.ejb-jar.xml</li>
+<li>META-INF/persistence.xml</li>
+<li>META-INF/env-entry.properties -> test.env-entry.properties</li>
 </ul>
 
 <p>In both scenarios the same env-entry.properties file
 (test.env-entry.properties) is shared.</p>
 
-<p>Note that there is a "test.ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml" file that is present, however in
+<p>Note that there is a "test.ejb-jar.xml" file that is present, however in
 both cases it is not used as the order of preference in the list is "left
 to right" meaning most preferred first.</p>