You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2007/07/01 06:31:35 UTC
svn commit: r552243 -
/openejb/trunk/openejb3/container/openejb-core/src/main/resources/default.openejb.conf
Author: dblevins
Date: Sat Jun 30 21:31:30 2007
New Revision: 552243
URL: http://svn.apache.org/viewvc?view=rev&rev=552243
Log:
Updated options and documentation
Modified:
openejb/trunk/openejb3/container/openejb-core/src/main/resources/default.openejb.conf
Modified: openejb/trunk/openejb3/container/openejb-core/src/main/resources/default.openejb.conf
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/resources/default.openejb.conf?view=diff&rev=552243&r1=552242&r2=552243
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/resources/default.openejb.conf (original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/resources/default.openejb.conf Sat Jun 30 21:31:30 2007
@@ -23,41 +23,33 @@
<openejb>
<Container id="Default CMP Container" ctype="CMP_ENTITY">
- #CmpEngineFactory org.apache.openejb.alt.containers.castor_cmp11.CastorCmpEngineFactory
- CmpEngineFactory org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory
+# This container can service CMP 1.1 and 2.x Entity Beans
+#
+# Persistence is achived by taking the entity beans deployed
+# and internally readapting them to the new EJB 3.0 JPA (Java
+# Persistence API) specification. It is possible, though
+# not well documented, to mix in newer JPA concepts with
+# old style Entity beans allowing you to slowly transition
+# your entities to JPA. Aggressively inquiring on the
+# users@openejb.apache.org about this feature will help
+# us generate better documentation.
+# ---------
- #Engine instantdb
- Engine derby
+# ConnectorName is he id of the Connector element which
+# should provide connectivity for this CMP Container
ConnectorName Default JDBC Database
-</Container>
-
-<!--
-<Container id="InstantDB CMP Container" ctype="CMP_ENTITY">
- # InstantDB example
- Global_TX_Database conf/instantdb.cmp.global-database.xml
- Local_TX_Database conf/instantdb.cmp.local-database.xml
</Container>
--->
-
-<!--
-<Container id="PostgreSQL CMP Container" ctype="CMP_ENTITY">
- # PostgreSQL example
- Global_TX_Database conf/postgresql.cmp.global-database.xml
- Local_TX_Database conf/postgresql.cmp.local-database.xml
-</Container>
--->
+<Container id="Default BMP Container" ctype="BMP_ENTITY">
+# Specifies the size of the bean pools for this
+# bmp entity container.
+ PoolSize 10
-<Container id="Default BMP Container" ctype="BMP_ENTITY">
-# --------------------------------------------------------------
-# The Default BMP Container has no customizable properties to
-# override.
-# --------------------------------------------------------------
</Container>
@@ -86,7 +78,7 @@
# Specifies the size of the bean pools for this
# stateful SessionBean container.
- PoolSize 100
+ PoolSize 500
# Property name that specifies the number of instances
# to passivate at one time when doing bulk passivation.
@@ -142,9 +134,32 @@
InstanceLimit 10
</Container>
-<Connector id="Default JDBC Database" />
+<Connector id="Default JDBC Database">
+ JdbcDriver org.hsqldb.jdbcDriver
+ JdbcUrl jdbc:hsqldb:file:hsqldb
+ UserName sa
+ Password
+</Connector>
+
+<Connector id="Default Unmanaged JDBC Database">
+ JdbcDriver org.hsqldb.jdbcDriver
+ JdbcUrl jdbc:hsqldb:file:hsqldb
+ UserName sa
+ Password
+
+ Unmanaged true
+</Connector>
+
+<!--
+<Connector id="Derby Database">
+ #Embedded Derby example
-<Connector id="Default Unmanaged JDBC Database"/>
+ JdbcDriver org.apache.derby.jdbc.EmbeddedDriver
+ JdbcUrl jdbc:derby:derbyDB;create=true
+ UserName admin
+ Password pass
+</Connector>
+-->
<!--
<Connector id="InstantDB Database">
@@ -212,20 +227,20 @@
</Resource>
<Connector id="Default JMS Connection Factory">
+
ResourceAdapter Default JMS Resource Adapter
+
</Connector>
<!--
#
-# A registry listing of all the jars
-# deployed with OpenEJB.
+# The <Deployments> element can be used to configure file
+# pathes where OpenEJB should look for ejb jars or ear files.
#
-# Jars in this path must contain an
-# openejb-jar.xml in the jar to be loaded
+# See http://openejb.apache.org/deployments.html
#
-# You can create this file yourself or
-# use the deploy tool.
+# The below entry is simply a default and can be changed or deleted
-->
-<Deployments dir="beans/" />
+<Deployments dir="apps/" />
</openejb>