{
deploy("cts-v1cmp.ear");
InitialContext ctx = new InitialContext();
CtsCmp2SessionHome home = (CtsCmp2SessionHome) ctx.lookup("v1/CtsCmp2SessionBean");
CtsCmp2Session session = home.create();
session.testV1();
log.info("Invoked CtsCmp2Session.testV1");
}
finally
{
undeploy("cts-v1cmp.ear");