2013-01-01ãã1å¹´éã®è¨äºä¸è¦§
è¨å® [1] 以ä¸ã®ãµã¤ããããjarãã¡ã¤ã«ãjersey-bundle-1.17.1.jarããå ¥æãã https://jersey.java.net/download.html [2] ä¸è¨ã®Jarãã¤ã³ãã¼ããã (ä¾ãã°ãEclipseã®å ´åãããã¸ã§ã¯ããå³ã¯ãªãã¯ãã [Propaties]-[Java Build Paht]-[Libraries]â¦
è¨å®æé [1] JSONICã®ã©ã¤ãã©ãªãã以ä¸ã®ãµã¤ããããã¦ã³ãã¼ã http://sourceforge.jp/projects/jsonic/ [2] ãã¦ã³ãã¼ããããã¡ã¤ã«ãjsonic-X.X.X.zipãã解åãã ï¼X.X.X : Versionãä»åã¯ãã1.3.0ããç¨ããï¼ [3] 解åãããã©ã«ãå é¨ã«ããâ¦
ã¯ããã« * 以ä¸ã®è¨äºã§ãJacksonãæ©ãã¨ãã£ãã®ã§ãJacksonã試ãã¦ã¿ã http://d.hatena.ne.jp/arn/20120128/p1 è¨å®æé [1] Jacksonã®ã©ã¤ãã©ãªãã以ä¸ã®ãµã¤ããã3ã¤ã®jarããã¦ã³ãã¼ã http://wiki.fasterxml.com/JacksonDownload 1-1ï¼jacksonâ¦
â è¨å®æé [1] GSONã®ã©ã¤ãã©ãªãã以ä¸ã®ãµã¤ããããã¦ã³ãã¼ã http://code.google.com/p/google-gson/ [2] ãã¦ã³ãã¼ããããã¡ã¤ã«ãgoogle-gson-X.X.X-release.zipãã解åãã ï¼X.X.X : Versionãä»åã¯ãã2.2.4ããç¨ããï¼ [3] 解åãããã©ã«â¦
â JUnitã«ã¤ã㦠* JUnitããã¸ã§ã¯ãã®ä½ãæ¹ãªã©ã«ã¤ãã¦ã¯ã以ä¸ã®è¨äºãåç §ã®ãã¨ã https://blogs.yahoo.co.jp/dk521123/6856379.html â 解決ç * Javaæ¨æºã®ãªãã¬ã¯ã·ã§ã³æ©è½ãå©ç¨ãã private å¤æ° * java.lang.reflect.Field ã使ç¨ãã privateâ¦
ãµã³ã㫠使ç¨ããWebãµã¼ãã¹ * Axis2ã§èªä½ãããµã¼ãã¹ï¼ä¾ãã°ã以ä¸ã®URLãåèï¼ãèµ·åããã¦ãå®è¡ãã http://blogs.yahoo.co.jp/dk521123/31944955.html RestClientWithAxis2.java * Axis2 ã«ã¤ãã¦ããµã³ãã«ãaxis2-1.X.X\samples\yahoorestsearcâ¦
ç¹å¾´ ã¯ã©ã¹ã«é©ç¨ããå ´å * ç¶æ¿ããããã¨ãå¿ é ã¨ãªã * ãã®ã¯ã©ã¹ã¯ãã¤ã³ã¹ã¿ã³ã¹åã§ããªããªã ã¡ã½ããã«é©ç¨ããå ´å * ãã®ã¡ã½ããã¯ããªã¼ãã¼ã©ã¤ããå¿ é ã¨ãªã * ãã®ã¡ã½ããã¯ãå¦çå 容ãè¨è¿°ã§ããªã * ãã®ã¡ã½ããã®ã¯ã©ã¹ã«ããabstâ¦
â æé ä¾ : ãC:\sample\sampleWsdlFile.wsdlããã CSãã¡ã¤ã« ãæ½åºãã Visual Studio C++ 2008 Express ã使ã£ã¦ããå ´å [1] [ã¹ã¿ã¼ã]-[ãã¹ã¦ã®ããã°ã©ã ]-[Microsoft Visual Studio C++ 2008 Express Edition] -[Visual Studio Tools]-[Visual Sâ¦
â æå·å/è¤ååãã * è²ã æ¹æ³ããã¨ã¯æãããApache Commonsã使ã£ã¦ãæå·å/è¤ååãè¡ã â Apache Commonsã«ã¤ã㦠Apache Commonsã®ä½¿ç¨ç¨é * Base64ã®ã¨ã³ã³ã¼ãã»ãã³ã¼ãã®ããã«ä½¿ç¨ Apache Commonsã®ãã¦ã³ãã¼ãå http://commons.apache.orgâ¦
æ§æ ãã¼ã¸é·ç§» RequestDispatcher dispatcher = request.getRequestDispatcher("/ããã¼ã¸ï¼ã¯ã©ã¹åï¼ã"); dispatcher.forward(request, response); ãã©ã¡ã¼ã¿ã®åã渡ã * <form>ã¿ã° å ã® <input name="ããã¼åã" value="ãå¤ã">ã®å¤ãåå¾ããæ¹æ³ã åä¸ã®ãã©ã¡ã¼ã¿ String ãå¤ã = request.g</form>â¦
ãã¼ã¿ãã¼ã¹ é¢é£ããã¢ã«ã´ãªãºã [1] ãã°å è¡æ¸ãè¾¼ã¿ï¼Write Ahead LoggingãWALï¼ [2] 2ç¸ã³ãããã¡ã³ã [3] ãªã¬ã¼ã·ã§ã³ãã¼ã¿ãã¼ã¹ [1] ãã°å è¡æ¸ã込㿠* ãã¼ã¿ãã¼ã¹ã¯ä¸è²«æ§ï¼Integrityï¼ãä¿ããªãã¦ã¯ãªããªãã â ãto-doãªã¹ãï¼ãã¼ã¿â¦
â ã¯ããã« ãã¿ã¼ã³èªèï¼Pattern recognitionï¼ã«ã¤ãã¦æ±ã â 段é * ãã¿ã¼ã³èªèã¯ã以ä¸ã®ãããªæ®µéãè¸ãã ãAã å¦ç¿ï¼è¨ç·´ï¼æ®µé * è¨ç·´ãã¼ã¿ãå¦çãã¦ã¯ã©ã¹ã®ç¹å¾´ãæ½åºãã段é ãBã åé¡æ®µé * æ°ããåé¡ã©ãã«ã®ã¤ãã¦ããªããã¼ã¿ãåâ¦
â ã¯ããã« ç解ããããã«ãããã¤ãã®å·¥ç¨ãè¸ãã§ãå ¬ééµæå·æ³ã«ã¤ãã¦ç解ãã ãï¼ãé¢é£ç¨èª * å ¬ééµ ... æå·åã ãã§ããéµ * ç§å¯éµ ... è¤ååã ãã§ããéµ ããã以ä¸ã®ããã«ä¾ããããã * ç§å¯éµ ... éµ * å ¬ééµ ... å京é https://www.bâ¦
解決æ¹æ³ Deprecatedã使ã æ§æ ã¯ã©ã¹ @Deprecated public class SampleClass{ ã¡ã½ãã /** * @deprecated ãã®é¢æ°ä½¿ããªãã§ä¸ãã {@link #setNumber(int)} */ public void setNum(int num) { è¦åãåºããªãããã«ããã«ã¯ @SuppressWarnings("deprecâ¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/32684510.html ã®ç¶ãã§ãããã§ã¯ãµã¼ãã¹ã使ãå´ã®ã¯ã©ã¤ã¢ã³ããä½æãã ã¯ã©ã¤ã¢ã³ãã®ä½ææé [0] 対象ã®ãµã¼ãã¹ãç«ã¡ä¸ãã¦ãã http://blogs.yahoo.co.jp/dk521123/32684510.html [1] WSDL2java ã§â¦
â ãã¡ã¤ã«åå² * ç« ãã¨ãªã©ã§ããã¡ã¤ã«ãåå²ã»çµåã§ãã * ä»æ§æ¸ãªã©ãå ±åã§ä½æ¥ããæãªã©ã«ä¾¿å© æ¹æ³ [1] [表示]-[ã¢ã¦ãã©ã¤ã³]ãé¸æ [2] ã¿ã¤ãã«ã«ã«ã¼ã½ã«ãç½®ãã¦ã ã¢ã¦ãã©ã¤ã³ãã¼ã«ãã¼ã®ä¸çªå·¦ã«ãã[ââ]ã®ãã¿ã³ãã¯ãªã㯠[3] ã¿ã¤ãâ¦
â ã¯ããã« * C# ã§ãããã«ã¹ã¿ã å±æ§ãã¯ãJavaã§ã¯ãã¢ããã¼ã·ã§ã³(Annotation)ãã¨ãã â ãµã³ãã« * ãã ãä½ã£ã¦ãé¢ç½ããªãã®ã§ãC#ã®æã«ä½æãã ï¼ä¸è¨ã®é¢é£è¨äºãå±æ§ï¼ã¢ããªãã¥ã¼ãï¼ ï½ã«ã¹ã¿ã å±æ§ï½ããåç §ã®ãã¨ï¼ Enumãå©ç¨ããã¡ãâ¦
ã¯ããã« * Axis2ã®SOAPãç¬èªã§ãã£ããã£ãªã³ã°ããããæ¹ãã以ä¸ã«è¨è¼ããã¦ããã®ã§è©¦ãã¦ã¿ã http://axis.apache.org/axis2/java/core/docs/modules.html#Step3_:_module_xml * ã¾ãããAxis2_HOME\samples\userguideãã«ãµã³ãã«ã½ã¼ã¹ãè½ã¡ã¦ããâ¦
ãï¼ãOpenSSLã®ã¤ã³ã¹ãã¼ã«ããã³è¨å® http://www.twsvc.com/support/generate-csr/rapidssl-faq-503 http://memoyasu.blogspot.jp/2011/10/opensslwindowsx64.html ãåèã«è¡ãã¨ããã ï¼ï¼OpenSSL ã®ã¤ã³ã¹ãã¼ã« ï¼ï¼ç°å¢å¤æ°ãOPENSSL_CONFãã®è¨å® â¦
â ç¥è ã©ã¤ããµã¤ã¯ã«ã®ç®¡çã«ã¤ã㦠* ã©ã¤ããµã¤ã¯ã«ã®ç®¡çã«ã¯ã以ä¸ã®2ã¤ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãç¨æããã¦ããã ï½ï½ï½ [1] Lifecycle [2] ServiceLifeCycle ï½ï½ï½ * 詳細ã¯ä»¥ä¸ã®ãµã¤ããåç §ã®ãã¨ã http://ogawa.s18.xrea.com/tdiary/20081210.htmâ¦
XMLåå空é QName * QNameï¼qualified nameï¼ä¿®é£¾ãããååï¼ ãµã³ãã« <book:title> * book:title = QName * book = æ¥é è¾(prefix) * title = ãã¼ã«ã«å (local part) åèæç® http://www.kanzaki.com/docs/sw/names.html</book:title>
æ¦è¦ Eclipse ã«ããã¦ã[File]-[Import]-[Existing Projects into Workspace] 㧠æ¢åããã¸ã§ã¯ããã¤ã³ãã¼ããããã以ä¸ã®ãããªã¨ã©ã¼ãçºçã ã¨ã©ã¼è¡¨ç¤º Some projects cannot be imported because they already exist in the workspace åå Eclipsâ¦
â æºå * System.Management.Automationãåç §è¿½å ãã¦ãããã¨ã 使ç¨ä¸ã®æ³¨æ * PowerShell v2.0 以ä¸ã使ç¨ããã㨠â ãµã³ãã« ä¾ï¼ï¼AddCommandãå©ç¨ using System; using System.Collections.ObjectModel; using System.Management.Automation; usingâ¦
java.util.concurrent http://docs.oracle.com/javase/jp/6/api/java/util/concurrent/package-summary.html ãã * 並è¡ããã°ã©ãã³ã°ã§ãã使ç¨ãããã¦ã¼ãã£ãªãã£ã¼ã¯ã©ã¹ * ãã«ãã¹ã¬ããã»ããã°ã©ãã³ã°ã§ä½¿ç¨ãã * concurrent(ã³ã³ã«ã¬ã³ã) = â¦
主ãªã¡ã½ãã 1) ResourceBundle.getBundle("ãpropertiesãã¡ã¤ã«ã") â propertiesãã¡ã¤ã«ã®ã¤ã³ã¹ã¿ã³ã¹ãåå¾ 2) getString("ããã¼åã") â ãã¼ã«å¾ã£ãããªã¥ã¼å¤ã®åå¾ 3) containsKey("ããã¼åã") â ãã®ãã¼ããããã©ãã ãµã³ãã« SampleClasâ¦
ãµã³ãã« SampleClass.java import java.util.Locale; public class SampleClass { public static void main(String[] args) { Locale locale = Locale.ENGLISH; System.out.println("Locale.ENGLISH"); System.out.println("toString : " + locale.toStringâ¦
â ã¯ããã« åã ããã¾ã¨ãããã£ãããããã°ã©ã ãããä¸ã§ã¤ãã¤ãåããè¾ãç¨èªãæ´çãã â ã³ã³ããã¹ã / Context * ããã°ã©ã å é¨ç¶æ ãç¶æ³ãä¸ããããæ¡ä»¶ãªã©ãæã â ã¡ã¿ãã¼ã¿ / Metadata * ãããã¼ã¿ã«é¢é£ããæ å ±ãæ ¼ç´ããããã¼ã¿ * â¦
enumã«ã¤ã㦠* C# ã¨ã¯ã大åéããã»ã¨ãã©ã¯ã©ã¹ã®ããã«æ±ããããããã£ãã¡ã½ãã(abstractã)ã®è¿½å å¯è½ ï¼ä»¥ä¸ã®é¢é£è¨äºãâ ããããã£ãã¡ã½ããã®è¿½å ããâ åEnumå¤ã§ã®ç¬èªå¦çãè¨è¼ããã ãåç §ã®ãã¨ãï¼ http://blogs.yahoo.co.jp/dk52112â¦
â ã¨ã©ã¼ãJava compiler level does not match ...ãã表示ããã æ¦è¦ * Eclipse ã§ããã«ããããã¨ããã¨ããã 以ä¸ã®ã¨ã©ã¼ã表示ããã ã¨ã©ã¼å 容 Java compiler level does not match the version of the installed Java project facet. åå * 対â¦
æ¦è¦ Axis2 1.6ã§ã¯ãEnumããµãã¼ãããã¦ããªãããããï¼ä»¥ä¸ãåç §ï¼ https://issues.apache.org/jira/browse/AXIS2-3967 Axis2 1.7.0 ãããµãã¼ãããããã2013/10/17ç¾å¨ã§ã¯ãã¾ã ãªãªã¼ã¹ããã¦ããªãã http://shameerarathnayaka.blogspot.jp/20â¦