[jboss-dev-forums] [JBoss AS 7 Development] - Re: Readonly transactions in session beans

Stephen Coy do-not-reply at jboss.com
Mon Jan 7 05:19:23 EST 2013


Stephen Coy [https://community.jboss.org/people/sfcoy] created the discussion

"Re: Readonly transactions in session beans"

To view the discussion, visit: https://community.jboss.org/message/788706#788706

--------------------------------------------------------------
If you're concerned about performance then you're better off optimising your database queries and structure.   In addition, it's worthwhile minimising the number of transactions that are started/committed per user request/response. One is ideal, or two (for processing request, and then generating the response) although this is not always possible.  On some consulting jobs I've seen applications have mighty performance improvements simply by making use of correct Tx management. I've seen some applications create N+1 transactions per request/response and their performance was ugly.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/788706#788706]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130107/5aaaa903/attachment.html 


More information about the jboss-dev-forums mailing list