/** Must called in SERVER side. */ public void installApp(int appid) { if (isRemote()) { throw new RuntimeException("Not allowed in client side!"); } doInstall(appid); installSync(appid); }