throws DeploymentException, NamingException, JMSException, InterruptedException
{
DeploymentGroup group = Bootstrap.getInstance().createDeploymentGroup();
//group.addResource("mdbtest-service.xml");
group.addClasspath("mdb-test.jar");
group.process();
ExampleMDB.executed = false;
InitialContext ctx = new InitialContext();
ConnectionFactory factory = (ConnectionFactory) ctx.lookup("ConnectionFactory");