2007-01-01ãã1å¹´éã®è¨äºä¸è¦§
éè¦ãããã®ãã©ããä¸æã§ãããã²ã¨ã¾ãå¿ è¦ã«ãããã¦ãã£ã¦ã¿ãã®ã§æ¸ãã¨ãã¾ãã 使ãã·ãã¥ã¨ã¼ã·ã§ã³ ã¬ã³ã¼ãåé¤ããããã ãã©deleteãã㨠ERROR 1217 (23000): Cannot delete or update a parent row: a foreign key constraint failsã¨åºã¦ã§â¦
ãã³ã°ãã¼ã«ã®æå±è ã¨ãã¦æåãªChris Andersonæ°ãã次ãªãèä½"FREE"ã®ãã¬ãã¥ã¼ã¨ãã¦è¬æ¼ããåç»ãè¦ã¾ãããï¼via Guy Kawasakiæ°ã®ããã°ï¼ http://www.netvision.de/uk/dispatching/?event_id=5bb1b5e95afabb2e62d2b148ded47706&portal_id=369401â¦
ãèªåã®è¨è¨ã«ã¬ãã¯ãªãï¼ã·ã¹ãã ãéç¨ãã¦çæ ãã®ã¿ã¤ãã«ã¯ä¼ç¤¾çã«å¤§ä¸å¤«ãªãã ãããã¨ããæ°ã¯ãã¤ã¤ãã¾ãå°ãã§ãå±ãã¦æ¬²ãã人ã«å±ãæããªãã®ã§ããã°è¯ãããªã¨ããã¨åçãä½æ ã横é·ã«wé¢ä¿ããã¾ãããã趣å³ã§Androidããããå§ãã¾ãâ¦
å é±æ«ã«çºå£²ããããDBãã¬ã¸ã³8æå·ã®ç¹é1ãAjaxã«ããææ°åDBã¢ããªéçºãã®ç¬¬2ç« ãAjaxã¨ãµã¼ããµã¤ãJavaãDWRã§ã·ã¼ã ã¬ã¹ã«é£æºãããããå¯ç¨¿ãã¾ããã 第2ç« ã¯DWR2.0ã®ç´¹ä»ãããµã³ãã«ã¢ããªä½æï¼ç°¡æã¿ã¹ã¯ç®¡çï¼ãã©ãããã«ç´ãã¦Guiceã«ã¤â¦
Guiceã³ããã¿ã®Kevin Bourrillionæ°ã«ãã第2åãä»åã¯ä¸ç´ç·¨ã¨ããäºã§ãããå®è·µçãªå 容ã«ãªã£ã¦ãã¾ãã å ·ä½çã«ã¯InjectorãScopeã®ä½¿ãæ¹ãå¾®å¦ãªä»æ§ï¼ãã°ï¼ã«é¢ããçªã£è¾¼ãã 話ããã¹ãæ¹æ³ãä»å¾ã®ãã¼ã¸ã§ã³ã¢ããã«ã¤ãã¦ãªã©ã§ãã åç»ãâ¦
追è¨ï¼é·ããªã£ãã®ã§ä¸è¨ã§è¨ãã¨ã以ä¸ã¯ãTwitterã¿ãããªã®ä½ããªãESBè¦ã¨ãã¨è¯ããããã¨ãã話ã§ãã ãã«ãã¤ã³ã¿ãã§ã¼ã¹ãµã¼ãã¹ Twitterãæ¬æ ¼çã«æµè¡ããã©ããã¯åããã¾ããããTwitterçãªãµã¼ãã¹ââWebãµã¤ãã ãã§ã¯ãªãæºå¸¯é»è©±ãã¤ã³ã¹â¦
ã4æ5æã«ä½æ¥ããããã£ã¦è¨ã£ã¦ãæ¬å½ã«5æä¸æ¬ã«åºã¦ããã®ã¯åãã§ããã ãªãªã¼ã¹ã®ã¢ãã¦ã³ã¹ ãã¦ã³ãã¼ã ãã¼ã¸ã§ã³ã¢ããå 容 æ°ããã¢ããã¼ã·ã§ã³ã®è¿½å scoped beansã®ãµãã¼ã*1 ã¨ã³ãã³ã¹ã®æ¹å Petclinicãµã³ãã«ã®è¿½å 追å ãããã¢ããâ¦
è¨äºã®ã¿ã¤ãã«ã¿ããã§ããã1è¡ã§è¨ãã°ããããäºã§ããä»ã¾ã§ï¼Springã«ï¼ç¡ãã£ãã®ãä¸æè°ãªãããã§ããã ä½è ã¯POJOs IN ACTIONã®èè Chris Richardsonæ°ã ã§ã¯ãæ©é使ã£ã¦ã¿ã¾ãã åºæ¬ãµã³ãã« ã¾ãä¸è¨ãµã¤ããããã¦ã³ãã¼ãã Arid POJOsã®â¦
Guiceã³ããã¿ã§ããKevin Bourrillionæ°ã¨Bob Leeæ°ã«ãããã¬ã¼ã³åç»ã¨ãã®è³æãå ¬éããã¾ããã Java on Guice: Dependency Injection Java Way ãã¬ã¼ã³è³æ(PDF) âåç»ãè²¼ãä»ãã¦ã¿ã¾ããã http://video.google.com/videoplay?docid=606844741087â¦
ãªã¬ã³ã¸ãã¥ã¼ã¹ã§ç´¹ä»ããã¦ãããGoogleã®Peter Norvigæ°ã«ãã"ã¹ãã«ä¿®æ£ããã°ã©ã ã¯ã©ãæ¸ãã"ï¼åæï¼ãèªãã§ãã¡ãã£ã¨è©¦ãã¦ã¿ããã£ãã®ã§æ·±ãèããã«Javaã«ç§»æ¤ãã¾ãããPythonã®ææ³ãå ¨ãç¥ããªãã£ãã®ã§ãããå ã ã¨ã¦ãçãä¸ã«ã³ã¼ãâ¦
1åç®ã«ç¶ããSpring Java Configurationã試ãã¦ã¿ããã¨æãã¾ããä»åã¯AOPãã¡ãªã¿ã«ä»å±ã®ããã¥ã¡ã³ãã«ã¯AOPã®èª¬æãç¡ãã£ãã®ã§ï¼ãããM1ãªãªã¼ã¹ï¼ããã¹ãã±ã¼ã¹ãåèã«è©¦ãã¦ã¿ã¾ãã Spring Java Configurationã§ã®AOPå®ç¾© injectããServiceâ¦
ä»ç¥ã£ãã®ã§ãããGuiceä½ã£ã¦ãBob Leeããã¯dynaopã®ä½è ã ã£ããã§ãããBitter EJBã®èè ã®ä¸äººã¨ããã®ã¯ç¥ã£ã¦ããã®ã§ããããã¡ãã¯ç¥ãã¾ããã§ãããæãå½æå¨ç±ãã¦ããä¼ç¤¾ã®åå¼·ä¼ã§Swingã®ãã¬ã¼ã ã¯ã¼ã¯ãä½ããã¨ãã¦ãã¦ï¼åå è æ°äººã®æ§â¦
SpringFrameworkã®Beanã®ã¤ã³ã¹ã¿ã³ã¹åå¾ãæ大12åéããªã£ãããã§ãã 2.0.4ãªãªã¼ã¹ã¢ãã¦ã³ã¹ããå¼ç¨ Regarding the performance improvements, repeated creation of Spring bean instances is up to 12 times faster in this release than previousâ¦
SpringFramework 2.0.4ã§ãã¡ããã©ãã³ããã¼ã¯ã«é¢ä¿ããé¨åã®ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ãè¡ã£ãã¨ã®äºãªã®ã§ï¼è©³ããã¯æ¬¡ã®ã¨ã³ããªåç §ï¼ãå度ãã³ããã¼ã¯ãè¡ãã¾ãããSeasar2ãææ°çã«å ¥ãæ¿ããä¸ã§ãã»ããã¢ããå¦çã³ã¼ããä¸é¨å¤æ´ãã¦ãâ¦
å æ¥è¡ãããJapan Springframework User Groupã®åå¼·ä¼ã§Guiceã«ã¤ãã¦ã©ã¤ããã³ã°ãã¼ã¯ããè³æãå ¬éãã¾ããï¼ã¢ãããã¼ããããã¨ããããã¾ãï¼å²©æ°¸ããï¼ã ããã°ãèªã¾ãã¦ããæ¹ã«ã¯æ°ããæ å ±ã¯ç¡ãã¨æãã¾ããããããããã°ã©ããã çºè¡¨è³â¦
ãã1,2é±éãããã¡ãã£ã¨Rubyã触ãã ãã¦ããã®ã§ãããä¸æ¨æ¥åå¼·ä¼ã§ç¥ã£ãäºãããã¾ãã p [1,2,3].map { |v| v + 1 } p [1,2,3].map do |v| v + 1 end ããã¾ã§ãã¬ã¼ã¹ã¨do/endã¯å¸¸ã«ç½®ãæãå¯è½ãªãã®ãªã®ãã¨æã£ã¦ããã®ã§ãããä¸è¨ãå®è¡ããâ¦
æ¨æ¥ã¯JSUG第2ååå¼·ä¼ã«åå ãã¦ãã¾ããã ã¹ãã¼ã«ã§ããè±èµã®éº»éãããATL Systemsã®è¹æ¸ãããarclampã®ãã¼ããããããããã¨ããããã¾ããï¼ãç²ãæ§ã§ããã ç§ãid:zuisenerããã«ç¶ãã¦ãã©ã¤ããã³ã°ãã¼ã¯ã§Guiceã«ã¤ãã¦ã¡ãã£ã¨åããã¦ãâ¦
Guice㨠Springframeworkã®æ大ã®éãã¯DIãAOPã®è¨å®ãJavaã³ã¼ãã§æ¸ããXMLã§æ¸ããã§ãããå®ã¯(?)Springã§ãJava ã³ã¼ãã«ããè¨å®ã®è¨è¿°æ段ãç¨æããã¦ãã¾ã*1ãä»åã¯ãã®"Spring Java Configuration"ãç°¡åã«è¦ã¦ã¿ã¾ãããªããã¾ã ãã¤ã«ã¹ãã¼â¦
20070411
AOPç¨éã®73%ãå ãããã©ã³ã¶ã¯ã·ã§ã³ç®¡ç*1ããããåããã°ã¨ããããGuiceã使ã£ã¦ã¿ããã¨ãã人ãå¢ãããããããªãã®ã§ãã¡ãã£ã¨è©¦ãã¦ã¿ã¾ãã ãã©ã³ã¶ã¯ã·ã§ã³æ©è½ã¯ä»ã©ã¤ãã©ãªã使ã Guiceã¯ãã©ã³ã¶ã¯ã·ã§ã³ã«é¢ããæ©è½ãä¸åæã£ã¦ãã¾ãâ¦
JSUGåå¼·ä¼ ç¬¬2åãSpringãRDBã¨åºé¢ããã§ãGuiceã«ã¤ãã¦ã©ã¤ããã³ã°ãã¼ã¯ããäºã«ãªãã¾ãããSpringã¨Guiceãçµã¿åãããå 容ãã¡ã¤ã³ã«ãªãã¨æãã¾ãã åå¼·ä¼ã®ãã¼ãã§ããRDBã¨ã®é£æºã¯ãã¾ãã«ä»äºã®ä¸å¿ãªã®ã§ã¨ã¦ã楽ãã¿ã§ããæ親ä¼ã楽ãâ¦
Springã¨ã®çµ±åæ段2ã¤ç®ãSpringIntegration#fromSpringã¡ã½ããã«ã¤ãã¦ã§ãã fromSpring()ã¡ã½ããã®ã¤ã³ã¿ãã§ã¼ã¹ã¯ä»¥ä¸ã®ããã«ãªã£ã¦ãã¾ãã /** Creates a provider which looks up objects from Spring using the given name. */ public static <T> </t>â¦
Guiceã®éçºè MLã§ã¯æ´»çºãªããåããç¶ãã¦ãã¦ãã©ãã©ãæ°ããææ¡ãçã¾ãã¦ããããããªã·ã¼ãèªããã¦ããããã¦ãã¾ããæ¢ã«æ¬¡ã®ãã¼ã¸ã§ã³ï¼1.1ï¼ã®ã©ãã«ãããã®ã§ãæ°ã«ãªãæ¹ã¯ãã¡ããå®ç¾ãããã©ããã¯åããã¾ããããSeasar2ã®HOT deployã¨â¦
Springçµ±åã®2åç®ã®äºå®ã§ããããåæã¨ãã¦Providerãç解ãã¦ããã¨è¯ãããã ã£ãã®ã§ï¼ã¨ããããç解ãã¦ããªãã¨APIãããåãããªãã£ãã®ã§ï¼ãäºå®ãå¤æ´ãã¦Providerãè¦ã¦ã¿ã¾ãã Providerã¤ã³ã¿ãã§ã¼ã¹ã¯ãKeyã¯ã©ã¹ã¨å ±ã«Guiceã®DIã®æ ¸ã¨ãªâ¦
Guiceã¯Springã¨çµ±åããçºã®ã¯ã©ã¹ãç¨æãã¦ãã¾ãããã®åããã°ãSpringIntegrationãçµ±åã¨è¨ã£ã¦ãæ§ã ãªå½¢æ ãèããããã¨æãã¾ãããç¾æç¹ã§Guiceãç¨æãã¦ããã®ã¯ãSpringã®ã³ã³ããã§ç®¡çããã¦ããBeanãGuiceããåå¾/injectã§ããããã«ãâ¦
ä¸è¨ã®Wikiã«å ¬éãã¾ãããã½ã¼ã¹ã®ç´æ¥è²¼ãä»ãã¯æ¸ãæ¹ãåãããªãã£ãã®ã§ãæ·»ä»ãã¡ã¤ã«ã«ãªã£ã¦ãã¾ãã ä¿®æ£ã追å ããã©ãã·ã¥ã¢ãããªã©å¤§æè¿ã§ãã http://www.wikihouse.com/arumani/index.php?Guice%2C%20Sring%2C%20S2%20%A5%D1%A5%D5%A5%A9%â¦
ããã¤ãæ段ãããã¾ãã ã¢ããã¼ã·ã§ã³ãã®ãã®ã§åºå¥ã ex ) @JasracService / @ElicenseService ã¢ããã¼ã·ã§ã³ã§æå®ããæååã§åºå¥ã ex) @Named("JASRAC") / @Named("eLicense") 以ä¸ãããããè¦ã¦ãã¾ãã ã¢ããã¼ã·ã§ã³ãã®ãã®ã§åºå¥ ã©ã®å®â¦
ã¡ãã£ã¨æ°åãåºãäºã®è²¬ä»»ãæãã¦ã¾ãâ¦ã åç½®ãããã¦ä¸ããã ãã¼ã¹ã¨ãªã£ã¦ããGuiceä»å±ã®ã½ã¼ã¹ã®JavaDocã³ã¡ã³ãã«ã¯ã以ä¸ã®æã§å§ã¾ã£ã¦ãã¾ãã"A semi-useless microbenchmark." 誤解ãæãã¤ã¤è¨ãã°ããã®ãã¤ã¯ããã³ããã¼ã¯ã¯ã大è±100ç²â¦
id:koichikããã«ãS2ãæ¯è¼ã«è¿½å ãã¦ãã¨ããã³ã¡ã³ããé ããã®ã§ãè¨ãããéãã®æ¹æ³ã§è¿½å ãã¦è©¦ãã¾ãããSeasar2ã®ãã¹ãã³ã¼ãã¯ã¾!ããã®Seasar2ç¨ã³ã¼ãã«koichikããã®è¨è¿°ã追å ããã ãã®ãã®ã§ããSeasar2ã¯è§¦ã£ãäºããªãã®ã§ã·ã³ã°ã«ãã³ãâ¦
ãã¿ã¾ããã以åã®Springã¨Guiceã®AOPããã©ã¼ãã³ã¹æ¯è¼ã§ããããã¹ãã³ã¼ãã«ééããããã¾ãã¦ãæ¡ä»¶ãåãã«ãªã£ã¦ã¾ããã§ããã Guiceã¯æ¯åã¨ã³ãã³ã¹ããã¤ã³ã¹ã¿ã³ã¹ãä½ã£ã¦ããä¸æ¹ãSpringã¯1ã¤ã®Proxyã使ãåãã¦ããã¨ããâ¦ãæ°åãè¦ã¦ä½â¦