users@ejb-spec.java.net

[ejb-spec users] Re: Happy New Year & Requirement

From: Lenny Primak <lprimak_at_hope.nyc.ny.us>
Date: Mon, 18 Jan 2016 00:24:34 -0600

I totally agree. Also it would be great to implement pooling, throttling for CDI beans as well to make them on par with EJBs

> On Jan 17, 2016, at 11:52 PM, Adam Bien <abien_at_adam-bien.com> wrote:
>
> 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
>
>
>