You need to be careful with the http session. It can be used on
multiple threads unlike an ejb stateful session bean.
Regards,
Adrian
On Mon, 2004-01-19 at 16:50, Bill Burke wrote:
I'd like for somebody to look into being able to define transaction
demarcation like we can for EJB at the
Isn't that already part of the AOP framework or are you talking about a
servlet filter?
narcf
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Bill Burke
Sent: Monday, January 19, 2004 11:51 AM
To: Jboss-Dev
Subject: [JBoss-dev] URL based
I say make it a filter. If the invocation mechanism supports
interception, you might as well use it. I am also not sure if the web
container will have a good joinpoint for this.
I hope somebody volunteers. This would be easy to implement and give
somebody a good introduction to coding
Something like this ?
/myapp/ATMOps/* --- REQUIRES_NEW
/myapp/AccountOps/* --- REQUIRES
/myapp/SimpleOps/* NOT_SUPPORTED
/myapp/FlushOps/* --- NEVER // probably not
successful call to:
/myapp/ATMOps/completeTransfer COMMIT
/myapp/AccountOps/completeUpdate COMMIT
redirect to:
Nicholas wrote:
Something like this ?
/myapp/ATMOps/* --- REQUIRES_NEW
/myapp/AccountOps/* --- REQUIRES
/myapp/SimpleOps/* NOT_SUPPORTED
/myapp/FlushOps/* --- NEVER // probably not
successful call to:
/myapp/ATMOps/completeTransfer COMMIT
/myapp/AccountOps/completeUpdate
you can look at :
http://cvs.sourceforge.net/viewcvs.py/*checkout*/jboss/nukes/nukes/src/
main/org/jboss/nukes/servlet/TransactionFilter.java?content-
type=text%2Fplainrev=1.6
only RequiresNew behaviour is used by Nukes
julien
On Jan 19, 2004, at 7:33 PM, Bill Burke wrote:
Nicholas wrote: