@Deployment(testable = false)
public static WebArchive createDeployment() {
WebArchive war = ShrinkWrap.create(WebArchive.class)
.addClasses(
MyApplication.class,
MyResource.class,
MyObject.class,
MyReader.class,
MyWriter.class,
AnotherObject.class);
System.out.println(war.toString(true));
return war;
}