[jboss-dev-forums] [Design of EJB 3.0] - Re: ejb3 user transaction and serlvets

adrian@jboss.org do-not-reply at jboss.com
Mon Dec 1 09:54:11 EST 2008


"wolfc" wrote : 
  | That's ludicrous, the UserTransactionRegistry should always be regardless of listeners. The UserTransactionRegistry itself has the check for an empty listener list. So configuration error.

The empty check is there because otherwise you create an empty iterator for no purpose.

Its always been the case that you might not configure any listeners. Look at the old code
which is still there. All I've done is moved the registration to one place instead of the listener
(the CCM) having to know about all implementations.

In particular I want to make jca and jta optional in the web-profile
so you can't assume these things will be configured.
Or they may get configured "on-demand" later.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193460#4193460

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193460



More information about the jboss-dev-forums mailing list