ã¯ããã«
ãAmazon EC2ãã¯ãããã¯ã©ã¦ãã³ã³ãã¥ã¼ãã£ã³ã°ã®ã¤ã³ãã©ç°å¢ã¯ä»¥åã«æ¯ã¹ã¦æã«å±ããããã¨ããã«ãã£ã¦ãã¾ãããããããªããããµã¼ãã®è¨å®ãè¤éã ã£ãããç¬èªè¨èªã ã£ããã¨ããæ軽ã«è©¦ãã«ã¯ããä¸æ©è¸ã¿åºããã¨ãã§ããªãæ¹ãå¤ãã®ã§ã¯ãªãã§ããããï¼
ãGoogleã¯Google App Engineã2008å¹´4æã«å ¬éãã¾ããããã®ã¨ãã¯Pythonã®ã¿ã対象ã§ãããã2009å¹´4æã«ã¯Javaã«ã対å¿ãã¾ããããã®ãã¨ã¯å¤§ããªæå³ãæã£ã¦ãã¾ããããã¯Javaè¨èªã®ã¿ãªãããJavaVMä¸ã§åä½ããå¤ãã®ã¹ã¯ãªããç³»è¨èªãï¼ããç¨åº¦ã®ä¿®æ£ãè¨å®ã¯å¿ è¦ã«ãªãã¾ããï¼åä½ããããã¨ãã§ããããã§ãã
ãåç·¨ã§ã¯JavaVMä¸ã«å®è£ ãããã¹ã¯ãªããç³»è¨èªã®ä¸ã§ãPHPããç°¡åãªWebã¢ããªã±ã¼ã·ã§ã³ãä¾ã«ãGoogle App Engine for Javaã§åä½ãããæ¹æ³ã«ã¤ãã¦èª¬æãã¦ããã¾ãã
対象èªè
- Google App Engine for Javaã«èå³ãããæ¹
- ã¹ã¯ãªããè¨èªãç¹ã«PHPã®ã¯ã©ã¦ãã³ã³ãã¥ã¼ãã£ã³ã°ç°å¢ã«èå³ã®ããæ¹
å¿ è¦ãªç°å¢
ãGoogleãæä¾ããEclipseã®ãã©ã°ã¤ã³ï¼Google Plugin for Eclipseï¼ã使ç¨ãã¦éçºãè¡ãã¾ããGoogle Plugin for Eclipseã®ã¤ã³ã¹ãã¼ã«ã«ã¤ãã¦ã¯ãGoogle App Engine for Javaã使ã£ã¦ã¿ããï¼ãï¼1ï¼Google Plugin for Eclipseãã§èª¬æããã¦ãã¾ãã®ã§ããã¡ããåç §ãã¦ãã ããã
ããã®è¨äºã§ç´¹ä»ããããã°ã©ã ã¯Windowsçã®Eclipse 3.4.1ï¼Ganymedeï¼ã«æ¥æ¬èªåè¨èªããã¯ï¼æ³¨1ï¼ãé©ç¨ããç°å¢ã§åä½ãããã¨ã確èªãã¦ãã¾ãã
Google App Engine for Java
ãGoogle App Engine for Javaã§ã¯ServletãJSPã使ç¨ãã¦Webã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ãããã¨ã«ãªãã¾ãããæä¾ãããJavaã®å®è¡ç°å¢ã¯Java6ã«ãªãã¾ãã
ãGoogle App Engine for Javaã§ã¯ã¹ã±ã¼ã©ãã«ãã¤ã»ãã¥ã¢ãªWebã¢ããªã±ã¼ã·ã§ã³ãå®ç¾ããããã«ãµã³ãããã¯ã¹ä¸ã§åä½ããããã«ãªã£ã¦ãããããã¤ãã®å¶éãè¨ãããã¦ãã¾ããä¾ãã°æ¬¡ã®ãããªæ©è½ã«ã¯å¯¾å¿ãã¦ãã¾ããã
- ã¹ã¬ããããµãããã»ã¹ã®çæ
- ãã¼ã«ã«ãã¡ã¤ã«ã¸ã®æ¸ãè¾¼ã¿ï¼èªã¿è¾¼ã¿ã¯å¯è½ï¼
- JNIãªã©ã®ãã¤ãã£ãã³ã¼ãã®å®è¡
- ãããã¯ã¼ã¯æ¥ç¶ï¼HTTPã¨HTTPSã¯å¯è½ï¼
ãJREï¼Java Runtime Environmentï¼ã«å«ã¾ããã¯ã©ã¹ã§ä½¿ç¨å¯è½ãªãã®ã¯ããThe JRE Class White Listãã«ä¸è¦§ãè¼ã£ã¦ãã¾ãã®ã§ããåç §ãã ããã
ãGoogle App Engineã§ã¯ãã¼ã¿ã®ä¿åã¯App Engineãã¼ã¿ã¹ãã¢ã¨å¼ã°ããä»çµã¿ã使ã£ã¦å®ç¾ãã¾ããGoogle App Engine for Javaã§ã¯JDOï¼Java Data Objectsï¼ãJPAï¼Java Persistence APIï¼ãªã©ã®æä¾ããã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ã£ã¦ã¢ããªã±ã¼ã·ã§ã³ãå®è£ ãã¾ãã
ãå¤é¨ãã¹ãã¸ã®æ¥ç¶ã«ã¯HTTPã¨HTTPSã®ã¿ã許å¯ããã¦ãããjava.net.URLConnectionã使ã£ã¦å®ç¾ãã¾ãã
ããã®ä»ããã£ãã·ã¥ãå®ç¾ããæ©è½ã¨ãã¦JCacheï¼JSR107ï¼ãã¡ã¼ã«éä¿¡ã®æ©è½ã¨ãã¦JavaMailã使ç¨ãããã¨ãã§ãã¾ãã
PHPãåä½ãããããã«å¿ è¦ãªç°å¢
ãJavaVMä¸ã§åä½ããã¹ã¯ãªããç³»è¨èªã«ã¯ãJRubyãJythonãGroovyãScalaãªã©ãããã¾ããããã®è¨äºã§ã¯Caucho Technologyãéçºãã¦ããQuercusã使ç¨ãã¾ãã
ãQuercusã¯Javaã§å®è£ ãããPHP5ããã³6ã®å®è¡ç°å¢ã§ãGPLã©ã¤ã»ã³ã¹ã§æä¾ããã¦ãã¾ããDrupalãPHP-Nukeãããã¦Wordpressãªã©ã®åä½å®ç¸¾ãããã¾ããCè¨èªã§å®è£ ãããPHPã®æ¨æº/æ¡å¼µã¢ã¸ã¥ã¼ã«ãJavaã«ç§»æ¤ããã¦ãã¾ããããã¹ã¦ã®ã¢ã¸ã¥ã¼ã«ã使ç¨ã§ããããã§ã¯ããã¾ãããå®è£ ããã¦ããã¢ã¸ã¥ã¼ã«ã«ã¤ãã¦ã¯ãQuercus Modules Statusãåç §ãã¦ãã ãããã¾ããQuercusã«é¢ãã詳細ãªæ å ±ã¯Quercusã®Webãã¼ã¸ãåç §ãã¦ãã ããã
ãQuercusã§ã¯PHPã¹ã¯ãªãããã¡ã¤ã«ãå®è¡ããããã®QuercusServletãç¨æããã¦ããããã®Servletãæå®ããããªã¯ã¨ã¹ãã«å¯¾å¿ããPHPã¹ã¯ãªãããã¡ã¤ã«ãèªã¿è¾¼ã¿ãå®è¡ããçµæãè¿ãã¾ãã