javaee / ejb-spec

See javax.ejb project for API. Contains legacy issues only.
https://github.com/javaee/javax.ejb
6 stars 1 forks source link

support singleton message driven beans #80

Open glassfishrobot opened 11 years ago

glassfishrobot commented 11 years ago

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.

Affected Versions

[3.2]

glassfishrobot commented 11 years ago

Reported by braghest

glassfishrobot commented 11 years ago

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

Jean-Louis

glassfishrobot commented 11 years ago

mvatkina said: 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"

glassfishrobot commented 11 years ago

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

glassfishrobot commented 11 years ago

mvatkina said: Let's look at it again next time

glassfishrobot commented 11 years ago

Was assigned to mvatkina

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA EJB_SPEC-80