ãã¡ããSeasarã®ãã¨ã§ãã
http://d.hatena.ne.jp/higayasuo/20070528
ãã£ã±ãwithout JavaEEã£ã¦ã®ã¯ããªã¹ã¯ããããã¨ã ã¨æããã§ãããã§ãã¨ããããçªã£è¾¼ãã§ãã¨ããããªããªã¨æã£ã¦ãæ¸ãã¦ã¿ã¾ããã
誤解ã®ãªãããã«æã£ã¦ããã¨ãfriendly JavaEEãã«ããã£ã¦è©±ãããªãã¦ããwithoutãã¨ã¾ã§è¨ãåã£ã¦ããã®ï¼ã£ã¦ãã¨ã§ãã
åãè¾¼ããã¦ã¼ã¶ã¼ãåãè¾¼ããªããªãããããªãã®ï¼
JavaEEãæ¬æµã§ãããã¨ã«ã¯éããªãã¨æãã¾ãã
ã§ãEJB3ã®æ大ã®åé¡ç¹ã¯ãTomcatããåããªãã£ã¦ãã¨ã¨ããwarã¨earã«åããã®ã鬱é¶ãããããã¨ã ã¨æããã§ããããããã£ãç¹ã®è§£æ±ºçã¨ãã¦Seasarã使ãã¨ããã®ãããã¨æããã§ãã
ã§ãEJB3ã®å®è£
ã¨ãã¦ä½¿ãã¤ãããEJB3ã®æ©è½ã使ããSeasarç¬èªã®æ©è½ã使ãããã«ãªãã¨ãã
ãããã£ããã¦ã¼ã¶ã¼åãè¾¼ã¿ã®å
¥ãå£ã¨ãã¦ã®ãwith JavaEEããããã¢ã¼ã·ã§ã³çã«æ¨ã¦ã¦ãã¾ãã®ã¯ãã£ãããªããªãã§ãããã
ã¨ããããããããEJB3ã®å®è£
ã¨ãã¦Seasar使ãããã¨æã£ã¦ãããããã®ã§ãããã¹ãã¼ã¬ã³ããwithout JavaEEãã«ãªã£ã¦ãã¾ãã¨ãEJB3ã®å®è£
ã¨ãã¦Seasarããã§ãããã£ã¦è¨ãã«ãããªã£ã¦ãã¾ãã¾ãã
ã»ãã¨ã«withoutã«ãªãã®ï¼
koichikããã®ã¨ã³ããªã«è¦ãããããã«ãJavaEEã¨ã®ä»ãåãæ¹ã¯ä»ã¾ã§ã¨å¤ãããªãããã§ãã
http://d.hatena.ne.jp/koichik/20070528
ã¨ããããkoichikããã®åªåããããï¼
ã¨ããã§ãããããWeb Beans対å¿ã¨ããåç®ã§JBoss Seamã®å®è£
å§ãããããªãã§ããï¼
ã¾ãwith JavaEEã«ãªãããããªãã®ï¼
ãã¬ã¼ã³ä»æ§ãè¦ãéãã§ã¯ãDIé¢é£ã®è©±ã¨ãã¦ã¯publicãã£ã¼ã«ã対å¿ã¨ã¤ã³ã¿ãã§ã¼ã¹ä¸è¦ã ã£ãã¨æããã§ããã©ãã¤ã³ã¿ãã§ã¼ã¹ä¸è¦ã£ã¦ã®ã¯EJB3.1ãåããªãã§ãããã
EJB3.1ã®å¤§ããªå¤æ´ç¹ã¯ããåæ£å°ç¨ãããªããªã£ããã¨ããæãã§ãä»ã¾ã§åæ£ãªãã使ããªãã®ã«åæ£ã®ããã«ããã©ããããã¨ããããã¦ããã®ããªããªããã¨ã®ããã§ãã
Persistenceé¢ä¿ãcriteriaã®å°å
¥ã大ããåãä¸ãããã¦ãã¾ããã©ãJPA2.0ã«ãCriteriaã¯å
¥ããã¨ã«ãªã£ã¦ããããã§ãHibernateã¨JPAã®é¢ä¿ã®ããã«ã¯ã§ããªããã§ããããã
ã¾ããä»ã¾ã§ããwithãã¨ããã»ã©ã³ããããã¦ããããã§ã¯ãªãããããããããwithoutãã¨ããã»ã©ã®ãè
ã«ããããã§ããªãããå
容çã«ã¯å¤ãããªãã¨æããã§ããã©ãJavaEE6ãåºãã¨ãã«ã¯ãã£ã±ãJava EE 6対å¿ï¼ãã¨ãè¨ãã¨æããã§ããã大ãã声ã§ã¯ãªãã§ããããã©ã
ã ã¨ãããããSeasarã£ã¦è¨ããã¨ãã³ãã³ãå¤ãããã¨ããå°è±¡ãä¸ãã¦ãã¾ããªãã§ããããï¼
ãã¾ã®ã¨ããã®å¤§ããæµãã¯ãããªæãã§ãããã
2004å¹´ï¼without J2EE â2005å¹´ã2006å¹´ï¼with EJBâ2007å¹´ï¼without JavaEE
ã¤ã¾ãã¯
JavaEEã®åºæ¥ä¸åºæ¥ã»æ®å度ã«ãã£ã¦å¤ãã£ã¦ãã¾ãæ¹éã§ã¯ãªãã¦ãSeasarã«ã¯æããä¸è²«ãã¦æ±ãã¦ã¦å®ç¾ããã¦ããæ¹éãããã®ã ããããã¡ããæ確ãªè¨èã«ãã¦è¡¨ã«åºãç¶ããã®ãããã®ã§ã¯ãªããã¨æãã®ã§ããã