JSF2.0
å¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã®ãã°ã«ãã´ãªã«ã¯ããã°ãåºåãã¦ããããã±ã¼ã¸å(jp.co.test... ãªã©)ã使ããã¦ãã¾ãããJSFã®åç §å®è£ ã§ããmojarra2.xã§ã¯å°ãç°ãªãä»ä¸è¦åã¨ãªã£ã¦ããããã以ä¸ã«ã¾ã¨ãã¾ãã mojarraã®ãã°ã«ãã´ãªå®ç¾© mojarraã®ãã°â¦
JSF2.0ã®ã¨ã©ã¼ãã³ããªã³ã°ã«ã¤ãã¦èª¿ã¹ã¦ã¿ãã®ã§ã¾ã¨ãããããã§è¨ããã¨ã©ã¼ãã³ããªã³ã°ãã¨ã¯ãStruts1.xã®<globa-exceptions>ããorg.apache.struts.action.ExceptionHandlerãç¶æ¿ãã¦ã¦ã¼ã¶ãä½æããã«ã¹ã¿ã ä¾å¤ãã³ãã©ãæ³å®ãã¦ãããStruts1.xã¨åããããªãã¨</globa-exceptions>â¦
ãã®è¨äºã¯ Java EE Advent Calendar 2012*1 ã®12/18åã®è¨äºã§ããæ¨æ¥ã¯@yumix_hããã® JAX-RSã§ãã¡ã¤ã«ã¢ãããã¼ã! ã§ãã ææ¥ã¯@den2snããã§ããä»åã¯ããã¿ã³ã®2度æ¼ããã§ãã¯ã«ã¤ãã¦èãã¦ã¿ããã¨æãã¾ãã 1. ãã¿ã³ã®2度æ¼ãã¨ã¯ 2度æ¼ãâ¦
Faceletsã®XHTMLã«ã³ã¡ã³ããæ¸ãæã«å°ãã¯ã¾ã£ãã®ã§ã¡ã¢ã(以ä¸ã®ã³ã¼ãã¯JBossAS7.1ã§ç¢ºèª) ãã¾ããããªãä¾ (HTMLã³ã¡ã³ãããã®ã¾ã¾ä½¿ã) ã³ãã³ããã¿ã³ã以ä¸ã®ããã«ã³ã¡ã³ãã¢ã¦ãããã¨ãSubmitããã¨ãã§ã¯ãªãããã¿ã³ãå«ããã¼ã¸ãéããã¨â¦
BeanValidationã¯JSF2.xã¨çµ±åããå ´åã«ãJSFããèªåçã«å¼ã³åºãããã®ã¯ããããã£åä½ã®ããªãã¼ã·ã§ã³ã®ã¿ã§ãããã¯ã©ã¹åä½ã®ããªãã¼ã·ã§ã³ã¯å¼ã³åºãããªãã (åè http://stackoverflow.com/questions/11972419/cross-field-bean-validation-whyâ¦
Struts1.xã¦ã¼ã¶ãJSF2.0ã«ç§»è¡ããã¨ãjavax.el.PropertyNotFoundExceptionã500ã¨ã©ã¼ã®åå ã¨ãã¦è¡¨ç¤ºããããã@Modelã§ã¢ããã¼ãããCDI管çBeanã®ãã©ã¡ã¼ã¿ã#{bean.property}ã§ãã¾ãåºåãããªããã¨ãããã¨æãã¾ãããã®åå ã¯ä¸»ã«ï¼ã¤ããã¾ãâ¦