javaee / ejb-spec

See javax.ejb project for API. Contains legacy issues only.
https://github.com/javaee/javax.ejb
6 stars 1 forks source link

Annotation-based Bean-Pool Configuration #128

Open glassfishrobot opened 8 years ago

glassfishrobot commented 8 years ago

Introduce a annotation so standardize the bean pool size.

Minimal requirement: configuration of the max-pool-size:

javax.ejb.MaxPoolSize:

public @interface MaxPoolSize

{ int value() default -1; }

public @interface MinPoolSize

{ int value() default 0; }

Motivation: max-pool-size is the easiest possible way to introduce component-specific "throttling".

See also discussion: https://java.net/projects/ejb-spec/lists/users/archive/2016-01/message/0

Affected Versions

[3.2]

glassfishrobot commented 8 years ago

Reported by abien

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA EJB_SPEC-128