JBoss Community

Re: Does AS7 have the equivalent of AS6 CachedConnectionValve built in

created by Jason Greene in JBoss AS7 Development - View the full discussion

Jesper Pedersen wrote:

 

The only optimization in this area is not to have the valve enabled for deployment that don't need it.

 

Glancing at the code there appears to be room for optimization. You only need to *mark* the thread/request if a connection is actually opened by a servlet/jsp. Also I am not sure why it is trying suspend transactions. Looks like that is a debugging feature and not any kind of real necessity.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community