JBossã§ã¯ãMBeanã¨ãããã®ã使ããã¨ãåºæ¥ã¾ãã MBeanã使ãã¨ãHTTPãªã©ãéãã¦Javaã®ãã¸ãã¯ãå¼ã³åºãäºãåºæ¥ã¾ãã ä»ã«ããcron(Windowsã®ã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©)ã®ããã« ä¸å®æéæ¯ã«ç¹å®ã®å¦çãå®è¡ãããã¨ãå¯è½ã«ãªãã¾ãã ãªããJDK5ã§ã¯MBeanãªã©ãå«ããJMX(Java Management Extensions)ãæ¨æºæ¡ç¨ã«ãªã£ã¦ãã¾ãã sarãã¡ã¤ã«ã®ä½æ MBeanã使ãã«ã¯ãsarãã¡ã¤ã«ãä½æããå¿ è¦ãããã¾ãã 詳ããã¯ãã¢ããªã±ã¼ã·ã§ã³ãã¡ã¤ã«æ§æãã®ãã¼ã¸ãåèã«ãã¦ä¸ããã ããã§ã¯ã以ä¸ã®ãã㪠jboss-service.xml ãä½æãããã¨ã«ãã¾ãã MBeanãä¸ã¤ã ãæã¤ã·ã³ãã«ãªæ§æã§ãã <server> <mbean code="org.limy.mbean.Hello" name="jboss.tes
å¤é¨ã¨ã®éä¿¡ãè¡ãã³ã³ãã¼ãã³ã Connectorã¯JMXã®ç¬èªãããã³ã«ï¼Protocol Adapterã¯HTTPãªã©ã®æ¢åãããã³ã«ã使ç¨ãã å æã¯JVMã«ç¹åããMBeanã§ããMXBeanã¨ç°¡æ管çãã¼ã«ã®jconsoleãä¾ã«ãã¦ï¼JMXã説æãã¾ããã ä»æã¯ï¼ç®¡çã®ããã®MBeanãä½æãã¦ï¼ã½ããã¦ã¨ã¢ãå®éã«ç®¡çãã¦ã¿ã¾ãã ãã£ãã管çãè¡ãããã®ã§ããï¼ãã®åã«ç®¡ç対象ã¨ãªãã·ã¹ãã ããªããã°ã話ã«ãªãã¾ããããä»åã¯JDK 5.0ã«å«ã¾ãã¦ãããµã³ãã«ã®ãã¡ï¼New I/Oã®ãµã³ãã«ã§ããç°¡æHTTPãµã¼ãã¼ãåãããã¾ãããµã³ãã«ã®å®è¡ã«ã¯J2SE 5.0ã使ç¨ãï¼Windows XP SP2ã§åä½ã確èªãã¾ããã ã¾ãã¯ï¼ãã®ãµã³ãã«ãåããã¦ã¿ã¾ãããããµã³ãã«ã¯[JDKãã¤ã³ã¹ãã¼ã«ãããã£ã¬ã¯ããª]\sample\nio\serverãã£ã¬ã¯ããªã«ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}