Show TOC

 Specifying the Pool PropertiesLocate this document in the navigation structure

Procedure
  1. Open the ejb-j2ee-engine.xml.
  2. From the right-hand pane, choose the Enterprise Beans tab.
  3. Open the corresponding tree structure according to the type of your enterprise bean (session, entity, or message-driven).
    Note

    You must not set pool properties for stateful session beans, as their instances are not kept in pools.

  4. From your bean tree sub-structure, select properties.
  5. In the right-hand pane, specify the values of the following properties:
    • Initial pool size
    • Max pool size
    • Pool resize step

    For more information about these properties, see Pool Properties .

Result

If you specify all the pool properties, the SAP NetWeaver Developer Studio will generate the following source code elements:

    <session-props>
        <property>
            <property-name>InitialSize</property-name>
            <property-value>0</property-value>
        </property>
        <property>
            <property-name>MaxSize</property-name>
            <property-value>1000</property-value>
        </property>
        <property>
            <property-name>ResizeStep</property-name>
            <property-value>1</property-value>
        </property>
    </session-props>