[jboss-jira] [JBoss JIRA] (WFLY-1383) Disable pooling of stateless EJBs by default

Cheng Fang (JIRA) jira-events at lists.jboss.org
Tue Nov 26 15:08:05 EST 2013


    [ https://issues.jboss.org/browse/WFLY-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926908#comment-12926908 ] 

Cheng Fang commented on WFLY-1383:
----------------------------------

Will manually take the changes to the 3 files from Jaikiran's PR:

{noformat}
build/src/main/resources/configuration/subsystems/ejb3.xml
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/management/deployments/ManagedStatelessBean.java
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/management/deployments/NoTimerStatelessBean.java
{noformat}

Changes to testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/pool/lifecycle/PooledEJBLifecycleTestCase.java is obsoleted by fixes to WFLY-1506 (Fix PooledEJBLifecycleTestCase.tesMDB and the whole testcase in general).
                
> Disable pooling of stateless EJBs by default
> --------------------------------------------
>
>                 Key: WFLY-1383
>                 URL: https://issues.jboss.org/browse/WFLY-1383
>             Project: WildFly
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: EJB
>    Affects Versions: 8.0.0.Alpha1
>            Reporter: jaikiran pai
>            Assignee: Cheng Fang
>
> A certain use case has shown that it's perhaps better to disable pooling of EJB stateless bean, by default. In AS7 we have always allowed disabling the pooling but we hadn't made it the default since we thought it might affect applications which have SLSBs with heavy @PostConstruct.
> A recent discussion has suggested that we disable the pooling by default and individual applications can enable it and set the relevant pool size themselves. The reasoning has been that, the default pool size that we ship with, anyway will have to be tweaked by the users since we can't really guess what an ideal pool size is. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list