WebArchive war = ShrinkWrap.create(WebArchive.class, "distributable.war");
war.addClasses(Game.class, Generator.class, MaxNumber.class, Random.class);
war.setWebXML(ClusteredWebAbstractCase.class.getPackage(), "web.xml");
war.addAsWebResource(JSFFailoverTestCase.class.getPackage(), "home.xhtml", "home.xhtml");
war.addAsWebInfResource(JSFFailoverTestCase.class.getPackage(), "faces-config.xml", "faces-config.xml");
war.addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");
return war;
}
/**
* Parses the response page and headers for a cookie, JSF view state and the numberguess game status.