Oups, I am sorry for the confusion, I was looking at two many classes in the same times.
indeed, JtaTransactionManager has a readObject method:
Code:
private void readObject(ObjectInputStream ois) throws IOException {
// rely on default serialization, just initialize state after deserialization
try {
ois.defaultReadObject();
}
catch (ClassNotFoundException ex) {
throw new AspectException("Failed to deserialize JtaTransactionManager: " +
"Check that JTA and Spring transaction libraries are available on the client side", ex);
}
// do client-side JNDI lookup
this.jndiTemplate = new JndiTemplate();
// run lookup code for UserTransaction
this.userTransaction = lookupUserTransaction(this.userTransactionName);
}
that depends on aopapplicane.jar