Web ãµã¼ã ãã©ã°ã¤ã³ã®ãã©ã¡ã¼ã¿ 以ä¸ã®ç¯ã§ã¯ãApache ããã³ Microsoft IIS ã® Web ãµã¼ã ãã©ã°ã¤ã³ãã³ã³ãã£ã°ã¬ã¼ã·ã§ã³ããããã«ä½¿ç¨ãããã©ã¡ã¼ã¿ã説æãã¾ãã Web ãµã¼ã ãã©ã°ã¤ã³ã®ã³ã³ãã£ã°ã¬ã¼ã·ã§ã³ ãã¡ã¤ã«ã§ã®ãã©ã¡ã¼ã¿ã®å ¥å å Web ãµã¼ã ãã©ã°ã¤ã³ã®ãã©ã¡ã¼ã¿ã¯ãç¹æ®ãªã³ã³ãã£ã°ã¬ã¼ã·ã§ã³ ãã¡ã¤ã«ã«å ¥åãã¾ãããã®ã³ã³ãã£ã°ã¬ã¼ã·ã§ã³ ãã¡ã¤ã«ã¯å Web ãµã¼ãã§å¥ã ã®ååãæã¡ããã¡ã¤ã«ã®å½¢å¼ã«ã¯ããããã®è¦åãããã¾ãã詳細ã«ã¤ãã¦ã¯ãåãã©ã°ã¤ã³ã®ä»¥ä¸ã®ç¯ãåç §ãã¦ãã ããã
Javaè¨èªãJava EE (J2EE) ä»æ§ãã¢ããªã±ã¼ã·ã§ã³ã»ãµã¼ãã¼ãJavaçµ±åéçºç°å¢ (IDE)ãJavaããã®ãã¼ã¿ãã¼ã¹ã»ã¢ã¯ã»ã¹ãéçºãã¬ã¼ã ã¯ã¼ã¯â¦â¦ãä¼æ¥ã·ã¹ãã ã®éçºã«æºããJavaéçºè /æè¡è ã«ã¯å¦ã¶ã¹ããã¨ãããããããã¾ãããçµé¨ã®ãªãæ°äººãè¥ææè¡è ã®ãªãã«ã¯ãã©ãããæãã¤ãããããã®ãããæ©ã¿ã®æ¹ãå°ãªããªãã®ã§ã¯ãªãã§ããããã OTN Japanã§ã¯ããããã®æè¡ãé¢é£è£½åã«é¢ããæè¡æ å ±ããã¥ã¼ããªã¢ã«ãã»ããã¼ã»ã³ã³ãã³ããªã©ã«ç¡æã§ã¢ã¯ã»ã¹ã§ãã¾ãã ä»åã¯ãOracle WebLogic Serverã®çµé¨ã®ãªãæè¡è åãã«ãOTN Japanã®ãã¾ãã¾ãªã³ã³ãã³ããªã©ã使ã£ã¦ããããã®æè¡ãå¦ãã§ããã¹ãããããç´¹ä»ãã¾ãã 1. Javaè¨èª / Java SE Javaãã¼ã¹ã®ä¼æ¥ã·ã¹ãã éçºã«å¿ è¦ãªæãåºæ¬çãªæè¡ã¯ããã¯ãããã°
ãã«ã³æ°´ç´è¡ãï¼åç·¨ ã¤ã¹ã¿ã³ãã¼ã«ï¼ ã¿ãªããããã°ãã¯ãå°å³åã§ãï¼8æã¯ä¹ ãã¶ãã«æ¯ææ´æ°ã«ãããã¨æãã¾ããä»ã¾ã§ãã£ã¨åå¤å±ã«ã¤ãã¦æ¸ãã¦ãã¾ããããã¯ã¼ããã¦ã»ã»ã» ãã«ã³ã«ã¤ãã¦æ¸ãããã¨æãã¾ãã 2024å¹´6æã«å¿µé¡ã®ãã«ã³ã«è¡ã£ã¦ãã¾ããããã¤ãããã«ã³ã«è¡ãããã£ãããããâ¦
Servletãã£ã«ã¿ã®url-patternãã/*ãã«ãã¦ããå ´åã®ã³ã³ããã¹ãã«ã¼ãã¸ã®ãªã¯ã¨ã¹ãã®æ±ãã«éãããããã¨ãããã£ãã®ã§ã¡ã¢ãã¦ããã¾ãã åæ(1) WebLogic Server 11gR1ã¨Tomcat6.0.20ã§æ¤è¨¼ web.xmlã«ã¦ã Servletãã£ã«ã¿ã®url-patternã¨ãã¦ã/*ããæå® welcome-fileã¨ãã¦ãindex2.htmlããæå® ã³ã³ããã¹ãã«ã¼ãã/context/ãã«ãªã¯ã¨ã¹ããéä¿¡ index2.htmlãåå¨ããªãå ´å WebLogicã§ã¯ãServletãã£ã«ã¿ã«å¦çã渡ããã³ã³ããã«ãã£ã¦index2.htmlã«ãªãã¤ã¬ã¯ãããã¾ãããªãã¤ã¬ã¯ãå¾ã«Servletãã£ã«ã¿ã«å¦çã渡ãã¾ãã Tomcatã§ã¯ãServletãã£ã«ã¿ã«å¦çã渡ãã¾ãã index2.htmlãåå¨ããå ´å WebLogicãTo
ãã®ãã¼ã¸ãç·¨é ãã®ãã¼ã¸ãç·¨é(ã¡ãã¥ã¼é表示編é;α) ãã®ãã¼ã¸ãã³ãã¼ãã¦æ°è¦ãã¼ã¸ãä½æ ãã®ãã¼ã¸ã®ãã¼ã¸åãå¤æ´ ãã®ãã¼ã¸ã®ç·¨éã¢ã¼ããå¤æ´ ãã®ãã¼ã¸ã®é²è¦§/ç·¨é権éã®å¤æ´ ãã®ãã¼ã¸ã«ãã¡ã¤ã«ãã¢ãããã¼ã ãã®ã¦ã£ãã«ãã¡ã¤ã«ãã¢ãããã¼ãï¼FTPæ©è½/管çè ã®ã¿å©ç¨å¯ï¼ ã¡ãã¥ã¼ãç·¨é(ã¡ãã¥ã¼é¨åã¯é表示ã§ç·¨é) JavaEE > WebLogic > SSL Apacheä»å± ã® openssl ã使ã£ã¦ç¬èªã®ãµã¼ãã¼è¨¼ææ¸ãä½æãã ãåèãµã¤ããhttp://park15.wakwak.com/~unixlife/practical/openssl.html ãåèãµã¤ããhttp://www.verisign.co.jp/ssl/help/csr/capache_new.html ãåèãµã¤ããä¸è¬ç㪠Keytool ã³ãã³ã(WebLogicS
WebLogic ãã®ã³ã° ãµã¼ãã¹ã«ã¤ã㦠WebLogic ãã®ã³ã° ãµã¼ãã¹ã«ã¯ããã° ã¡ãã»ã¼ã¸ã®ä½æã表示ããã£ã«ã¿ãããã³ãªã¹ã³æ©è½ãããã¾ãããã° ã¡ãã»ã¼ã¸ã¯ãWebLogic Server ã¤ã³ã¹ã¿ã³ã¹ããµãã·ã¹ãã ãããã³ WebLogic Server ã¾ãã¯ã¯ã©ã¤ã¢ã³ã JVM ä¸ã§å®è¡ããã Java EE ã¢ããªã±ã¼ã·ã§ã³ã«ãã£ã¦çæããã¾ãã 以ä¸ã®ç¯ã§ã¯ãWebLogic ãã®ã³ã° ãµã¼ãã¹ç°å¢ããã®ã³ã° ããã»ã¹ãããã³ãã° ãã¡ã¤ã«ã«ã¤ãã¦èª¬æãã¾ãã WebLogic ãã®ã³ã° ãµã¼ãã¹ã®ç¹é· WebLogic Server ãµãã·ã¹ãã ã¯ããã®ã³ã° ãµã¼ãã¹ã使ç¨ãã¦ãæ°ããã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ã¡ã³ãã1 ã¤ã¾ãã¯è¤æ°ã®ãµãã·ã¹ãã ã®é害ãªã©ã®ã¤ãã³ãã«é¢ããæ å ±ãæä¾ãã¾ãããµã¼ã ã¤ã³ã¹ã¿ã³ã¹ã¯ãããã使ç¨ãã¦ãµã¼ãã®ç¶æ ãéç¥ããããç¹å®
weblogic.xml ãããã¤ã¡ã³ãè¨è¿°åã®è¦ç´ ãã®ããã¥ã¢ã«ã¯ãWebLogic Server åºæã®ãããã¤ã¡ã³ãè¨è¿°å weblogic.xml ã®è¦ç´ ã«é¢ãã詳細ãªãªãã¡ã¬ã³ã¹ã§ããã使ãã® Web ã¢ããªã±ã¼ã·ã§ã³ã« weblogic.xml ãããã¤ã¡ã³ãè¨è¿°åãå«ã¾ãã¦ããªãå ´åãWebLogic Server ã«ãã£ã¦ãã®ãããã¤ã¡ã³ãè¨è¿°åã®è¦ç´ ã«ããã©ã«ãã®å¤ãèªåçã«é¸æããã¾ãã 以éã®ç¯ã§ã¯ãweblogic.xml ãããã¤ã¡ã³ãè¨è¿°åã®ã«ã¼ãè¦ç´ <weblogic-web-app> ã®ä¸ã«å®ç¾©ã§ããè¤åçãªãããã¤ã¡ã³ãè¨è¿°åè¦ç´ ã«ã¤ãã¦èª¬æãã¾ãã
ããªã¼ãã³ã½ã¼ã¹åãã注ç®ãããããã«ãªã£ã¦ããã©ã®ãããã®å¹´æããã£ãã§ãããããç¹ã«Javaã®ä¸çã¯ãªã¼ãã³ã½ã¼ã¹æåãè±éãã¦ããã¨ããã§ãããã¤ã¦ã¯ããã°ã©ã ä½ãã大好ãã¨ããåªç§ãªéçºè ãé¢ç½ãï¼ä¾¿å©ï¼ãããã ããã¨æããã®ããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã¨ãã¦ãªãªã¼ã¹ããã±ã¼ã¹ãå§åçã§ãããããªã¼ãã³ã½ã¼ã¹åã®åããåºã¾ãã«ã¤ããèªç¥åº¦ãè©ä¾¡ã社ä¼çç«å ´ãä¸ããæ¥åã§ã使ããã ãã¾ããã次第ã«ã½ããã¦ã§ã¢ãã³ããæ¦ç¥ãè¦éã«å ¥ãã¤ã¤ç¤¾ä¼è²¢ç®ã®æå³ãå«ãã¦ããªã¼ãã³ã½ã¼ã¹ã¨ãã¦ãªãªã¼ã¹ããã±ã¼ã¹ãå¢ãã¦ãã¾ãããããããæµãã®ä¸ã«ã¯Eclipseã¨ãã£ãæåãªè£½åãããã¾ãããããããç´¹ä»ããApache Beehiveããã®1ã¤ã§ãã Apache Beehiveã¯BEAã·ã¹ãã ãºãApache財å£ã«WebLogic Workshopã®ã³ã¼ããæä¾ãã¦éå§ããããªã¼ãã³ã½ã¼ã¹ã®ã
äºä¾ã«å¦ã¶Webã·ã¹ãã éçºã®ã¯ã³ãã¤ã³ã(1) ã¯ã©ã¹ã¿åããã¨é ããªãï¼ â HttpSessionã¸ã®ç©ã¿éãã«æ³¨æ â ï¼æ ªï¼NTTãã¼ã¿ COEã·ã¹ãã æ¬é¨ æ± ç°å¯æ²» 2002/3/9 æ¬é£è¼ã§ã¯ãç¾å ´ã§ã®ã¨ã³ã¸ãã¢ã®çµé¨ããå¾ããããã¢ããªã±ã¼ã·ã§ã³ã»ãµã¼ãããã¼ã¹ã¨ããWebã·ã¹ãã éçºã«ããã注æç¹ããã³ãã«ã¤ãã¦è§£èª¬ãããå··ã®ããã¥ã¡ã³ãã§ã¯ãªããªãå¾ãããªãè²´éãªãã¦ãã¦ãæ£ãã°ãããã¦ãããèªè ã®åé¡è§£æ±ºãä»å¾ã·ã¹ãã ãéçºããéã®åèã¨ãã¦å¤§ãã«æ´»ç¨ãã¦ããã ããããï¼ç·¨éå±ï¼ ä»åã®ã¯ã³ãã¤ã³ã åä½ã§ã¯è¯å¥½ãªã¬ã¹ãã³ã¹ãè¿ãã¦ããWebã·ã¹ãã ããã¯ã©ã¹ã¿åããã¨ããé ããªã£ãããã®åå ã¯ãHttpSessionã«ãªãã¸ã§ã¯ããæ ¼ç´ãããããã¨ã«ãã£ããããããã¢ããªã±ã¼ã·ã§ã³ã®å¤æ´ã¯ã§ããªãã£ããããã¬ããªã±ã¼ã·ã§ã³ããããªãã¸ã§ã¯ããéå®ãããã¨ã§è§£æ±ºãå³ã£
WebLogic ã¡ã¢ ãã®ï¼ã JNDIã®ã¯ã©ã¹ã¿åã¯ãJNDIããªã¼ã¯ã¯ã©ã¹ã¿å ¨ä½ã§ã¬ããªã±ã¼ããããã JDBCã®ã¯ã©ã¹ã¿åã¯ãã¯ã©ã¹ã¿å ¨ä½ã«é©ç¨ãããã®ã§ãæ大容é*ãµã¼ãã¼æ°ãã®æ¥ç¶æ°ãDBã«å¼µãããã ãã«ããã¼ã¿ã½ã¼ã¹ã¯ããã§ã¼ã«ãªã¼ãã¼ã¨ãã¼ããã©ã³ã·ã³ã°ã®ï¼ã¿ã¤ããé¸æå¯è½ãï¼ã¤ã®ãã¼ã¿ã½ã¼ã¹ãå®ç¾©ã§ããããããåãDBã§ãããããç°ãªãDBã«æ¥ç¶ããè¨å®ã§ãããã ãã«ããã¼ã¿ã½ã¼ã¹ã®ãã§ã¼ã«ãªã¼ãã¼ã¯ã使ããªããªã£ããã容éãä¸æ¯ã«ãªã£ãã¨ãã«çºçããã JMSæ¥ç¶ãã¡ã¯ããªã¯ãã¯ã©ã¹ã¿ã«ãããã¤ãã§ãããJMSéãå ã¯ãã¯ã©ã¹ã¿å ã®åä¸ã®JMSãµã¼ãã¼ã§ç®¡çããããJMSãµã¼ãã¼èªä½ã¯ã¯ã©ã¹ã¿åã§ãããããããã®ãµã¼ãã¼ã«ï¼ã¤ã ããªã®ã§ã WebLogicã§ã¯ãJMSéãå ã«åæ£éãå ãæå®ã§ãããåæ£éãå ï¼è¤æ°ã®ç©çå ã¸ã®åç §æ å ±ãæ¥ç¶ãã¡ã¯ããªã¨ãã¦ã¯ãè¤æ°ã®
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}