All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.ref-ejbgeneralproperties.html Maven / Gradle / Ivy



Properties Specific to the EJB Container

The following properties are available for configuring the EJB container. For more information about the thread-related properties, see http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html.

thread-core-pool-size

Specifies the number of core threads in the EJB container's common thread pool. The default value is 16.

thread-max-pool-size

Specifies the maximum number of threads in the EJB container's common thread pool. The default value is 32.

thread-queue-capacity

Specifies the size of the thread pool queue, which stores new requests if more than thread-core-pool-size threads are running. The default value is the Integer.MAX_VALUE.

thread-keep-alive-seconds

Specifies the time, in seconds, past which threads in excess of thread-core-pool-size are terminated. The default value is 60.

allow-core-thread-timeout

If set to true, all threads, even core threads, are subject to termination after thread-keep-alive-seconds. The default value is false.

prestart-all-core-threads

If set to true, all core threads in the EJB container's common thread pool are started, causing them to idly wait for work. If set to false, threads are not started until new requests arrive. The default value is false.

disable-nonportable-jndi-names

If set to true, GlassFish Server specific JNDI names for an EJB module are disabled. The default is false.

Because the EJB 3.1 specification defines portable EJB JNDI names, there is less need for GlassFish Server specific JNDI names. By default, GlassFish Server specific default JNDI names are applied automatically for backward compatibility.

Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2025 Weber Informatics LLC | Privacy Policy