In my newly completed project, I was working on distributed transactions.
We implemented this using the JBoss Arjuna Transaction Manager and Spring declarative transaction boundaries.
Our query sequence looked like this:
browser -> secured servlet -> 'wafer-thin' SLSB -> spring TX-aware proxy -> request-handler POJO
This meant that we had a WAR to serve our secure servlet and EAR to serve our SLSB.
Our SLSB had a static initialization block to load our Spring application context.
I do not like the combination of technologies, but I like the separation of presentation and business levels, which can be in different physical places.
I would be interested to know what others suggest split levels when using Spring?
source share