[ 
https://issues.apache.org/jira/browse/GERONIMO-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584109#action_12584109
 ] 

Manu T George commented on GERONIMO-3948:
-----------------------------------------

OpenEJB supports this via making containers lightweight and having multiple 
containers , one for each pool size. This support should be added in geronimo. 

Approaches
1) One possiblity is to allow users to specify which container their bean 
should be deployed to via a container Name element in the openejb plan. 

2) Another is to let users specify pool size per EJB. Thus all ejbs having the 
same pool size and belonging to the same type (eg: session) are put in one 
container. And containers will be created dynamically for different pool sizes.

MDBs will still follow the approach of 1 container per RA as pooling is done on 
the RA side. Cmps have no pool size attribute and so need not support this.

> Allow multiple containers to be created for different types of ejbs
> -------------------------------------------------------------------
>
>                 Key: GERONIMO-3948
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3948
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0, 2.0.1, 2.0.2, 2.1
>         Environment: All
>            Reporter: Manu T George
>             Fix For: 2.2
>
>
> In a production level scenario users will want to have different pool sizes 
> for different beans. Currently only 1 pool size can be set in geronimo for 
> all beans belonging to a particular type eg: stateless

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to