代码之家  ›  专栏  ›  技术社区  ›  Dave

如何在JBOss上预加载EJB实例

  •  1
  • Dave  · 技术社区  · 16 年前

    -戴夫

    1 回复  |  直到 16 年前
        1
  •  0
  •   stacker    16 年前

    根据这一点,这可能不是必要的 article

    $JBOSS_HOME/server/default/conf/standardjboss.xml 你发现了吗

    <container-pool-conf>
            <MaximumSize>100</MaximumSize>
    </container-pool-conf>
    

    Clustered Stateless SessionBean

    Standard Stateless SessionBean
    

    <!--
      The container-pool-conf element holds configuration data for the
      instance pool.
      jboss does not read directly the subtree for this element: instead,
      it is passed to the instance pool instance (if it implements
      org.jboss.metadata.XmlLoadable) for it to load its parameters.
    
      The default instance pools, EntityInstancePool and
      StatelessSessionInstancePool, both accept the following configuration.
    
      Used in: container-configuration
    -->
    <!ELEMENT container-pool-conf ((MinimumSize?, MaximumSize?,
       strictMaximumSize?, strictTimeout?) | Synchronized)>