ã¯ããã«
ãä»ãWebã®ãã¬ã¼ã ã¯ã¼ã¯ã¨è¨ãã°ããã®ã»ã¨ãã©ããRoRã¿ã¤ããã§ããRoRï¼Ruby on Railsï¼ãWebã®éçºã«ä¸ããå½±é¿ã¯é常ã«å¤§ããããã®å¾çã¾ãããã¬ã¼ã ã¯ã¼ã¯ã®å¤ãããã®å½±é¿ãåãã¦ãã¾ãã
ãããããJavaã®ä¸çã«é¢ãã¦ã¯ãRoRã¯ãªããç´ éããã¦ãã¾ãã¾ãããæ¢ã«Strutsã¨ããããã¡ã¯ãã¹ã¿ã³ãã¼ãããã£ãããã«æ°ããMVCãã¬ã¼ã ã¯ã¼ã¯ãå²ãè¾¼ãä½å°ããã¾ããªãã£ãã®ãããããã¯LLï¼ã©ã¤ãã¦ã§ã¤ãï¼è¨èªã§ãªãã¨RoRãªã¹ã¿ã¤ã«ã¯ä½ãã«ããã£ãã®ããã¨ãããããã®å¾ãé·ãéãJavaã§ã¯ãããããRoRã¿ã¤ããã¨è¨ãããã¬ã¼ã ã¯ã¼ã¯ã¯ç»å ´ãã¾ããã§ããã
ããã®æµããå¤ããã®ã¯ãGroovyã§ããGroovyã®ç»å ´ã«ãããJavaã§ãLLè¨èªã®ãããªå°åãã®èãã³ã¼ãã£ã³ã°ãå¯è½ã¨ãªãã¾ããããã®ãããã§ãããããJavaã®ä¸çã«ãé ã¾ããªããæ°ããä¸ä»£ã®ãã¬ã¼ã ã¯ã¼ã¯ãç»å ´ããããã«ãªãã¾ããããã®1ã¤ããä»ååãä¸ãããPlay!ãã§ãã
対象èªè
- Javaã§æãããªãã¬ã¼ã ã¯ã¼ã¯ãæ¢ãã¦ããæè¡è
- æè¿ã®ãã¬ã¼ã ã¯ã¼ã¯ããããã£ã¨ç解ãã¦ããããæ¹
- Webéçºã®ææ³ãã©ããæ°ã«å ¥ããªããã¨å¸¸ã èãã¦ããJavaããã°ã©ã
Play!ã¨ã¯ï¼
ãPlay!ã¯ãplay framework developersãä¸å¿ã¨ãªã£ã¦éçºããã¦ããJavaã®MVCãã¬ã¼ã ã¯ã¼ã¯ã§ãã2009å¹´ç§ã«ããããver.1.0ããªãªã¼ã¹ãããã°ããã¨ãããã§ããã¦ãã¤ãã¤ã®ãã¬ã¼ã ã¯ã¼ã¯ã§ããããã¯ä»¥ä¸ã®ã¢ãã¬ã¹ã«ã¦å ¬éããã¦ãã¾ãã
ããã®Play!ã®æ大ã®ç¹å¾´ã¯ããé常ã«çæéã§ãWebã¢ããªã±ã¼ã·ã§ã³ã®åºæ¬çãªé¨åãä½ãããã¨ããç¹ã§ããããPlay!ã«ã¯ç°¡åãªãããããã°ã©ã ãç¨æããã¦ãããããã使ã£ã¦ã³ãã³ããå®è¡ããã ãã§ãWebã¢ããªã±ã¼ã·ã§ã³ã®éª¨æ ¼ãèªåçæããã¦ãã¾ãã¾ããæ¢ã«ãã®æ®µéã§ãããWebã¢ããªã±ã¼ã·ã§ã³ã¯åãã¦ãã¾ãã®ã§ããå¾ã¯ãããããã¨ã«ãå¿ è¦ãªãã¡ã¤ã«ã追å ãããç·¨éãã¦ããã ãã§ãããç°¡åãªã¢ããªã±ã¼ã·ã§ã³ã¯ä½ãã¦ãã¾ãã¾ãã
ããã®ãåºæ¬çãªãã¡ã¤ã«ã®ä½æããã¹ã¦èªååãããã¨ããã®ã¯ãRoRã§ä½¿ããã¦ãããã®ã§ãããã以åã®ãã¬ã¼ã ã¯ã¼ã¯ï¼Strutsãªã©ï¼ã§ã¯ãã¾ãå¿ è¦ãªãã¡ã¤ã«ãèªåã§ä½æãã¦1ããã³ã¼ããæ¸ãã¦ï¼ï¼ï¼ã¨ãã£ãå½¢ã§éçºãé²ããªããã°ããã¾ããã§ãããPlay!ã§ã¯ãã¨ããããããã¹ã¦æ£ããåãã·ã³ãã«ãªWebã¢ããªã±ã¼ã·ã§ã³ããç¨æãã¦ããããããããã¼ã¹ã«éçºãå§ãããã¨ãã§ãã¾ãã
ãã¾ããMVCã®ãã¹ã¦ãæã£ã¦ãããã¨ããã®ããããæå³å¤§ããªç¹å¾´ã§ããããJavaã®ãã¬ã¼ã ã¯ã¼ã¯ãã©ããããã®ã ã£ãããããæãåºãã¦ã¿ã¾ããããStrutsã«ããJSFã«ããããã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ã®ããã®ãModelãã®é¨åã¯ãå®ã¯ããã»ã©å å®ãã¦ã¯ãã¾ããã§ãããããããããã®ã¯ãHibernateãªã©ã®O/Rãããã³ã°ã使ãã°ãããã¨ããã®ãJavaã®ä»ã¾ã§ã®ã¢ããã¼ãã§ãããããã¯ç¢ºãã«ããã§ãããã1ã¤ã®ãã¬ã¼ã ã¯ã¼ã¯ã§ãã¹ã¦ãã¡ãã¨ããã£ã¦ãã¾ããå¾ãã足ãå¿ è¦ã¯ã¾ã£ããããã¾ãããã¨ããã»ããããã«æ±ºã¾ã£ã¦ãã¾ããããã1ã¤ç¨æããã ãã§ãä»ããã«éçºãå§ãããããã¨ããã®ããPlay!ã®å¤§ããªç¹å¾´ã¨ãã£ã¦ããã§ãããã