[jboss-jira] [JBoss JIRA] (WFLY-3925) JAX-RS bean implemented as Stateless is destroyed after response

Stuart Douglas (JIRA) issues at jboss.org
Thu Oct 2 16:50:02 EDT 2014


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

Stuart Douglas commented on WFLY-3925:
--------------------------------------

Unfortunately it is impossible to provide a 'reasonable' default, as what is reasonable for one app will be a massive performance bottleneck on others. 

Also modern JVM GC is much better than in the past, depending on the EJB (and if it does any expensive initialisation) allocation+GC can actually be cheaper than pooling (as pooling uses locks / atomics, which are relatively expensive).

> JAX-RS bean implemented as Stateless is destroyed after response
> ----------------------------------------------------------------
>
>                 Key: WFLY-3925
>                 URL: https://issues.jboss.org/browse/WFLY-3925
>             Project: WildFly
>          Issue Type: Bug
>    Affects Versions: 8.1.0.Final
>            Reporter: Sergio Samayoa
>            Assignee: Jason Greene
>
> A JAX-RS bean implemented as stateless EJB is destroyed after response is sent.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list