2009-05-01ãã1ã¶æéã®è¨äºä¸è¦§
NetBeansã使ã£ã¦å¦ã¶ã¡ãã£ã¨è¦ç¹ã®éãJavaå ¥éã®ç¬¬ï¼åã§ããååã®ã¨ã³ããªã¼ã§ã¯ãNetBeansã®ã¤ã³ã¹ãã¼ã«ã¨ç°¡åãªããã°ã©ã ãä½æãã¦ã¿ã¾ãããããã¯ããããHello Worldããã°ã©ã ã¨å¼ã°ãããã©ããªããã°ã©ãã³ã°è¨èªã§ãæåã«å¦ã¶åå¼ã®ãããªâ¦
SimpleDateFormat ãã¡ã½ããå ã§æ¯åçæããã®ã¨ static å¤æ°ã¨ãã¦åæåãã¦å©ç¨ããã®ã¯ã©ã¡ããæ©ãã®ãã http://d.hatena.ne.jp/r_ikeda/20090529/threadlocal ã¨ããã¨ã³ããªã¼ããã£ãã®ã§èªåã試ãã¦ã¿ã¾ããã
å é±ã®åææ¥ã®è©±ã§ããã第2åXHTML&CSSã³ã¼ãã£ã³ã°åå¼·ä¼ãã«åå ãã¦ãã¾ãããå 容ã¨ãã¦ã¯åèªãã¼ãPCã使ã£ã¦ãé¡ã¨ãã¦åºããããã¶ã¤ã³ã®ã³ã¼ãã£ã³ã°ãè¡ãå½¢å¼ã§ããåå 人æ°ã¯20åå¼·ã¨Javaåå¼·ä¼ã®ï¼å以ä¸ã®äººæ°ã§ãï½ éã¾ã£ã¦ãã¦ããã®ã¯ä¸»â¦
Teedaãªã©JavaEEã§ã¦ã§ãã¢ããªãæ§ç¯ããå ´åãããã¯ã¨ã³ãã®TomcatãGlassfishã«Apacheãã転éããã¨æãã¾ããããããCSSãªã©éçãªãã¡ã¤ã«ã¾ã§Tomcatã«å¦çãããã®ã¯ã ããªã®ã§ããããã¯Apacheã§å¦çãçµãããããããªè¨å®ãè¡ãã¾ãããã Proxyâ¦
çç¶ï¼ VMware Server 2ãã¤ã³ã¹ãã¼ã«ããå¾ãEclpseã§Tomcatãèµ·åããªããªã åå ï¼ VMware Server 2ã§ã¯ç®¡çç¨ã«Tomcatãèµ·åãã¦ãããããã¼ããããã©ã«ãã®ã¾ã¾ã§ãã
C:\Program Files\Adobe\Adobe Dreamweaver CS4\JVM\bin>java.exe -version java version "1.3.1_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02) Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode) 1.3ã»ã»ã»ã ã¨â¦
ï¼æï¼ï¼æ¥ï¼åï¼ã«ãªã¼ãã³ã½ã¼ã¹ã«ã³ãã¡ã¬ã³ã¹ãæå¹ã§éå¬ããã¾ããæå¹Javaã³ãã¥ããã£ã¨ãã¦ã¯ã³ãã¥ããã£ã®åºç¤ãèå¼±ãªã¨ããããããä»åã®ãªã¼ãã³ã½ã¼ã¹ã«ã³ãã¡ã¬ã³ã¹ã§ä½ããè¡ãäºå®ã¯ããã¾ããã ãã®ãªã¼ãã³ã½ã¼ã¹ã«ã³ãã¡ã¬ã³ã¹ã§ã¯æ«»â¦
è¿ã ã主ã«ã¦ã§ãå¶ä½è æ¹é¢ã対象ã¨ãã¦ããã°ã©ãã³ã°å ¥éçãªåå¼·ä¼ãéå¬ãããããªã¨ä¼ãã§ããäºããããå ¨ãã®ããã°ã©ãã³ã°çµé¨ã®ãªã人åãã«NetBeansã使ã£ãããã°ã©ãã³ã°å ¥éè¨äºãæ¸ãã¦ã¿ããã¨æãã¾ãããããªåæãªã®ã§ãä¸è¬çãªå ¥éè¨â¦
ã¯ã¦ãªã®éè¯ãã¶ã¤ã³ã使ã£ã¦ãããã§ããããã¾ãã¡æ°ã«å ¥ã£ã¦ããªãã£ãã®ã§ã¼ãããä½ã£ã¦ã¿ã¾ãããHTMLãããã¾ãè¯ãæ§é ããã¦ããªãã®ã§ãCSSã¯ããªãã°ãã°ãã§ãããã¯ããã£ããã¨ããæ§é ãåã£ã¦ãããã©ããã¯CSSã®å¯èªæ§ã«å½±é¿ãã¾ããã ã¾â¦
ã¡ããã¨æã¡åããã§ã¢ã¹ãã¼ã¬ã¼æå¹åï¼æ¡è¥¿ï¼ä¸ç®åºã«å ¥ã£ãããã§ããããã®åºèã¯çµæ§ãªæ°ã®ã³ã³ã»ã³ãã解æ¾ããã¦ãããã¼ãPCãæã¡è¾¼ãã§ã®ã¢ã¯ã¢ã¯ã«æé©ã§ããï¼ å ´æã¯ã¸ã¥ã³ã¯å ã®è¿ããèã®ç©´ã®æ¨ªè¾ºãã§ããé§ ãè¿ãã®ã§ããªãããããï¼ï¼ â¦
http://www.r-styles.net/mt-archives/weblog/webdesign/r-css-coding-styles.htmlã¨ããã¨ã³ããªãèªãã ã®ã§ãããèªåã¯æ§é åãã¦CSSãçµã以å¤èãããã¨ç¡ãã£ããªã¼ã¨æãã¾ããã å°ãHTML(XHTML)ãæ£ããæ§é åããã¦ããäºãåæã¨ãã¦ããã¾ãã
Linuxã§æ®æ®µãã使ã£ã¦ãã人ã«ã¨ã£ã¦ã¯å¸¸èã¬ãã«ãªã®ããããã¾ãããã©ããµã¼ãã®è¨å®ããã¦ãããã¯ã¾ã£ãã®ã§ãåå¿é²ã
æï¼ã®Javaåå¼·ä¼ã§ãããååä¸ã¯NetBeansã使ã£ãSwingã®è©±ãåå¾ã¯Effective Javaã®èªæ¸ä¼ã§ãã åå è ã¯åè¨ã§10åï¼ãã®ãããã§å®å®ãã¦éå¬ãã¦ãããã°ããã§ããã
ææ¥ã®è©±ã§ãããæå¹Javaã³ãã¥ããã£ã®åå¼·ä¼ãããã¾ãã å 容ã¨ãã¦ã¯ãNetBeansã使ã£ãSwingã¢ããªã±ã¼ã·ã§ã³éçºãã³ãºãªã³ãã¨ãEffective Java第ä¸çèªæ¸ä¼ãã®ï¼æ¬ã§ãã èå³ãæãããæ¹ã¯ãå ¬å¼ãµã¤ãå ã®åç¥ãã¼ã¸ãåç §ã®ä¸ãGoogleGroupã¸â¦
Djangoã®ãµã¤ãã«ã¯ãDjangoã®è¨è¨ææ³ãã¨ããããã¥ã¡ã³ããããã¾ããã©ããªãã¬ã¼ã ã¯ã¼ã¯ã§ãããã§ãããè¨è¨ææ³ãç解ãããã®æµããã¤ããäºã§æ£ããå©ç¨ã¸ã®æçã«ã¼ãã§ãããããèªåã®ææ³ã«ãããªããªãã°åé¡ã§ããå¯è½ã§ããã°ããã®ãã¬ã¼â¦
æ°äººç ä¿®ã¨ããã®ã¯ã²ã£ãããã¨ãããå¦ããªãã ãã© å æ¥ãSIer ã®å人ãæ°äººç ä¿®ã®è¬å¸«ã¨ã㦠Java ãæããã¨ããã話ãèãã¾ãããä¼ç¤¾å´ããã¯ãJava ãæããã®ã§ã¯ãªãã"ããã°ã©ãã³ã°" ãæãã¦ã»ããããªãã¸ã§ã¯ãæåã¯æããªãã§ãã ãããâ¦
å æ¥ãå¹¾ã¤ãã®è¨èªã§ããã©ã¼ãã³ã¹ã測å®ãã¦æ¯è¼ãã¦ãããµã¤ããè¦ãæ©ä¼ããã£ãã®ã§ãããJavaã®ãµã³ãã«ã³ã¼ããæªæã«æºã¡ã¦ããçºãæ¤è¨¼ãã¦ã¿ã¾ãããã¾ãã¯çµæã§ãã 試è¡åæ°100ï¼åä½ããç§ï¼ int 2,040 Integer 22,630 試è¡åæ°100ä¸ï¼åä½ãâ¦
ãã¦ãNetBeansã«ããGUIã®æ§ç¯æ¹æ³ãããç¨åº¦ææ¡ããã®ã§ãä»åã¯Swingã¢ããªã±ã¼ã·ã§ã³ã®è¨è¨ã«ã¤ãã¦ã§ãã ä»åä½æããã¢ããªã±ã¼ã·ã§ã³ã¯æ¬¡ã®ãããªã¤ã³ã¿ã¼ãã§ã¤ã¹ãæã¡ã¾ããåãã¨ãã¦ã¯ãUpããã¿ã³ãã¯ãªãã¯ããã°ã«ã¦ã³ã¿ã¼ã®æ°åãå¢å ãã¦â¦
NetBeansã®ãã¶ã¤ã³ãã¥ã¼ã§ã¯ãã¬ãããããããã£ãã¤ã³ã¹ãã¯ã¿ã®ï¼ã¤ã®ãã¥ã¼ã使ããªããGUIãæ§ç¯ãã¦ããã¾ããã¾ãã¯ãããã®ãã¥ã¼ã®ä½¿ãæ¹ã確èªããªãããç°¡åãªã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ãã¦ã¿ã¾ãã
GUIãã«ãã¼ã使ç¨ãã¦ããã¨ãJFrameã®ä¸ã«ã©ãã«ããã¿ã³ãªã©ã®ã³ã³ãã¼ãã³ãããµã¯ãµã¯ã¨é ç½®ããä½ç½®ã調æ´ãã¦ã¬ã¤ã¢ã¦ããããã¨ãåºæ¥ã¾ãããããã®ããæ¹ã¯å°ããªã¢ããªã±ã¼ã·ã§ã³ã§ããã°åé¡ã«ãªãã¾ããããããç¨åº¦ã®è¦æ¨¡ã®GUIã¢ããªã±ã¼ã·ã§â¦
Javaéçºè ã®éçºç°å¢ï¼IDEï¼ã¨è¨ãã°Eclipseãå®çªã§ãããæè¿ã¯Netbeansãååã«ä½¿ã価å¤ã®ããã¾ããç¹ã«Swing(GUI)ã®éçºç°å¢ï¼Matisseï¼ã«ãããã¡ãã£ã¨ããã¢ããªã±ã¼ã·ã§ã³ã«GUIãç°¡åã«æä¾ã§ããããã«ãªãã¾ãããã¾ããSwingã»JVMã®ããã©ã¼ãâ¦
Pythonã«ã¯ä¾¿å©ãªæååç½®æã¯ã©ã¹ãç¨æããã¦ãã¾ãï¼2.4以ä¸ï¼ã ç½®æã®ããã®ãããã³ã°ã¨ãã¦ãããã使ç¨ãã¾ãããlocals()ã使ç¨ããã°ããªãç°¡æ½ã«æ¸ããã¨ãã§ãã¾ãã passwd = 'admin123' from string import Template print Template('passwd=$â¦