Lookup the RMIAdaptor from the JNDI and execute the necessary operations.
Thank you for your answer.
However I think I'll change my testing strategy and use commit option B.
What do you think about it?
- Option 1 : "real world" test, with commit option A + cache invalidation.
Very close to the production environnement, can be used for load testing (with The Grinder)
- Option 2 : commit option B.
Easy to set up, clean testing environnement for each new test.