blob: 3dd61916c9ab49e1101931f54a9532d14c796d34 [file] [log] [blame]
<html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>OpenEJB Configuration --
Containers</title><link href="default.css" rel="stylesheet"><link href="/images/favicon.ico" rel="SHORTCUT ICON"></head><body marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0" topmargin="0" vlink="#6763a9" link="#6763a9" bgcolor="#ffffff"><a name="top"></a><table height="400" width="712" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#7270c2" align="left" valign="top" width="20"><img border="0" height="1" width="1" src="images/dotTrans.gif"></td><td bgcolor="#7270c2" align="left" valign="top" width="95"><img border="0" height="1" width="1" src="images/dotTrans.gif"></td><td align="left" valign="top" width="7"><img height="1" width="1" border="0" src="images/dotTrans.gif"></td><td align="left" valign="top" width="40"><img border="0" height="6" width="40" src="images/dotTrans.gif"></td><td bgcolor="#5A5CB8" align="left" valign="top" width="430"><img border="0" height="6" width="430" src="images/top_2.gif"></td><td bgcolor="#E24717" align="left" valign="top" width="120"><img src="images/top_3.gif" width="120" height="6" border="0"></td></tr><tr><td align="left" valign="top" bgcolor="#7270c2" width="20"><img height="1" width="1" border="0" src="images/dotTrans.gif"></td><td align="left" valign="top" bgcolor="#7270c2" width="95"><img height="1" width="1" border="0" src="images/dotTrans.gif"></td><td align="left" valign="top" bgcolor="#ffffff" width="7"></td><td align="left" valign="top" width="40"><img border="0" height="1" width="1" src="images/dotTrans.gif"></td><td align="left" valign="middle" width="430"><a href="faq.html"><span class="menuTopOff">[ f a q ]</span></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://wiki.codehaus.org/openejb"><span class="menuTopOff">[ w i k i ]</span></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://archive.openejb.codehaus.org/user/"><span class="menuTopOff">[ l i s t s ]</span></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://cvs.openejb.org/"><span class="menuTopOff">[ c v s ]</span></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://jira.codehaus.org/secure/BrowseProject.jspa?id=10401"><span class="menuTopOff">[ b u g s ]</span></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><img border="0" height="2" width="1" src="images/dotTrans.gif"></td><td align="left" valign="top" height="20" width="120">&nbsp;</td></tr><tr><td align="left" valign="top" bgcolor="#7270c2" width="20"><img border="0" height="3" width="20" src="images/dotTrans.gif"></td><td align="left" valign="top" bgcolor="#7270c2" width="95"><img border="0" height="3" width="105" src="images/line_sm.gif"></td><td align="left" valign="top" bgcolor="#a9a5de" width="7"><img border="0" height="3" width="7" src="images/line_sm.gif"></td><td align="left" valign="top" width="40"><img border="0" height="3" width="40" src="images/line_light.gif"></td><td align="left" valign="top" width="430"><img border="0" height="3" width="430" src="images/line_light.gif"></td><td align="left" valign="top" width="120"><img height="1" width="1" border="0" src="images/dotTrans.gif"></td></tr><tr><td align="left" valign="top" bgcolor="#7270c2"><img border="0" height="10" width="20" src="images/dotTrans.gif"></td><td align="left" valign="top" bgcolor="#7270c2" width="95"><img border="0" height="2" width="1" src="images/dotTrans.gif"><br><table cellspacing="0" cellpadding="0" border="0"><tr><td align="left" valign="top"><span class="subMenuOn">Main</span></td></tr><tr><td align="left" valign="top"><a href="index.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Welcome!</span></a></td></tr><tr><td align="left" valign="top"><a href="download.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Download</span></a></td></tr><tr><td align="left" valign="top"><a href="lists.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Mailing Lists</span></a></td></tr><tr><td align="left" valign="top"><a href="cvs.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Source Code</span></a></td></tr><tr><td align="left" valign="top"><a href="contributors.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
The Team</span></a></td></tr><tr><td align="left" valign="top"><a href="status.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Status</span></a></td></tr></table><table cellspacing="0" cellpadding="0" border="0"><tr><td align="left" valign="top"><span class="subMenuOn">Users</span></td></tr><tr><td align="left" valign="top"><a href="quickstart.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Quickstart</span></a></td></tr><tr><td align="left" valign="top"><a href="hello-world.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Hello World!</span></a></td></tr><tr><td align="left" valign="top"><a href="cmp_entity_postgresql.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
CMP Example</span></a></td></tr><tr><td align="left" valign="top"><a href="cmp_guide.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
CMP Guide</span></a></td></tr><tr><td align="left" valign="top"><a href="deploy.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Deploy</span></a></td></tr><tr><td align="left" valign="top"><a href="start-command.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Startup</span></a></td></tr><tr><td align="left" valign="top"><a href="validate.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Validation</span></a></td></tr><tr><td align="left" valign="top"><a href="config_containers.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Configuration</span></a></td></tr><tr><td align="left" valign="top"><a href="properties.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Properties</span></a></td></tr></table><table cellspacing="0" cellpadding="0" border="0"><tr><td align="left" valign="top"><span class="subMenuOn">Servers</span></td></tr><tr><td align="left" valign="top"><a href="embedded.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Local Server</span></a></td></tr><tr><td align="left" valign="top"><a href="remote-server.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Remote Server</span></a></td></tr><tr><td align="left" valign="top"><a href="tomcat.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Tomcat</span></a></td></tr><tr><td align="left" valign="top"><a href="geronimo.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Geronimo</span></a></td></tr></table><table cellspacing="0" cellpadding="0" border="0"><tr><td align="left" valign="top"><span class="subMenuOn">Integrators</span></td></tr><tr><td align="left" valign="top"><a href="whyopenejb.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Why OpenEJB</span></a></td></tr><tr><td align="left" valign="top"><a href="containersystem.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Overview</span></a></td></tr><tr><td align="left" valign="top"><a href="design_openejb.html"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Design</span></a></td></tr><tr><td align="left" valign="top"><a href="OpenEJB_presentaion.ppt"><span class="subMenuOff">&nbsp;&nbsp;&nbsp;
Presentation</span></a></td></tr></table><img border="0" height="15" width="1" src="images/dotTrans.gif"><br><img border="0" height="3" width="105" src="images/line_sm.gif"><br><A href="http://codehaus.org"><IMG alt="The Codehaus" border="0" height="17" width="88" src="http://www.openejb.org/codehaus-smaller.png"></A></td><td align="left" valign="top" bgcolor="#a9a5de" width="7">&nbsp;</td><td align="left" valign="top" width="40">&nbsp;</td><td valign="top" width="430" rowspan="4"><table width="430" cellspacing="0" cellpadding="0" border="0" rows="2" cols="1"><tr><td align="left" valign="top"><br><img width="200" vspace="0" src="./images/logo_ejb2.gif" hspace="0" height="55" border="0"><br><img src="images/dotTrans.gif" hspace="0" height="7" border="0"><br><span class="pageTitle">OpenEJB Configuration</span><br><span class="pageSubTitle">Containers</span><br><img src="images/dotTrans.gif" hspace="0" height="1" border="0"></td></tr></table><p></p><br><a name="declare"><h2>Declaring your Container</h2></a>
<p><span class="bodyBlack">
CMP Entity containers are defined with the &lt;Container&gt; element,
under the &lt;openejb&gt; element. This is actually the declaration used
for all containers defined in the container system. The part that
actually makes it a cmp container is the <span class="bodyTerm">ctype</span>
attribute, specifially, a <span class="bodyTerm">ctype</span> attribute set to
<span class="bodyTerm">CMP_ENTITY</span> as such...
</span></p>
<p><span class="bodyBlack">
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#c0c0c0"><i><span class="code-title">example_01.conf</span></i></td></tr><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>
&lt;?xml version="1.0"?&gt;
&lt;openejb&gt;
&lt;Container id="Default CMP Container" ctype="CMP_ENTITY"/&gt;
&lt;/openejb&gt;
</pre></span></td></tr></table>
</span></p>
<p><span class="bodyBlack">
The really fun part is that the above configuration file is completely
legal! If you started the server and pointed to this file...
</span></p>
<p><span class="bodyBlack">
<span class="command">./openejb.sh start -conf example_01.conf</span>
</span></p>
<p><span class="bodyBlack">
...you would end up with a running server that contained only one
container, called "Default CMP Container". You could then deploy beans
into it and everything. There would be no other containers running in the
server at all. If you telnet'd into the server and typed the 'system'
command, you could see for yourself that there is nothing else in the
system.
</span></p>
<p><span class="bodyBlack">
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>
dblevins@Miles /dev/OpenEJB
$ telnet localhost 4200
Trying 127.0.0.1...
Connected to Miles
Escape character is '^]'.
OpenEJB Remote Server Console
type 'help' for a list of commands
[openejb]$ system
Containers:
Default CMP Container
Deployments:
[openejb]$
</pre></span></td></tr></table>
</span></p>
<p><span class="bodyBlack">
You see that. No beans, no JDBC resources, nothing but one CMP container
called "Default CMP Container".
</span></p>
<a name="name"><h2>Naming your Container</h2></a>
<p><span class="bodyBlack">
You can call the container anything you want, just change the value of the
<span class="bodyTerm">id</span> attribute. Here is a container called "My PostgreSQL
Contianer"
</span></p>
<p><span class="bodyBlack">
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#c0c0c0"><i><span class="code-title">example_02.conf</span></i></td></tr><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>
&lt;?xml version="1.0"?&gt;
&lt;openejb&gt;
&lt;Container id="My PostgreSQL Container" ctype="CMP_ENTITY"/&gt;
&lt;/openejb&gt;
</pre></span></td></tr></table>
</span></p>
<p><span class="bodyBlack">
If you were to deploy a CMP bean into this configuration, you would see
"My PostgreSQL Container" in the list of usable containers, in fact, it
would be the only container in the list.
</span></p>
<p><span class="bodyBlack">
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>
dblevins@Miles /dev/OpenEJB/openejb
$ ./openejb.sh deploy -conf example_02.conf myCMPBean.jar
...(skipping to step two)...
==--- Step 2 ---==
Please specify which container the bean will run in.
Available containers are:
Num Type ID
1 CMP_ENTITY My PostgreSQL Container
Type the number of the container
-options to view the list again
or -help for more information.
Container:
</pre></span></td></tr></table>
</span></p>
<p><span class="bodyBlack">
After deployment, you would end up with a configuration like this one
</span></p>
<p><span class="bodyBlack">
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#c0c0c0"><i><span class="code-title">example_02.conf</span></i></td></tr><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>
&lt;?xml version="1.0"?&gt;
&lt;openejb&gt;
&lt;Container id="My PostgreSQL Container" ctype="CMP_ENTITY"/&gt;
&lt;Deployments jar="myCMPBean.jar" /&gt;
&lt;/openejb&gt;
</pre></span></td></tr></table>
</span></p>
<p><span class="bodyBlack">
Most important, that bean will now be mapped directly to the container
id "My PostgreSQL Container". So if you change the name of the container
and do not redeploy the myCMPBean.jar to point to the new container id,
you will have big problems!
</span></p>
<a name="declare.multiple"><h2>Container types</h2></a>
<p><span class="bodyBlack">
You can declare as many containers as you want. The available container
types are:
<table cellspacing="2" cellpadding="2" border="0"><tr><td height="5" colspan="2"></td></tr><span class="bodyGrey">
<tr><td width="10" valign="top" align="left"><img src="images/grayDot.gif"></td><td valign="top" align="left"><span class="bodyBlack">CMP_ENTITY</span></td></tr>
<tr><td width="10" valign="top" align="left"><img src="images/grayDot.gif"></td><td valign="top" align="left"><span class="bodyBlack">BMP_ENTITY</span></td></tr>
<tr><td width="10" valign="top" align="left"><img src="images/grayDot.gif"></td><td valign="top" align="left"><span class="bodyBlack">STATELESS</span></td></tr>
<tr><td width="10" valign="top" align="left"><img src="images/grayDot.gif"></td><td valign="top" align="left"><span class="bodyBlack">STATEFUL</span></td></tr>
</span></table>
</span></p>
<p><span class="bodyBlack">
The containers can all be of the same type, or a mix of the types.
</span></p>
<p><span class="bodyBlack">
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#c0c0c0"><i><span class="code-title">example_03.conf</span></i></td></tr><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>
&lt;?xml version="1.0"?&gt;
&lt;openejb&gt;
&lt;Container id="My PostgreSQL Container" ctype="CMP_ENTITY"/&gt;
&lt;Container id="My MySQL Container" ctype="CMP_ENTITY"/&gt;
&lt;Container id="My InstantDB Container" ctype="CMP_ENTITY"/&gt;
&lt;Container id="My Stateful Session Container" ctype="STATEFUL"/&gt;
&lt;Container id="My Stateless Session Container" ctype="STATELESS"/&gt;
&lt;/openejb&gt;
</pre></span></td></tr></table>
</span></p>
<a name="configure"><h2>Configuring your Container</h2></a>
<p><span class="bodyBlack">
Of course, if you did have a configuration like the one above, it would
be a bit pointless as all three of your CMP containers would be using the
default CMP container configuration. To acually configure a container
differently, you simply need to specifiy new values for the properties
that the container has. These will override the defaults for that
particular container declaration. So it's possible to declare multiple
containers of the same type, but configure each one differently.
Let's use our CMP_ENTITY containers above as an example.
</span></p>
<p><span class="bodyBlack">
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#c0c0c0"><i><span class="code-title">example_03.conf</span></i></td></tr><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>
&lt;?xml version="1.0"?&gt;
&lt;openejb&gt;
&lt;Container id="My PostgreSQL Container" ctype="CMP_ENTITY"&gt;
Global_TX_Database conf/postgresql.cmp.global-database.xml
Local_TX_Database conf/postgresql.cmp.local-database.xml
&lt;/Container&gt;
&lt;Container id="My MySQL Container" ctype="CMP_ENTITY"&gt;
Global_TX_Database conf/mysql.cmp.global-database.xml
Local_TX_Database conf/mysql.cmp.local-database.xml
&lt;/Container&gt;
&lt;Container id="My InstantDB Container" ctype="CMP_ENTITY"&gt;
Global_TX_Database conf/instantdb.cmp.global-database.xml
Local_TX_Database conf/instantdb.cmp.local-database.xml
&lt;/Container&gt;
&lt;Container id="My Stateful Session Container" ctype="STATEFUL"/&gt;
&lt;Container id="My Stateless Session Container" ctype="STATELESS"/&gt;
&lt;/openejb&gt;
</pre></span></td></tr></table>
</span></p>
<p><span class="bodyBlack">
The format of the configuration parameters is actually just regular old
java.util.Properties file format. It keeps things simple and doesn't
require you to type endless amounts of tags that are just name/value pairs
anyway. The java.util.Properties file format allows for spaces, tabs,
colons, or equals signs to separate the name value pairs, so this would
also be acceptable..</span></p>
<p><span class="bodyBlack">
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#c0c0c0"><i><span class="code-title">example_03.conf</span></i></td></tr><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>
&lt;?xml version="1.0"?&gt;
&lt;openejb&gt;
&lt;Container id="My PostgreSQL Container" ctype="CMP_ENTITY"&gt;
! This is a comment
Global_TX_Database = conf/postgresql.cmp.global-database.xml
Local_TX_Database=conf/postgresql.cmp.local-database.xml
&lt;/Container&gt;
&lt;Container id="My MySQL Container" ctype="CMP_ENTITY"&gt;
# This is also a comment
Global_TX_Database:conf/mysql.cmp.global-database.xml
Local_TX_Database : conf/mysql.cmp.local-database.xml
&lt;/Container&gt;
&lt;Container id="My InstantDB Container" ctype="CMP_ENTITY"&gt;
Global_TX_Database conf/instantdb.cmp.global-database.xml
Local_TX_Database conf/instantdb.cmp.local-database.xml
&lt;/Container&gt;
&lt;/openejb&gt;
</pre></span></td></tr></table>
</span></p>
<a name="properties"><h2>Configuration properties</h2></a>
<p><span class="bodyBlack">
The actual properties that each container type accepts are different for
each type. Here is a reference for each container type.
<a name="CMP_ENTITY.properties"><h4>CMP_ENTITY properties</h4></a>
<a name="CMP_ENTITY.PoolSize"><h5>PoolSize</h5></a>
<p><span class="bodyBlack">
The default size of the method ready bean pools. Every bean class gets its
own pool of this size. The value should be any integer.
</span></p>
<p><span class="bodyBlack">
Default:
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>PoolSize 100</pre></span></td></tr></table>
</span></p>
<a name="CMP_ENTITY.Global_TX_Database"><h5>Global_TX_Database</h5></a>
<p><span class="bodyBlack">
The name of the database.xml file that is used for global or
container managed transactions. This will be used when the
TransactionManager is managing the transaction, such as when
the tx attribute is Supports(and there is a client tx), RequiresNew,
Required or Manditory.
</span></p>
<p><span class="bodyBlack">
Specifies the configuration for obtaining database connections
and the mapping.xml schema which describes how beans map to
the database.
</span></p>
<p><span class="bodyBlack">
Default:
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>Global_TX_Database conf/default.cmp_global_tx_database.xml</pre></span></td></tr></table>
</span></p>
<a name="CMP_ENTITY.Local_TX_Database"><h5>Local_TX_Database</h5></a>
<p><span class="bodyBlack">
The name of the database.xml file that is used for local or
unspecified transaction contexts. This will be used when
the TransactionManager is not managing the transaction, such
as when the tx attribute is Supports (and there is no client tx),
NotSupported, or Never.
</span></p>
<p><span class="bodyBlack">
Specifies the configuration for obtaining database connections
and the mapping.xml schema which describes how beans map to
the database.
</span></p>
<p><span class="bodyBlack">
Default:
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>Local_TX_Database conf/default.cmp_local_tx_database.xml</pre></span></td></tr></table>
</span></p>
<a name="BMP_ENTITY.properties"><h4>BMP_ENTITY properties</h4></a>
<p><span class="bodyBlack">
The BMP Container has no customizable properties to override.
</span></p>
<a name="STATEFUL.properties"><h4>STATEFUL properties</h4></a>
<a name="STATEFUL.Passivator"><h5>Passivator</h5></a>
<p><span class="bodyBlack">
The passivator is responsible for writing beans to disk
at passivation time. Different passivators can be used
by setting this property to the fully qualified class name
of the PassivationStrategy implementation. The passivator
is not responsible for invoking any callbacks or other
processing, its only responsibly is to write the bean state
to disk.
<p><span class="bodyBlack">
</span></p>
<table cellspacing="2" cellpadding="2" border="0"><tr><td height="5" colspan="2"></td></tr><span class="bodyGrey">Known implementations:
<tr><td width="10" valign="top" align="left"><img src="images/grayDot.gif"></td><td valign="top" align="left"><span class="bodyBlack">org.openejb.core.stateful.RAFPassivater</span></td></tr>
<tr><td width="10" valign="top" align="left"><img src="images/grayDot.gif"></td><td valign="top" align="left"><span class="bodyBlack">org.openejb.core.stateful.SimplePassivater</span></td></tr>
</span></table>
</span></p>
<p><span class="bodyBlack">
Default:
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>Passivator org.openejb.core.stateful.SimplePassivater</pre></span></td></tr></table>
</span></p>
<a name="STATEFUL.TimeOut"><h5>TimeOut</h5></a>
<p><span class="bodyBlack">
Specifies the time to wait between invocations. This
value is measured in minutes. A value of 5 would
result in a time-out of 5 minutes between invocations.
</span></p>
<p><span class="bodyBlack">
Default:
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>TimeOut 20</pre></span></td></tr></table>
</span></p>
<a name="STATEFUL.PoolSize"><h5>PoolSize</h5></a>
<p><span class="bodyBlack">
Specifies the size of the bean pools for this
stateful SessionBean container.
</span></p>
<p><span class="bodyBlack">
Default:
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>PoolSize 100</pre></span></td></tr></table>
</span></p>
<a name="STATEFUL.BulkPassivate"><h5>BulkPassivate</h5></a>
<p><span class="bodyBlack">
Property name that specifies the number of instances
to passivate at one time when doing bulk passivation.
Must be less than the PoolSize.
</span></p>
<p><span class="bodyBlack">
Default:
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>BulkPassivate 50</pre></span></td></tr></table>
</span></p>
<a name="STATELESS.properties"><h4>STATELESS properties</h4></a>
<a name="STATEFUL.StrictPooling"><h5>StrictPooling</h5></a>
<p><span class="bodyBlack">
Specifies the whether or not to this stateless
SessionBean container should use a strict pooling algorithm.
true or false
</span></p>
<p><span class="bodyBlack">
Default:
<table width="440" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#e0e0e0"><span class="code-block"><pre>StrictPooling true</pre></span></td></tr></table>
</span></p>
</span></p>
</td><td align="left" valign="top" height="5" width="120">
&nbsp;
</td></tr><tr height="5"><td align="left" valign="top" bgcolor="#7270c2" height="5" width="20">&nbsp;</td><td valign="top" bgcolor="#7270c2" height="5" width="95">&nbsp;</td><td align="left" valign="top" bgcolor="#a9a5de" height="5" width="7">&nbsp;</td><td align="left" valign="top" height="5" width="40">&nbsp;</td><td align="left" valign="top" height="5" width="120">&nbsp;</td></tr><tr><td align="left" valign="top" bgcolor="#7270c2" height="5" width="20">&nbsp;</td><td align="left" valign="top" bgcolor="#7270c2" width="95">&nbsp;</td><td align="left" valign="top" bgcolor="#a9a5de" width="7"><img border="0" height="25" width="1" src="images/dotTrans.gif"></td><td align="left" valign="top" width="40"><img border="0" height="25" width="1" src="images/dotTrans.gif"></td><td align="left" valign="top" width="120">&nbsp;</td></tr><tr height="5"><td align="left" valign="bottom" bgcolor="#7270c2" height="100%" rowspan="2" width="20"><img border="0" height="125" width="20" src="images/stripes1.gif"></td><td align="left" valign="bottom" bgcolor="#7270c2" height="100%" rowspan="2" width="95"><img border="0" height="125" width="105" src="images/stripe105.gif"></td><td align="left" valign="top" bgcolor="#a9a5de" height="100%" rowspan="2" width="7">&nbsp;</td><td align="left" valign="top" height="100%" width="40">&nbsp;</td><td align="left" valign="top" height="100%" width="120">&nbsp;</td></tr><tr height="5"><td align="left" valign="top" height="25" width="40">&nbsp;</td><td align="left" valign="bottom" height="25" width="430"><br><br><img height="3" width="430" border="0" src="images/line_light.gif"><br><p></p><span class="bodyGrey"><small><notice>
OpenEJB is a trademark of the OpenEJB Group.
Java, EJB, JDBC, JNDI, JTA, Sun, Sun Microsystems are trademarks or registered
trademarks of Sun Microsystems, Inc. in the United States and in other
countries. XML, XML Schema, XSLT and related standards are trademarks or registered
trademarks of MIT, INRIA, Keio or others, and a product of the World Wide Web
Consortium. All other product names mentioned herein are trademarks of their respective
owners.
</notice><br>&nbsp;<br></small></span><p></p>
&nbsp;
</td><td align="left" valign="top" height="25" width="120">&nbsp;</td></tr></table></body></html>