摘要: 簡單的討論一下java設計網絡程序中如何控制上傳和下載速度,我們常見的FTP,HTTP,BT等協議都是TCP的,但是現在流行的utorrent卻基于UDP實現了自己UTP協議(UDP+擁塞控制),不管使用什么協議,站在I/O的角度來說,限速的控制思路都是一樣的。 閱讀全文
Java語言學習
一些Java語言的入門知識
摘要: 感覺openlayers的資料很少,自己也沒有太多的時間和精力去讀它的源碼,目前我都是通過看openlayers自帶的那些example和api文檔來摸索的,下面簡單總結一下openlayers的相關用法,歡迎大家拍磚。(以下均以OpenLayers-2.9.1為例說明) 閱讀全文
摘要: Welcome to Google App Engine for Java! With App Engine, you can build web applications using standard Java technologies and run them on Google's scalable infrastructure. The Java environment provides a Java 6 JVM, a Java Servlets interface, and support for standard interfaces to the App Engine scalable datastore and services, such as JDO, JPA, JavaMail, and JCache. Standards support makes developing your application easy and familiar, and also makes porting your application to and from your own 閱讀全文
摘要: 1.學習dom4j的簡單用法;2.做一個方便使用的全國城市經緯度數據庫;3.利用google天氣api做一個全面的天氣預報服務;4.學習用python編寫webservice 閱讀全文
摘要: 根據ICTCLAS的VC6項目生成自己的VS2005項目,并對程序作簡要的修改,實現自己想要的功能,同時可以練習JNI的String的相關操作。同樣,在生成自己的dll后,就可以把這兒中文分詞的東西加到自己的eclipse項目中去了,但是加到eclipse項目的過程中會遇到一點點問題,不過google一下就可以幫自己解決問題了,一起來看看吧 閱讀全文