posts - 11,  comments - 21,  trackbacks - 0

          我的評論

          re: 我的Eclipse設置[未登錄] xmlspy 2013-12-15 01:14  
          @左岸
          用myeclipse也一樣,這些配置應該配.
          保持項目一致性
          re: 招聘java程序員,系統架構師 xmlspy 2008-02-22 14:52  
          現在的招聘太沒譜了
          你說的這些具備的在國內很難找到

          不過針對spring,我已經用它開發至少4年了,
          當spring還叫interface21的時候就用了....
          當時用它寫的電信項目
          網上最早翻譯spring的文章就是我的,你可以找找

          xslt我使用也比較早.不過現在很少使用了

          不過地點在深圳,太遠了.......
          還是不發建立了
          沒說這個到底是什么東西,是干什么的,有什么特色
          re: Zelix KlassMaster 破解[未登錄] xmlspy 2008-01-10 21:05  
          xmlspy@tom.com
          echo很早就有了,看看吧
          re: JAVA 連接MYSQL[未登錄] xmlspy 2007-12-29 22:58  
          spring JdbcTemplate is best
          @yeshucheng
          這個好像是myeclipse中uml功能

          其他eclipseuml插件也可以
          @交口稱贊

          當然能過去,兼容性指的是你的目標運行環境,
          實際在使用jdk6,兼容性為5的情況下,編譯出來的代碼實際上是針對5,也可能5和6都可以運行

          我想,各個版本的編譯器都有向舊版本兼容的功能的
          re: Fabric3簡要入門[未登錄] xmlspy 2007-12-24 12:47  
          什么web services,soa等等一對東西,800年前叫鬧哄哄的,不過至今都沒廣泛應用,看了代碼,其實就是和以前一樣的東西換個名稱
          @javalover
          是其他插件導致的,有的插件對eclipse有影響,刪除后就好了
          我是把安裝的插件都刪除了,之后一個一個加排除的
          re: Spring學習筆記 2007-10-25 xmlspy 2007-10-25 22:15  
          spring這部分最有用的不是這個,而是大量的對文件操作的api,相對于jdk的api,要方便得多.lz多多看看這些,最好從最初的接口開始看,一個一個跟下來,了解一下這個設計方式.
          大牛就是大牛,框架結構真不是一般的功力
          回復:world7th

          java.io.FileNotFoundException: beans-config.xml (系統找不到指定的文件。)
          re: exe4j視頻教程[未登錄] xmlspy 2007-10-15 13:51  
          xmlspy@tom.com
          謝謝 :)
          這個東西如果自己研究研究還好,
          如果使用的話,加以用common-lang中的StringUtils.java
          當中大部分的String操作都有了
          一個是客戶端跳轉,一個是服務器端跳轉
          另外使用PS還有一個好處,不用對傳入的字符串進行轉義
          alt+shift+x 之后會彈出一個菜單,
          re: 系統分析師最新資料[未登錄] xmlspy 2007-08-27 17:25  
          xmlspy.spring@gmail.com
          買書的時候,只要看是清華出版的
          基本上都不考慮
          根據偶和偶朋友的經驗,計算機類的書籍
          清華出版的基本上都是垃圾
          最好的是機械工業的
          re: 接口和抽象類[未登錄] xmlspy 2007-08-23 01:48  
          2. 接口中可以包含字段,但是會被隱式的聲明為static和final。

          應該是被隱式聲明為 public static final

          另外考慮一下接口或者抽象類是否可以new :)
          這個東西我兩年前就弄了
          如果有閑心的話,可以把jdk大部分的源碼中的類名,方法名稱,都用中文改了
          re: 談NullObject模式[未登錄] xmlspy 2007-07-31 23:47  
          很早以前用過這個模式,不過感覺實在沒有必要
          很麻煩
          re: Lucene 2.1研究:對字符的判斷 xmlspy 2007-07-02 22:24  
          測試了一下,還是有些問題的,不嚴謹.
          哥們請看一下 :)
           
           1 import org.apache.oro.text.regex.MalformedPatternException;
           2 import org.apache.oro.text.regex.Pattern;
           3 import org.apache.oro.text.regex.PatternCompiler;
           4 import org.apache.oro.text.regex.PatternMatcher;
           5 import org.apache.oro.text.regex.Perl5Compiler;
           6 import org.apache.oro.text.regex.Perl5Matcher;
           7 
           8 //正則表達式
           9 //jdk版本:jdk1.5.0_09
          10 //類庫:jakarta-oro-2.0.8.jar
          11 //操作系統: win2003 standard
          12 public class RegxLan {
          13 
          14     //用于判斷Unicode Letter:
          15     private static final String UNICODE_LETTER_PATTERN = "[(\u0041-\u005a)|"
          16             + "(\u0061-\u007a)|(\u00c0-\u00d6)|(\u00d8-\u00f6)|(\u00f8-\u00ff)|"
          17             + "(\u0100-\u1fff)]";
          18 
          19     //用于判斷亞洲語言字符(中國,日本,韓國):
          20     private static final String UNICODE_CJP_PATTERN = "[(\u3040-\u318f)|(\u3300-\u337f)|"
          21             + "(\u3400-\u3d2d)|(\u4e00-\u9fff)|(\uf900-\ufaff)|(\uac00-\ud7af)]";
          22 
          23     //用于判斷Unicode中的數字:
          24     private static final String UNICODE_DIGIT_PATTERN = "[(\u0030-\u0039)|"
          25             + "(\u0660-\u0669)|(\u06f0-\u06f9)|(\u0966-\u096f)|(\u09e6-\u09ef)|"
          26             + "(\u0a66-\u0a6f)|(\u0ae6-\u0aef)|(\u0b66-\u0b6f)|(\u0be7-\u0bef)|"
          27             + "(\0c66-\u0c6f)|(\u0ce6-\u0cef)|(\u0d66-\u0d6f)|(\u0e50-\u0e59)|"
          28             + "(\u0ed0-\u0ed9)|(\u1040-\u1049)]";
          29 
          30     /**
          31      * 判斷是否是Unicode字母
          32      */
          33     public static final boolean isUnicodeLetter(String str) {
          34         return testString(str, UNICODE_LETTER_PATTERN);
          35     }
          36 
          37     /**
          38      * 判斷是否是Unicode數字
          39      */
          40     public static final boolean isUnicodeDigit(String str) {
          41         return testString(str, UNICODE_DIGIT_PATTERN);
          42     }
          43 
          44     /**
          45      * 判斷是否是Unicode亞洲語言字符
          46      */
          47     public static final boolean isUnicodeCPJ(String str) {
          48         return testString(str, UNICODE_CJP_PATTERN);
          49     }
          50 
          51     //通過測試,看到還是有問題的,尤其是對符號判讀不正確,
          52     //另外,把英文字母也當作數字對待了
          53     //全角字符,和.返回的都是false,而全角字符×返回的確實false,true,false
          54     //
          55     public static void main(String[] args) {
          56         //最后三個是全角字符
          57         char[] test = "`~!@#$%^&*()_-+=|\\,.<>/?;:'\"[]{}w2這×,.".toCharArray();
          58 
          59         for (char t : test) {
          60             String x = String.valueOf(t);
          61             System.out.println("========== 字符: "+t+" 的結果 ==========");
          62 
          63             boolean is = isUnicodeLetter(x);
          64             System.out.println("isUnicodeLetter == "+is);
          65             is = isUnicodeDigit(x);
          66             System.out.println("isUnicodeDigit == "+is);
          67             is = isUnicodeCPJ(x);
          68             System.out.println("isUnicodeCPJ == "+is);
          69         }
          70     }
          71 
          72     private static final boolean testString(String str, String pattern) {
          73         PatternCompiler cpl = new Perl5Compiler();
          74         Pattern p = null;
          75         try {
          76             p = cpl.compile(pattern);
          77         } catch (MalformedPatternException e) {
          78             e.printStackTrace();
          79         }
          80         PatternMatcher matcher = new Perl5Matcher();
          81         return matcher.matches(str, p);
          82     }
          83 }
          84 
          re: Lucene 2.1研究:對字符的判斷 xmlspy 2007-07-02 21:37  
          謝謝 :)

          把我那個改了吧,正好當作示例用 :)
          re: Lucene 2.1研究:對字符的判斷 xmlspy 2007-07-02 14:02  
          沒弄明白你這個到底如何用,下面是我的測試代碼
          無論如何都是返回false
           
           1 import org.apache.oro.text.regex.MalformedPatternException;
           2 import org.apache.oro.text.regex.Pattern;
           3 import org.apache.oro.text.regex.PatternCompiler;
           4 import org.apache.oro.text.regex.PatternMatcher;
           5 import org.apache.oro.text.regex.Perl5Compiler;
           6 import org.apache.oro.text.regex.Perl5Matcher;
           7 
           8 //正則表達式
           9 public class RegxLan {
          10 
          11     //用于判斷Unicode Letter:
          12     private static final String UNICODE_LETTER_PATTERN = "[(\u0041-\u005a)|"
          13             + "(\u0061-\u007a)|(\u00c0-\u00d6)|(\u00d8-\u00f6)|(\u00f8-\u00ff)|"
          14             + "(\u0100-\u1fff)]";
          15 
          16     //用于判斷亞洲語言字符(中國,日本,韓國):
          17     private static final String UNICODE_CJP_PATTERN = "[(\u3040-\u318f)|(\u3300-\u337f)|"
          18             + "(\u3400-\u3d2d)|(\u4e00-\u9fff)|(\uf900-\ufaff)|(\uac00-\ud7af)]";
          19 
          20     //用于判斷Unicode中的數字:
          21     private static final String UNICODE_DIGIT_PATTERN = "[(\u0030-\u0039)|"
          22             + "(\u0660-\u0669)|(\u06f0-\u06f9)|(\u0966-\u096f)|(\u09e6-\u09ef)|"
          23             + "(\u0a66-\u0a6f)|(\u0ae6-\u0aef)|(\u0b66-\u0b6f)|(\u0be7-\u0bef)|"
          24             + "(\0c66-\u0c6f)|(\u0ce6-\u0cef)|(\u0d66-\u0d6f)|(\u0e50-\u0e59)|"
          25             + "(\u0ed0-\u0ed9)|(\u1040-\u1049)]";
          26 
          27     /**
          28      * 判斷是否是Unicode字母
          29      */
          30     public static final boolean isUnicodeLetter(String str) {
          31         return testString(str,UNICODE_LETTER_PATTERN);
          32     }
          33     /**
          34      * 判斷是否是Unicode數字
          35      */
          36     public static final boolean isUnicodeDigit(String str) {
          37         return testString(str,UNICODE_DIGIT_PATTERN);
          38     }
          39     /**
          40      * 判斷是否是Unicode亞洲語言字符
          41      */
          42     public static final boolean isUnicodeCPJ(String str) {
          43         return testString(str,UNICODE_CJP_PATTERN);
          44     }
          45 
          46     public static void main(String[] args) {
          47         String x="123";
          48         boolean is=isUnicodeLetter(x);
          49         System.out.println(is);
          50         is=isUnicodeDigit(x);
          51         System.out.println(is);
          52         is=isUnicodeCPJ(x);
          53         System.out.println(is);
          54     }
          55     private static final boolean testString(String str, String pattern) {
          56         PatternCompiler cpl = new Perl5Compiler();
          57         Pattern p=null;
          58         try {
          59             p=cpl.compile(pattern);
          60         } catch (MalformedPatternException e) {
          61             e.printStackTrace();
          62         }
          63         PatternMatcher matcher=new Perl5Matcher();
          64         return matcher.matches(str, p);
          65     }
          66 }
          67 
          re: JDBC之代碼復用 [未登錄] xmlspy 2007-06-10 09:49  
          使用spring jdbcTemplate 什么問題都解決了

          從性能和復用性上都比較平均

          是個不錯的選擇
          不贊成把圖片放到數據庫中
          re: SCJP考試[未登錄] xmlspy 2007-04-20 22:25  
          都什么年代了,還考那個東西,
          沒人看這個的,尤其在中國
          如果直接使用jdbc,我建議使用springJdbc,無論是性能還是維護性都是比較好的選擇
          spring2.0里面早就有了
          re: 《spring live》翻譯[未登錄] xmlspy 2007-02-16 04:16  
          @兔八哥

          很不錯的書,不過后來看有人也翻譯了,之后的我就沒翻譯了

          再加上現在開公司,一點時間也沒有了
          還有一個重要的
          那個filter一定要在web.xml配置文件中第一位,否則...... 哈哈,你就折騰吧
          更正一下: String originalFileSize = multipartFile.getSize();
          應該是 long originalFileSize = multipartFile.getSize();
          返回類型是long
          MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;

          MultipartFile multipartFile = multipartRequest.getFile(parameterName);//parameterName為頁面傳入的input名字
          String originalFileSize = multipartFile.getSize();
          另外一點如下的DispatcherServlet設置會自動加載petstore-servlet.xml環境,原理我查了半天我也不知道怎么搞的.


          原因:

          spring默認加載 你的工程名稱-servlet.xml 文件,
          re: DB2建表新體驗! xmlspy 2006-11-10 23:22  
          業務邏輯寫在數據庫中,嚴重鄙視!!
          re: SOA的三個方面(原創翻譯) xmlspy 2006-04-09 22:22  
          偶也要 :) xmlspy@tom.com
          re: 用spring組織DAO xmlspy 2005-12-23 15:40  
          在這一點上,你將通過組合使用hibernate.cfg.xml文件(declaratively(公告的))和一些活躍的(programmatic)標題,如HibernateFactory來配置Hibernate。Spring提供了另外一個選擇去整體declaratively(公告的)配置Hibernate。使用Spring的最大好處就是你能夠減少(programmatic)標題配置需要的元素。

          -----------------
          翻譯得很變態 :(

          declaratively ----聲明性的

          一些活躍的(programmatic)---- 使用靈活的編程方式

          上面兩個是相對應的:
          聲明性的(指用配置文件) -- 編程方式的、硬編碼的(指寫java代碼)
          re: JDBC簡單封裝,節省大量代碼 xmlspy 2005-09-12 11:06  
          可以看看spring的jdbc模塊,會更方便

          <2025年7月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          常用鏈接

          留言簿(2)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 庄河市| 颍上县| 富民县| 淄博市| 松桃| 宝兴县| 石家庄市| 临夏县| 图木舒克市| 象山县| 云龙县| 安吉县| 湘潭县| 九寨沟县| 清原| 克拉玛依市| 通海县| 甘孜县| 丹棱县| 平南县| 西华县| 浙江省| 棋牌| 奇台县| 蒙山县| 禹城市| 阳泉市| 金川县| 保定市| 和政县| 黎川县| 霍城县| 洪泽县| 城步| 来安县| 五指山市| 论坛| 本溪市| 杨浦区| 德州市| 南江县|