请问大家有没有知道在aglet2.0.2中写aglet服务器的方法
我这里有aglet1.0.3的serverapp的写法,但是在aglet2.0.2中有的api已经变化了。
Daemon daemon = Daemon.init(null);
daemon.setAccessLogStream(System.out);
daemon.setMessageLogStream(System.out);
daemon.setErrorLogStream(System.err);
AgletRuntime agletruntime = AgletRuntime.init(null);
AgletContext agletcontext = agletruntime.createAgletContext("test");
daemon.start("aglets");
agletcontext.start();谢谢赐教