IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
Tomcat 7ã対å¿ããServlet 3.0ã®å¤æ´ç¹ å¾ç·¨ï¼Tomcat 7ã®æ°æ©è½ã§ä½ãã§ããããã«ãªãã®ãï¼ï¼2ï¼ï¼1/3 ãã¼ã¸ï¼ ååã®ãTomcat 7ã対å¿ããServlet 3.0ã®6ã¤ã®ä¸»ãªå¤æ´ç¹ãã§ã¯ããTomcat 7ããå®è£ ããServlet 3.0ã®æ°æ©è½ã®ãã¡ãEase of Developmentï¼EoDãéçºå®¹ææ§ï¼ããPluggability and Extendibilityï¼ã¢ã¸ã¥ã¼ã«åã¨æ¡å¼µæ§ï¼ãã«ã¤ãã¦ç´¹ä»ãã¾ãããä»åã¯Asynchronous processingï¼éåæå¦çï¼ãã»ãã¥ãªãã£ãSession Trackingããã«ããã¼ã対å¿ãç´¹ä»ãã¾ãã ã¢ããã¼ã·ã§ã³ã«ããéåæå¦ç Servlet 3.0ããéåæå¦çã使ããããã«ãªãã¾ãããServlet 2.5ã¾ã§ã¯ãServletä¸ã§ã¹ã¬ãããçæã»èµ·åãããªã¯ã¨ã¹ããã¬ã¹ãã³ã¹
ãã£ã¨JavaEE6ã£ã½ããã£ã¦ã¿ãã æ¨æ¥ã®ã¨ã³ããªã§ã¯ãAsyncContextã®ä½¿ãããã試ãããããµã¼ãã¬ããã ãã使ã£ã¦å®è£ ãã¦ã¿ã¾ããã ã§ãããããæ³¥èãã³ã¼ããå¤ããªã£ã¦ãããããã®ã¾ã¾å®ç¨çãªã³ã¼ãã«ãã¦ããã¨ãã«ã´ãã´ãã¨ã³ã¼ããç¶ã足ãã¦ããã¨ããã®ãã¤ã¤ãªæãã§ãã ããã§ããã£ã¨JavaEE6ã£ã½ãã³ã¼ãã«æ¸ãæãã¦ã¿ã¾ãããã å°ãæºå ä»åã¯ãJAX-RSã§ã®RESTful Webãµã¼ãã¹ã¨ãCDIã§ã®ã¤ã³ã¸ã§ã¯ã·ã§ã³ã使ã£ã¦ã¿ã¾ãã JAX-RSã®æºå ã¾ãã¯ãJAX-RSã使ãããã®è¨å®ã¯ã©ã¹ãä½æãã¾ãã package chat2; @javax.ws.rs.ApplicationPath("rs") public class ApplicationConfig extends javax.ws.rs.core.Application { } ãããã
å®è£ ããä»æ§ã¯ã以ä¸ã®ãã¼ã¸ã§ã³ã«ã¢ãããã¼ãããã¾ããã Servlet 2.5âServlet 3.0 JSP 2.1âJSP 2.2 EL 2.1âEL 2.2 æ¬é£è¼ã§ã¯3åã®é£è¼ãéãã¦ãTomcatã®ææ°ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ã§ããTomcat 7ã«ã¤ãã¦èª¬æãã¾ãã第1åç®ã¨ç¬¬2åç®ã§Servlet 3.0ãç´¹ä»ãã第3åç®ã§Tomcatç¬èªã®æ°æ©è½ãç´¹ä»ããäºå®ã§ãã Servlet 3.0ã«ããã6ã¤ã®ä¸»ãªå¤æ´ç¹ 第1åç®ã¨ãªãä»åã¯ãTomcat 7ãå®è£ ããServlet 3.0ã«ã¤ãã¦èª¬æãã¾ããServlet 3.0ã¨ã¯JSR-315ã®ãã¨ãæãã¾ããTomcatã¯ããã®JSR-315ä»æ§ãå®è£ ãã¦ãã¾ãã Servlet 3.0ã§ã¯ãServlet 2.5ã«å¯¾ãã¦ä¸»ã«ã次ã®ãããªä»æ§å¤æ´ãå°å ¥ãã¾ããã Ease of Developmentï¼EoDãéçºå®¹ææ§ï¼
2010å¹´3æ14æ¥ at 4:04 åå¾ Web ã¢ããªã±ã¼ã·ã§ã³ã®éçºè 㯠Apache Wicket ã Spring ç Servlet ã¨ã¯ç°ãªãå¥ã®å¤é¨ãã¬ã¼ã ã¯ã¼ã¯ãéçºæã«å©ç¨ããäºããããã¨æãã¾ãããããã®å¤é¨ãã¬ã¼ã ã¯ã¼ã¯ã使ç¨ããããã«ã¯ããããã®ãã¬ã¼ã ã¯ã¼ã¯ç¹æã®è¨å® (Servlet, Filter ç)ã web.xml ã«è¨å®ããå¿ è¦ãããã¾ãããããè¤æ°ã®å¤é¨ãã¬ã¼ã ã¯ã¼ã¯ãåä¸ã¢ããªã±ã¼ã·ã§ã³å ã§ä½¿ç¨ããå ´åãåä¸ã® web.xml ãã¡ã¤ã«å ã«å ¨ã¦ã®è¨å®ãå«ã¾ããã¡ã¤ã«ãè¥å¤§åãã¾ããã¾ã web.xml ãã¡ã¤ã«ãè¥å¤§åããã¨ãåãã¬ã¼ã ã¯ã¼ã¯æ¯ã®è¨å®ã管çããéã«å¯èªæ§ãä½ä¸ãã¦ããããã管çãå°é£ã¨ãªãã¾ãã ããã§ãWeb Fragment ã¯ãã¬ã¼ã ã¯ã¼ã¯æ¯ã«ç¬èªã«è¨å®ãç»é²ã管çã§ãããããªã¡ã«ããºã ãæä¾ãã¦ãã¾ãããã®Web Frag
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}