Hi All J2EE guru

At my J2EE client-side app, l want to create a transaction
spanning multiple methods. Let's say, at m1(), a transaction is started as following

m1(){
InitialContext jndiContext = new InitialContext();
UserTransaction tx = (UserTransaction)jndiContext.lookup("java:comp/UserTransaction");
tx.start();
..update/insert
..
}

Then, at m2, the transaction continue the work and then commit/rollback as following

m2(){
InitialContext jndiContext = new InitialContext();
UserTransaction tx = (UserTransaction)jndiContext.lookup("java:comp/UserTransaction");
if (tx.getStatus() == Status.STATUS_ACTIVE)
{
...update/insert
...
tx.commit()/rollback();
}

}

My question, will the instance of UserTransaction created at m2() be treated as nested transaction or it is automatically enlisted in the tx created in m1()

thanks & regards
Danny