ã³ãã¯ã·ã§ã³ãã¼ãªã³ã°ã¨ã¯ãã³ãã¯ã·ã§ã³ããã©ã³ã¶ã¯ã·ã§ã³æ¯ã«ä½æã解æ¾ããã®ã§ã¯ãªããä¸åº¦ä½æããã³ãã¯ã·ã§ã³ã解æ¾ããã«ä½¿ãåãäºã§ããã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ã®è² è·ãæ¸ããææ³ã§ããã³ãã¯ã·ã§ã³ã®ä½æã³ã¹ãã¯é«ãã®ã§è² è·è»½æ¸ã«å¤§ããè²¢ç®ãã¾ãã J2EEã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãJ2EEã³ã³ããããã¼ãªã³ã°æ©è½ãæã£ãDataSourceãæä¾ãã¦ããããç¹ã«æèããã«ã³ãã¯ã·ã§ã³ãã¼ãªã³ã°ãå©ç¨ã§ãã¾ããé常J2EEç°å¢ã§ã¯ãJNDIãµã¼ãã¹ãéãã¦DataSourceãå©ç¨ãã¾ããDataSourceã®è¨å®ãè¡ãã¨ã³ã³ããããã¼ã¿ã½ã¼ã¹ãJNDIã«ç»é²ããJ2EEã¢ããªä¸ã§ç»é²ããDataSourceãlookupãã¦åå¾ãããã¨ãã§ãã¾ãã InitialContext ic = new InitialContext(); DataSource ds = (DataSource)ic.l
{{#tags}}- {{label}}
{{/tags}}