Hi Rob,

I don't think that the HiveMind approach is more complex. You basically call
markThreadEntry() before the processing of the business logic starts and
need to call markThreadExit() afterwards. You can easily wrap this in an
IoFilter (the guy that invented HiveMind and Tapestry actually used a
ServletFilter for this purpose).

Is it possible with Spring to have methods ServiceA.DoThis() and
ServiceB.DoThat() been executed in one transaction by using the proxy
objects ? As far as I understood your statement you would need a
Facade-Object with a method DoThisAndThat() that calls both methods. I think
this adds complexity, doesn't it ?

I hope this doesn't get a bit off-topic :-)

Mike

-- 
View this message in context: 
http://www.nabble.com/MINA-and-ThreadLocals-used-in-other-frameworks-tf3576237.html#a10003793
Sent from the mina dev mailing list archive at Nabble.com.

Reply via email to