package cactusServer.utils; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; import org.glassfish.jersey.server.ResourceConfig; import cactusServer.models.Accounts; import cactusServer.models.CharacterModelManager; import cactusServer.models.Instances; import cactusServer.models.StageModelManager; @SuppressWarnings("unused") @ApplicationPath("/rest") public class App extends ResourceConfig { public App() { StageModelManager.getInstance(); CharacterModelManager.getInstance(); Instances.getInstance(); Accounts.getInstance().createAcount("aaa", "bbb", "c"); System.out.println("pass"); } }