2007-03-01ãã1ã¶æéã®è¨äºä¸è¦§
Java Power Toolsã®IDEæ票ãå é±è¦ãã¨ãã¯Eclipseããã³ããã§ãããã§ï¼NetBeansã¨IDEAãï¼ä½äºãã ã£ãã®ã«ï¼ãã£ãè¦ããIDEAããããã«ãªã£ã¦ããã æ¯å½èªã§ä½¿ããã°ï¼åç¨ãã©ããã¯ããã»ã©ãã¼ãã«ã«ã¯ãªããã¦ãã¨ãã®ãã Issue Trackingãè¦ãâ¦
IDEA6.0.5ãªãªã¼ã¹ãä»åã®ç®çã¯ï¼Tomcat6.0ãµãã¼ãããªã 誰ããè¨ã£ã¦ãããIDEAã¯ãã£ã¡ããã°ç´ãã¦ãããããï¼EclipseãNetBeansããã¤ã¤ãã¨ã確ãã«ï¼IDEAã¯é »ç¹ã«ãã¤ãã¼ã¢ãããã¼ãããã®ã§æåã ã ï¼ã¤ã¤ï¼èª°ãç¥ããªãã£ã¦ã:-D å®éï¼å»å¹´â¦
ãã¼ãã¼ãæ´¾ã®ã²ã¨ãã¡ã«ï¼NB6ã§ã©ããªã·ã§ã¼ãã«ãããã¼ãå¢ããã確èªããæ¹æ³ã ã©ã£ã¡ãç¥ããªãã£ããã ãã©ï¼NetBeansã«ã¯ã·ã§ã¼ãã«ãããã¼ã®ä¸è¦§ãHTMLåããæ©è½ã¨ï¼ä»»æã®ï¼ãã¡ã¤ã«ãæ¯è¼ããæ©è½ããããããªã ã¾ãæåã®ãã·ã§ã¼ãã«ãããâ¦
ãã¦ãã®å®è£ ã®çµæãåé ã®MyModuleã¯ã©ã¹ã§ã¯ã©ã®ãããªãã¨ãèµ·ãããã¨ããã¨ããã this.bind(Dependency.class).to(DependencyImpl.class); to()ã®å¼æ°ã«æå®ããã¯ã©ã¹åããbind()ã®å¼æ°ã«æå®ããã¯ã©ã¹ã®ãµãã¯ã©ã¹ã¾ãã¯åãã¯ã©ã¹ã§ãªãã¨ã³ã³ãâ¦
IntelliJ IDEA Blogã§ç´¹ä»ããã¦ãï¼ããèªãã§ç¥ã£ããã ãã©ï¼IDEAã®XMLã¨ãã£ã¿ã¯ï¼DTDãXMLã¹ãã¼ããç¡ãã¦ãXMLææ¸ããè£å®åè£ãå¦ç¿ãããããã code assistance is available for XML documents even when a DTD is not loaded, after a while thâ¦
èªç¤¾ã«æ»ã£ãã¨ãã«å¶ç¶è¦ã¤ãããã¼ã¸ï¼ ä»ã®ä»äºã®å»¶é·ä¸ã«WASãAIXããããã ãã©ï¼JVMããããããã³ã¢ã«ä½¿ãè¾¼ããã¨ã¯ãªãã¨æããã©ä¸å¿ã¡ã¢ï¼ IBM JVMã¯IBM JVMã§ï¼JDK1.4以åã®Classicã¨JDK5.0以éã®J9 JVMãªã©ããããæ´å²ãããããã ï¼ ï¼Sun JVâ¦
ã1.2ç³»ã®SVNã使ã£ã¦ããããHudson 1.36ã§åºå®ãã¦ãããã¨ã®ãã¾ã£ã¦ããã¾ãããï¼ããã¯åãªãåéããæ¨å¤ï¼Hudsonã®ã³ã¼ãçºããã¨ãã«ï¼SVNã®ã¯ã©ã¤ã¢ã³ããsvnããSVNKitã«å¤æ´ãã¦ãã£ãã®ã§ï¼ãããããããï¼ãã¨æãï¼1.90ã«ãã¼ã¸ã§ã³ã¢ãããâ¦
SVNã®å®è£ ãï¼svnç´æããSVNKitçµç±ã«å¤ãã£ã¦ãã£ãï¼ â/hudson/hudson/main/core/src/main/java/hudson/scm/SubversionSCM.java ã®ãã¼ã¸ã§ã³ 1.18 㨠1.19 ã®å·®å ...ã ãã«çã¾ããï¼ã©ããã³ã¢ã¢ã¼ããã¯ãã£ã«å¤§ããªå¤æ´ããã£ã模æ§ï¼ã¨ããããæ°ã«â¦
ãä»æ´ï¼Javaãªãã¦åºæ¥ã¦å½ããåã§ããããªãæä¸ã«ï¼ã¡ããã¨ã¢ãã¼ã«ããã£ã¦å¤§äºã ããªãã ããã¯ãã¦ããï¼GCãã°è§£æã¯jstatï¼jvmstatã°ã©ãååã®ãã¢ã便å©ãªã®ã§ï¼ä¾¿ä¹ãã¦å®£ä¼ãã¦ãããã:-D âjvmstatã°ã©ãåå ãµãã¼ããã¼ã¸
ããããç©è°ãé¸ãã¦ããNTTãã¼ã¿ã®ç¤¾é·ããã¸ã®åå¿è¨äºãã³ã¡ã³ãã¨ããªã³ã¯å ã¨ãèªãã¨é¢ç½ãã å¦å®çãªåå¿ãå¤ãã¨ããè¦ãã¨ï¼ã¿ããªãã©ã¤ç®ã«ãã£ã¦ããã ãªãã¨ï¼ãã¿ãã¿æãã
FindBugsã®è¿½å detectoréã çµæ§ãããããããã ãã©ï¼ã³ã¼ãã¤ã³ã¹ãã¯ã·ã§ã³ã¯IDEAã«ã¾ããã¦ãã®ã§ï¼ãã¾ã御å©çãªãã
IE6ã ã¨selectã¿ã°ã¯Windowed Elementã§è¡¨ç¤ºãããããï¼z-indexãå¹ããªãã£ã¦ã¤ãã§ããã âhttp://blog.shimazu.org/archives/10 divã¿ã°ã¨CSSãçµã¿åããããã«ãã¦ã³ã¡ãã¥ã¼ãªããä½ã£ã¦ã¦ï¼éæªãselectã¿ã°ã¨éãªãã¨ï¼ããã ãã§å¤§é¨ãã:-( ãã®â¦
id:matarilloã¨id:mr2gtsã¯ï¼ä»é±ã®AERAãèªãããã«ã
ãããªããã ããï¼ > java -jar hudson.warã ãã§ï¼Webã¢ããªãèµ·åãããã¡ãã£ã¨ã¹ã´ããªããï¼ ã¦ããã¨ãã¯ï¼Subversionãå¤ãããã§Hudson 1.36ã§åçµãã¦ããã ãã©ï¼ããã¶ãé²åãã¦ããã®ã§ãããã WARãã¡ã¤ã«ï¼hudson.warï¼ãJARã«è¦ç«ã¦ï¼MANIâ¦
ã¤ãã¥ãååéè¦ã ãªã£ã¦ã ãªããèãã¦ãªãããã°ã©ã ã ã£ã¦ããã©ã³ã¶ã¯ã·ã§ã³ã¹ã¯ãªããã§ãããã£ã¦è¨ãã°æ ¼å¥½ãã¤ããï¼ä½ããèªæãè¯ãããã
ã¤ã¤ï¼ååãç¥ã£ã¦ããã¨ãéè¦ãªã®ã§ã¯ãªãã ããã¸ã§ã¯ãã®åå è ã®ãã¡ï¼WARããEARãæ§æããã®ãã«ï¼ã©ã®é ç½®è¨è¿°åã«ã©ããªãã¨ãæ¸ãã°ããã®ãææ¡ã§ãã¦ã人ãï¼ã©ãã»ã©ããã®ã ããã ãããã®ã¾ããã ã¨ï¼ï¼ãï¼å²ãããã°ä¸åºæ¥ãªæããªãã â¦
Servlet2.4ã®ä»æ§æ¸ã§è©²å½ç®æãè¦ã¤ãããã¦ãªããã ãã©ï¼WebLogic9.0ã®ããã¥ã¡ã³ãã«æ°ã«ãªãè¨è¿°ã... WEB-INF ãã£ã¬ã¯ããªã¯ãã¢ããªã±ã¼ã·ã§ã³ã®ãããªã㯠ããã¥ã¡ã³ã ããªã¼ã®ä¸é¨ã§ã¯ããã¾ãããWEB-INF ãã£ã¬ã¯ããªå ã«ã¯ãã³ã³ããã«ãã£ã¦â¦
æ¥ããããªããï¼ã¤ãæè¿ã¾ã§Servlet.init()ã使ã£ã¦ããã¾ããï¼load-on-startupã§èª¿æ´ãã¦ï¼ã ServletContextListenerèªä½ã¯ï¼Servlet2.3ãã¨ãããè¯éºã«ã¹ã«ã¼ãã¦ããã ãã©ï¼ãã¬ã¼ã ã¯ã¼ã¯ã®åæåã§çµæ§ä½¿ããã¦ããã¿ããããã§ï¼ç¥ããã¦ã»ãã»â¦
âJSP2.0ã¯çµæ§ããã¨æãä¾ãã°ï¼pageãã£ã¬ã¯ãã£ãã®pageEncodingã§ï¼ <%@page pageEncoding="Windows-31J" %> ã«ãã¦ãããªãã¨ï¼JSPä¸ã«ãã¼ãã³ã¼ãããæ©ç¨®ä¾åæåãtranslation-timeãã¨ãã«åããã¨ãï¼ JSPã®æååããã¤ã³ãã¯ï¼ JSPã«ãã¼ãã³ã¼â¦
ç©æ¸ãã®äººãè²å ã¨ãã»ã¤ãæ¸ããããæ°æã¡ã¯åãããã§ããªããããã§ãï¼ç·ã®äººãæ¸ãã®ã¯çããé¨é¡ã ã¨æãã ãããï¼ãããæ¦æ¬ä¿äºãªãã ãããªãããã ãæ¦æ¬ä¿äºã®ã«ãªã¹ãè²å (akita essay collection)ä½è : æ¦æ¬ä¿äºåºç社/ã¡ã¼ã«ã¼: ç§ç°æ¸åºâ¦
ãã¯ã¯ã¯ãããï¼ããããçç ´ã§ããããç¥ããªãã:-D ãJï½ï½ï½ãã¨ããï¼³ï½ ï½ï½ï½ï½ ï½ãã£ã¦å ¨è§è±æ°ä½¿ã£ã¦ãã¨ï¼ã¡ãã£ã¨ãã¯ã£ã¦ãããªãã éã«åæã¨æ¬§æã§ãã©ã³ããã¡ããã¨åãã¦ããæç« ãªã©ã¯ï¼æåããããã ã¢ã¿ã·ã®å ´åï¼ããããé¨åã«æ°â¦
ããããJ2EE1.4ç³»ã®æ¬ãå°ãªãããï¼ããã ãJ2EE1.3ãé·çãã ã£ãã¨ããäºãï¼ã æ´æ¸ã ã¨ããããªã®ãä½åãããã®ã«...
使ãã¨ãããã¿ã°ã®å±æ§å¤ã¨ãã§translation-timeã«å¤æ°åã¨åã決å®ããå ´åã ããã execution-timeã«æ±ºå®ããã¹ã¯ãªããå¤æ°ãªããï¼doStartTag()ãããã§pageContextã«å±æ§åãè¾¼ãã ããªãã ãï¼ããããtranslation-timeãã¨ãã ãæ示ããå¿ è¦ããªãâ¦
ãªãã¦ããããï¼JSP1.2ãã¨ãï¼ã¿ãããªHTMLäºæã¿ã°ãä½ã£ã¦ï¼HTMLã¨äºææ§ä¿ã¤ããã«åã«ã¨ã³ã¼ããã¯ããã ãã®å±æ§ï¼tabindex, accesskeyã¨ãaltãªã©ï¼ãã¡ã¾ã¡ã¾çµãã èªåãæ °ãã¦ããããã ãªãã ããã è¨ã£ã¦ï¼WebLogicã®ãªã³ã©ã¤ã³ããã¥ã¢ã«ãä¸â¦
ããå¿ããã®ã§ã¡ã¢ã 以ä¸ã®æ¹æ³ã ã¨ï¼å ã®ã¹ã¯ãªããããããªãã®ã§é¢åããªãã -Tomcatã®å ´å > catalina run > console.log -WebLogicã®å ´å > startWeblogic > console.log -OC4Jã®å ´å > java -jar oc4j.jar > console.logãã³ãªãã¨èããªãã§ï¼åã«â¦
ä¸ã®ã¨ã³ããªã®äºå調æ»ããããªãããããªãã³ã¼ããæ¸ãã¦ãã¹ãã package example; import javax.servlet.http.*; import javax.servlet.*; import java.io.IOException; public class LoopServlet extends HttpServlet { protected void doPost(HttpSerâ¦
ã£ã¦èª°ãè¨ã£ã¦ãããªãããªã¼ã:-D ååã®ãã¨ã§ï¼ãããããä»è¾¼ã¿ãå ¥ãã¦ãããªãã¨ã°ã¬ã¼ã¹ãã«ã«Threadãåæ¢ã§ããªããã¨ã¯ããã£ãã ããã§ãã£ã¦ï¼âããããããã âThread.stopãThread.suspendãThread.resumeãããã³ Runtime.runFinalizersOnEâ¦
ã ã£ã¦ãããããã©ããã ããã:-(
ã£ã¦æããã ãã©ï¼JSP2.0ã®ä»æ§æ¸ã¿ã¦ãããã£ã½ããã¨æè¨ãã¦ãå ´æã¯è¦ã¤ããããªãã£ãã ã§ãï¼çå±ãããã¦ãã¹ã¬ããã»ã¼ãã ããã ï¼ãã¼ï¼ããã§è¨ãã«ã¹ã¿ã ã¿ã°ã¨ã¯ï¼SimpleTagSupportã ã¨ãBodyTagSupportã®åã©ããã¡ã®ãã¨ãã ã·ã³ã°ã«ã¹ã¬â¦
ãDIãè¦ããªããã¨ããã¯ã±ã§ã¯ãªãï¼ã¾ããã¯ãDIãæµè¡ã£ã¦ããã使ãï¼ãç¨åº¦ã®ãã¼ãºãªã®ã§ï¼ç¡çã«ä½¿ãäºã¯ç¡ãããªã£ã¦ï¼ ã ã£ã¦ï¼ã·ã¹ãã éçºã£ã¦DIï¼ã¨ãããSpringãSeasarã¨ããå ·ä½çãªã½ãªã¥ã¼ã·ã§ã³ï¼ä½¿ãã°å¹¸ãã«ãªããã£ã¦ãããããªãã§ãâ¦