2008-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã¯ããã« DEVELOPMENTã¢ã¼ãã«ããã¨ãWicketããã¡ã¤ã«ã®å¤æ´ç£è¦ãè¡ããã¨ãç¥ã£ã¦ãã人ã¯å¤ããã¨æãã¾ãã å¤æ´ç£è¦ã®ä¸æ ¸ã¨ãªã£ã¦ããã®ããorg.apache.wicket.util.watch.ModificationWatcherã¯ã©ã¹ã§ãã ã¨ããããã§ããã®è¾ºã®ã½ã¼ã¹ã³ã¼ããã¡â¦
ã¯ããã« H2 Database Engine ã¯ãµãã¼ããã¦ãããã¼ã¿åãå¤ãã§ãã å¤ããã¦ãJavaã®ãã¼ã¿åã¨ã®å¯¾å¿ãè¦ãããã¾ããã http://www.h2database.com/html/datatypes.htmlã®åãã¼ã¿åã®é ã®ãSee alsoãã®æãèªãã°å¯¾å¿ã¯æ¸ãã¦ããã®ã§ãããã±ã£ã¨è¦â¦
ã¯ãã㫠軽éDBã®ããã¯å¨ãã話é¡ã«ãã人ã¯ãã¾ããã¾ããã 並å度ãé«ãç¶æ ã§ä½¿ããã¨ã¯ç¨ã§ãããããã¯å¨ãã¯ããã¨ã©ãã§ãè¯ããã¨ã ã¨ç§ãæãã¾ããã§ããæ°ã«ãªã£ã¦æ°ã«ãªã£ã¦ä»æ¹ãªãã®ã§è»½ã調æ»ãã¾ããã 調æ»å¯¾è±¡ ç§ããã¾ãã¾ååãç¥ã£â¦
ã¯ããã« WicketãReloding対å¿ã®ããã«ã¯ã©ã¹ãã¼ããå·®ãæ¿ããæ¹æ³ã«ã¤ãã¦ãåºæ¬çãªã¨ãããã¡ã¢ãã¾ãã ãåºæ¬çãªã¨ãããã¨æ¸ããã®ã¯ç´°é¨ã«è¬ãæ®ã£ã¦ããããã§ãã ç§ã®å¥½å¥å¿ãæºãããç¨åº¦ã«ã¯åãã£ãã®ã§ãã¾ãããããã¿ãããªã ç°å¢ wickâ¦
é¢è¥¿ãªã¼ãã³ã½ã¼ã¹ï¼ï¼ï¼ï¼ã§ç¥ã£ã¦ãã³ã£ããããã®ã§ã¡ã¢ã SilverLightã®ã¢ããªãLLè¨èªã§æ¸ããã¨ãããä¸è¨ã¯ã¹ãã¼ã«ã¼ã®ä¸äººãæ¸ããè¨äºã http://gihyo.jp/dev/serial/01/silverlight/0006 JavaScript以å¤ã®LLè¨èªã§ã¯ã©ã¤ã¢ã³ãå´ãæ¸ãã¦ãã¾ãâ¦
ã¯ããã« org.apache.wicket.markup.html.link.InlineFrameãorg.apache.wicket.markup.html.link.ILinkListenerãå®è£ ãã¦ãããã¨ã«æ°ã¥ãã¾ãããInlineFrameã¯ã©ã¹ã¯IFRAMEã«å¯¾å¿ããã¯ã©ã¹ã§ãã ã§ãILinkListenerã¯onLinkClicked()ã¨ããã¯ãªãã¯ã«å¿â¦
ã¯ããã« ãWicketã®ããããããã¤ã®ç¯å²æå®ã®ç½ ï¼åç·¨ï¼ãã®ç¶ãã§ãã èªåã®ä¸ã§ã¯æ¬ã¯éãã¦ãã¾ã£ãã®ã§ãããåç·¨ã ãã§ã¯æ°æã¡æªãã®ã§â¦ã ãªãã¼ãã£ã³ã°å¾ã«ãå¤ãã¯ã©ã¹ãªãã¸ã§ã¯ãã¨é¢é£ã¥ãããªãã¸ã§ã¯ããæ®ã件 ã©ããã¦çºçããã®ã ãªâ¦
ã¯ããã« ããããããã¤ãå©ç¨ããéã¯ãReloadingClassLoader.includePatternã¡ã½ããã使ç¨ãã¦ç¯å²ãæå®ãã¾ãã ç§ã¯æåãåã«ããããããã¤ããã対象ã®ã¯ã©ã¹ãå«ã¾ããããã«ãincludePatternãæå®ããã°ããã®ããªãã¨æã£ã¦ãã¾ããã ãããâ¦
ãã³ãã¬ã¼ãã«pokke-buleãããã¾ã§ä½¿ç¨ãã¦ããã®ã§ãããJavaã®ã½ã¼ã¹ãè¨è¼ããéã«å¢ãããã¯ã¿åºãã¦ãã¾ãã¨ããæ¬ ç¹ãããã¾ãã ãªãã¨ãªããã³ãã¬ã¼ããè¦ã¦ããã¨ãããJavaã®ã½ã¼ã¹é¨åã ãã¹ã¯ãã¼ã«ãã¼ãåºããããã¦ããããã³ãã¬ã¼ããåâ¦
ã¯ããã« Wicketã®ããããããã¤ã®å®è£ æ¹æ³ã調ã¹ã¦ãããããªããªãé¢ç½ãã£ãã®ã§ã¡ã¢ããããã¨ã«ã ã¯ã©ã¹ãã¼ããReloadingClassLoaderã«å·®ãæ¿ããã¨ãããããã¹ã¦ã¯å§ã¾ãã®ã§ãããå·®ãæ¿ãæ¹ã¯ä»åã¯åãæ±ãã¾ããã 解æãå®æ½ããç°å¢ Tomcat â¦
ããããªãã2008/09/23ãä¿®æ£ãã¾ãã ã¿ã¤ãã«åã³å 容ã¯ä¸è¨ãããã¹ã姿ã ã£ãããã§ã ä¿®æ£åï¼ReloadingClassLoaderãã¯ã©ã¹ãã¡ã¤ã«èªãã§ãããªããã¨ããã件 ä¿®æ£å¾ï¼ReloadingWicketFilter使ç¨æã«ã¯ã©ã¹ãã¡ã¤ã«ãç£è¦ãã¦ãããªããã¨ããã件â¦
ã¯ããã« org.apache.wicket.protocol.http.ReloadingWicketFilterã使ãã¨ãã¯ã©ã¹ãã¡ã¤ã«ã®å¤æ´ãç£è¦ãã¦ããã¾ãã ããã¦ReloadingWicketFilterã使ç¨ããéã«ä½¿ãããã¯ã©ã¹ãã¼ããorg.apache.wicket.application.ReloadingClassLoaderã§ãã ã§ãReâ¦
件åéããªè¨³ã§ãã q4eã¯ã¦ã£ã¶ã¼ãå½¢å¼ã§Mavenã®ããã¸ã§ã¯ããä½æããeclipseãã©ã°ã¤ã³ã§ãã 使ã£ã¦ã¿ãã®ã§ãããä¸çªä½æãããã£ãwicketã®quickstartãä½æåºæ¥ãªãã¨ããã ã§ã試è¡é¯èª¤ã®çµæãããããã°ã¨ããããq4eã«ããã¦ã£ã¶ã¼ãã¯æå¾ã¾â¦
ã¯ããã« ãWicketã¨Swingã¯ä¼¼ã¦ããªã¼ãã¨ããã®ãå°è±¡ã ã£ãã®ã§ãããå½ç¶ã®ããã«éãã¨ãããããããã§ãã å¥ã«ããï¼ãªãã§ãã¨ããéãã¯ä»ã®ã¨ããééãã¦ãªãã®ã§ãããã¸ã¼ãã¨æã£ãç®æã¯ããã®ã§ã¡ã¢ã ActionListenerãç¡ã ãããç¡ããã â¦
S2DAOã«ã¤ãã¦è§¦ãã¦ããã¼ã¸ã£ã¦æå¤ã¨å°ãªã ã¨ããããã§ã使ãå§ããã®ã«æå¤ã¨è¦å´ãã¾ããããªã®ã§ããã£ãæãã¡ã¢ã ç°å¢ã¯ä»¥ä¸ã®ã¨ããã Windows XP S2DAO 1.0.47 Java 1.5.0_09 Tomcat 5.5.17 struts 1.1 mySQL 5.1.11 mysql-connector 5.1.6 Javâ¦
struts1.1ã®ããªãã¼ã·ã§ã³ã使ã£ããã¨ããªãã£ã struts1.1ã«ã¯ãvalidation.xmlã«ãã§ãã¯å¦çãè¨è¿°ããã¨ããµã¼ããµã¤ãã«ãããã§ãã¯ã¨JavaScriptã«ãããã§ãã¯ãè¡ã£ã¦è¡ã£ã¦ãããæ©è½ãããã¾ãã 便å©ãããªæ©è½ãªã®ã«ããªããå®åã§ä½¿ç¨ããæ©â¦
èªããã¨æã£ãçç± ä»äºã§ãã¤ã³ããããã使ã£ãã®ã§ãããããªã樹ç¶ã«æããªããã°ãªããªãã®ããã¨ãã辺ãã飲ã¿è¾¼ãããããããã¦ããããã ã¶ã»ãã¤ã³ãããã(2005/11/2ããã¤ã¢ã¢ã³ã社ãããã¼ï½¥ãã¶ã³ãããªã¼ã»ãã¶ã³ãç¥ç°æå ¸è¨³)ãèªãã°ã¡â¦
ã½ããã¦ã§ã¢éçºã¨ããä»äºããã¦ããã¨ããã¡ã¢ã£ã¦ãããªããã°å¿ãããªã¼ãã¨ããäºæã«è¯ãåºä¼ãã¾ãã ããã¯ããããªç©äºãè¨é²ãã¦ããã¡ã¢ã