@Deployment(testable = false)
public static WebArchive createDeployment() {
WebArchive war = ShrinkWrap.create(WebArchive.class).
addClass(MyApplication.class).
addClass(Database.class).
addClass(MyResource.class);
System.out.println(war.toString(true));
return war;
}