Cometãå©ç¨ãããµã¼ãã¬ããã®ä¾ ããã§ã¯ãæ©éCometãå©ç¨ããã¢ããªã±ã¼ã·ã§ã³ãä½ã£ã¦ã¿ãããTomcatã§Comtã使ç¨ããã«ã¯ãHttpServletã«ããã¦org.apache.catalina.CometProcessorã¨ããã¤ã³ã¿ãã§ã¼ã¹ãimplementsããããã®ã¤ã³ã¿ãã§ã¼ã¹ã«ã¯eventã¨ããã¡ã½ããã宣è¨ããã¦ãããCometProcessorãimplementsãããµã¼ãã¬ããã«ã¢ã¯ã»ã¹ãããã¨ãorg.apache.catalina.CometEventã¨ããã¤ãã³ããçºçããdoGetãdoPostã®ä»£ããã«eventã¡ã½ããã«CometEventã渡ããã¦å¼ã³åºãããã ãããã£ã¦åºæ¬çãªå½¢ã¯ãªã¹ã23ã®ããã«ãªããeventã¡ã½ããå ã«ãªã¯ã¨ã¹ããå¦çããã³ã¼ããè¨è¿°ãã¦ããã°ããã ãªã¹ã23 Cometã使ããµã¼ãã¬ããããã°ã©ã ã®åºæ¬å½¢
{{#tags}}- {{label}}
{{/tags}}