users@ejb-spec.java.net

[ejb-spec users] Happy New Year & Requirement

From: Adam Bien <abien_at_adam-bien.com>
Date: Mon, 18 Jan 2016 06:52:38 +0100

Hello,

I wish you all the best for 2016 and I’m really looking forward to Java EE 8.


EJB pooling is a great vehicle for implementing throttling and bulk heads. However: the important max-pool-size configuration is not standardized and so not configurable via standard annotations.


I would like to propose an annotations:


javax.ejb.MaxPoolSize:


public @interface MaxPoolSize{
        int value() default -1;
}

public @interface MinPoolSize{
        int value() default 0;
}


the semantics should be clear.

Any thoughts?

It is really important in the majority of customer projects right now,

any thoughts?

—adam