ejb-spec
  1. ejb-spec
  2. EJB_SPEC-80

support singleton message driven beans

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2
    • Fix Version/s: Future version
    • Labels:
      None

      Description

      Message driven beans are similar to stateless session beans in that they have no conversational state. Chapter 2.4.2 even explicitly mentions them as being stateless. It would therefore make sense to allow singleton message driven beans alongside singleton stateless session beans. This would allow the container to get rid of the bean pooling and the concurrency level would no longer be limited by the pool size (if concurrency control is bean).

      A nice consequence is that in such cases javax.resource.spi.endpoint.MessageEndpointFactory#createEndpoint would no longer throw a UnavailableException because the pool is exhausted.

      I can't subscribe to sers@ejb-spec.java.net for whatever reason so I created this issue instead.

        Activity

        Hide
        jlmonteiro added a comment -

        There is already a similar discussion in the list.
        Will reactivate it as we did not get the discussion achieve.

        Jean-Louis

        Show
        jlmonteiro added a comment - There is already a similar discussion in the list. Will reactivate it as we did not get the discussion achieve. Jean-Louis
        Hide
        marina vatkina added a comment -

        To subscribe to the users alias, log in into java.net, go to the http://java.net/projects/ejb-spec/lists page a click "subscribe"

        Show
        marina vatkina added a comment - To subscribe to the users alias, log in into java.net, go to the http://java.net/projects/ejb-spec/lists page a click "subscribe"
        Hide
        braghest added a comment -

        I had to join first, otherwise I could only subscribe to commits@ejb-spec.java.net.

        Show
        braghest added a comment - I had to join first, otherwise I could only subscribe to commits@ejb-spec.java.net.
        Hide
        marina vatkina added a comment -

        Let's look at it again next time

        Show
        marina vatkina added a comment - Let's look at it again next time

          People

          • Assignee:
            marina vatkina
            Reporter:
            braghest
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: