System.out.println("ShoppingCartBean.customer should stay managed because we're in an extended PC: Customer.getName() == " + c.getName());
test.update3();
c = remote.find(id);
System.out.println("Extended persistence contexts are propagated to nested EJB calls: Customer.getName() == " + c.getName());
test.checkout();
}
public static void testWithFlushMode() throws Exception
{
ShoppingCart cart = (ShoppingCart) getInitialContext().lookup("ShoppingCartBean/remote");