Google App Engine/Jä¸ã§BlazeDSãç¨ããFlexã¢ããªã±ã¼ã·ã§ã³ãåãã
GAE/Jã«ã¤ãã¦ä¸éãã®åä½ç¢ºèªãçµãã£ããããå½é¢å¯¾å¿ãå¿ è¦ã¨ãªããããã¯ãã«çæãã¾ããã
ãã¤ã³ãã¯ã¦ã¼ã¶ã¤ã³ã¿ãã§ã¼ã¹ã¨ãã¦Flash(éçºã¯Flexã«ã¦)ã使ç¨ããã¨ããã§ãéä¿¡æ段ã¯AMF(BlazeDS)ã使ç¨ãã¾ãã
管çç³»æ©è½ããããã°ç¨ã«htmlã®ã¦ã¼ã¶ã¤ã³ã¿ã¼ãã§ã¼ã¹ãä½µç¨ããå½¢ãèãã¦ãã¾ãã
å½åèãã¦ããæè¡è¦ç´ ã¯ä»¥ä¸ã®éãã§ãã
ã©ããå¤ããªãè¦ç´ ãªã®ã§ãããªãæéãããã¦èª¿æ»ãã¾ãããæçµçã«ã¯Mayaaã ãã¯è«¦ãã¾ããã
ç°¡åã«ããããã«ã¤ãã¦ã®èª¿æ»çµæããããªãã¤ã³ããã¾ã¨ãã¾ãã
â Slim3
ã²ãããã®blogã«ãæãéããSlim3ã®ãã¢ã§ç¨æããã¦ãããµã³ãã«ã¯AMFã§ã¯ãªãã·ã³ãã«ãªHTTPéä¿¡ã®ãã®ã§ãã
ä»åã®ãããã¯ãã§ã¯AMFã®éè¦æ§ãé«ãä¸ã«ãSlim3ã®ã¿ã¤ãã»ã¼ãã¯ã¨ãªã®æ©æµã«ãä¸ãããããSlim3+AMFã®åä½ãæ¤è¨¼ããå¿
è¦ãæãã¾ããã
âæ¤è¨¼çµæ
BlazeDSã®ã½ã¼ã¹ãä¿®æ£ããã¨ããã¯éæ
ã«é¢åã§ããããçµæçã«Slim3å´ã¯ã»ã¨ãã©ä½ãããã«æå¾
åä½ã®ç¢ºèªãåãã¾ããã
âãã®ä»
æ®æ®µã¯Mayaaã¨é£æºããã¦ããããæ°ä»ããªãã£ãã®ã§ãããslim3itï¼ãµã³ãã«ããã¸ã§ã¯ãï¼ã§ãJSPã¯warç´ä¸ã«é
ç½®ããã¦ãããã¨ã«æ°ä»ãã¾ããã
åºæ¥ãã°war/WEB-INF/view 以ä¸ã«é
ç½®ããæ§æã«ãããã®ã§ãããSAStrutsã®ããã«web.xmlã«æå®ãããªã©ã®æ¹æ³ã§æå®ã§ããªããèãã¦ã¿ããã¨æã£ã¦ãã¾ãã
<context-param> <param-name>sastruts.VIEW_PREFIX</param-name> <param-value>/WEB-INF/view</param-value> </context-param>
â BlazeDS
GAE/Jç°å¢ã§ã¯Remotingããåä½ããªãä¸ãBlazeDSã®ã½ã¼ã¹ãä¿®æ£ããå¿
è¦ãæãã¨ããæ
å ±ãå¹¾ã¤ãè¦ã¤ããã¾ããã
- http://www.adobe.com/jp/devnet/flex/articles/google_app_eng_w_beazeds.html
- http://www.adobe.com/jp/devnet/flex/articles/google_app_eng_w_beazeds_p2.html
- http://prepro.wordpress.com/2009/05/17/googleappengine%E3%81%A7blazeds%E7%92%B0%E5%A2%83%E3%82%92%E6%A7%8B%E7%AF%89%E3%81%97%E3%81%A6%E3%81%BF%E3%81%9F/
- http://martinzoldano.blogspot.com/2009/04/appengine-adobe-blazeds-fix.html
試ãã«ç´ ã®BlazeDSãç¨ãã¦ç¢ºèªãã¦ã¿ã¾ãããããã¯ãæå¾
åä½ã確èªåºæ¥ãªããããä¸è¨æé ã«æ²¿ã£ã¦BlazeDSã®ä¿®æ£çãã¤ããªãå¾ã¾ããã
âæ¤è¨¼çµæ
ã¾ã Stringãæ»ãå¤ã®å
¬éã¡ã½ãããã試ãã¦ãã¾ãããåé¡ãªãåä½ãã¦ããããã§ãã
âãã®ä»
DuplicateSessionDetectedä¾å¤ã¸ã®å¯¾å¦ãå°ãå¼·å¼ãªæ°ããã¦ãã¾ãã
â Mayaa
âæ¤è¨¼çµæ
http://d.hatena.ne.jp/two-stroke/20090627/1246094807
âã¨ããããå件ã¨æãããã®ã§ããMayaaãçµã¿è¾¼ãã¨ãã©ããã¦ããªã¯ã¨ã¹ããããã¹ã«ã/index.htmlããä»ãã¦å¦çãããåé¡ãçºçãã¾ãã
ããã¾ã§ã¯Eclipseä¸ããã®ãã¼ã«ã«å®è¡ã§ã®ã¿çºçãã¦ããã®ã§ãããä½æ
ãä»åã®æ§æã«çµã¿è¾¼ãã å ´åãGAEæ¬çªç°å¢ã§ãåç¾ããããã§ãã
大é¨åãFlashã§æ§ç¯ããã¦ããããã®åé¡ã¯ä»¥åã追ãããã¦è§£æ±ºã«è³ããªãã£ããããä»åã®æ§æããMayaaãå¤ããã¨ã«ãã¾ããã
â ã¾ã¨ã
BlazeDSã®ã½ã¼ã¹ä¿®æ£ããå®æ½ããã°ãã¨ãã«åé¡ãªã使ç¨å¯è½ã§ãã
å
人éã®æçãªæ
å ±ã«æè¬ãã¾ãã