ã¤ã³ãããã¯ã·ã§ã³ ããã¾ã§ã¯ä»ã¾ã§ã®Javaã®å¸¸èããã¯ããããªããå®è¡æä¾å¤ã使ãã¾ããããã¨ããèãæ¹ããç´¹ä»ãã¾ãï¼ã¡ãªã¿ã«ããã¯ãå®è·µJ2EEãã¶ã¤ã³ãã¨ããæ¸ç±ã§ç´¹ä»ãããã¤ãã£ãªã ã§ããã¶ã¤ã³ãã¿ã¼ã³ã§ã¯ããã¾ããï¼ã çè ããå®è¡æä¾å¤ã使ãããã¨åãã¦èããã¨ãã¯ããã¸ãé©ãã¾ãããä»ã¾ã§ã®å¸¸èãå´©ãå»ã£ãæ°åã§ããã ããããä»ã§ã¯ãã®æ¹æ³ã§ãåé¡ãªãã以åãããå¹çè¯ãã¢ããªã±ã¼ã·ã§ã³ãæ¸ãã¦ãã¾ãã ãã¿ã¼ã³è§£èª¬ ä¾å¤ã«ã¯å¤§ããåãã¦æ¤æ»ä¾å¤ã¨å®è¡æä¾å¤ãããã¾ãã æ¤æ»ä¾å¤ã¯java.lang.Exceptionãç¶æ¿ããä¾å¤ã§ãã æ¤æ»ä¾å¤ãçºçããå ´æã§ã¯ãå¿ ãcatchãããã¯ã§ä¾å¤ããã£ããããããthrowså¥ã§ä¾å¤ãã¡ã½ããã®å¼ã³åºãå ã«æãã宣è¨ãããå¿ è¦ãããã¾ãã å®è¡æä¾å¤ã¯java.lang.RuntimeExceptionãç¶æ¿ããä¾å¤ã§ã
(æ ª)æ°¸åã·ã¹ãã ããã¸ã¡ã³ã å¹³éå¥å ä½ææ¥ï¼åç 1999,6/26 第2ç 1999,8/31 Last modified: Thu Nov 18 15:58:06 1999 æè¿æ³¨ç®ããã¦ããã½ããã¦ã§ã¢ãã¿ã¼ã³ã®ä¸ã§ãï¼ãã¶ã¤ã³ãã¿ã¼ã³ã¯ãGoFã®æ¸ç±(*1)ã«ãã£ã¦åºãä¸è¬ã«èªç¥ãããããã«ãªãã¾ããï¼GoF ã®ãã¶ã¤ã³ãã¿ã¼ã³ã¯ï¼åãã¿ã¼ã³ã®æ§é ããã³å調é¢ä¿ã«ã¤ãã¦è©³ããæ¸ããã¦ãã¾ããï¼ãã«ãã¹ã¬ããç°å¢ã®ä¸ã§ã®å調é¢ä¿ã«ã¤ãã¦ã¯è¨è¿°ãããã¾ããï¼ ãã®è¨äºã§ã¯ï¼GoF ã®ãã¿ã¼ã³ããç¹ã« Observer ãã¿ã¼ã³ (Publisher-Subscriber ãã¿ã¼ã³)ãä¾ã«ãã¦ï¼ãã®ãã¿ã¼ã³ã ãã«ãã¹ã¬ããç°å¢ã§ä½¿ç¨ãããå ´åã«èµ·ããï¼ ããã°ã©ãã³ã°ä¸ã®æ³¨æç¹ãæããã«ãã¾ãï¼ (*1) GoF 㯠Gang of Four(4人çµ) ã®ç¥ã§ï¼1995 å¹´ã® E
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}