{
AssembledDirectory jar = AssembledContextFactory.getInstance().create("tutorial.jar");
String[] includes = {"**/beans/*.class"};
jar.addResources(Customer.class, includes, null);
// Get tutorial-persistence.xml from classloader and alias it within the archive.
jar.mkdir("META-INF").addResource("tutorial-persistence.xml", "persistence.xml");
Bootstrap.getInstance().bootstrap();
Bootstrap.getInstance().deploy(jar);
run();