摘要: 簡(jiǎn)單的討論一下java設(shè)計(jì)網(wǎng)絡(luò)程序中如何控制上傳和下載速度,我們常見(jiàn)的FTP,HTTP,BT等協(xié)議都是TCP的,但是現(xiàn)在流行的utorrent卻基于UDP實(shí)現(xiàn)了自己UTP協(xié)議(UDP+擁塞控制),不管使用什么協(xié)議,站在I/O的角度來(lái)說(shuō),限速的控制思路都是一樣的。 閱讀全文
Java語(yǔ)言學(xué)習(xí)
一些Java語(yǔ)言的入門(mén)知識(shí)
摘要: 感覺(jué)openlayers的資料很少,自己也沒(méi)有太多的時(shí)間和精力去讀它的源碼,目前我都是通過(guò)看openlayers自帶的那些example和api文檔來(lái)摸索的,下面簡(jiǎn)單總結(jié)一下openlayers的相關(guān)用法,歡迎大家拍磚。(以下均以O(shè)penLayers-2.9.1為例說(shuō)明) 閱讀全文
摘要: 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.學(xué)習(xí)dom4j的簡(jiǎn)單用法;2.做一個(gè)方便使用的全國(guó)城市經(jīng)緯度數(shù)據(jù)庫(kù);3.利用google天氣api做一個(gè)全面的天氣預(yù)報(bào)服務(wù);4.學(xué)習(xí)用python編寫(xiě)webservice 閱讀全文
摘要: 根據(jù)ICTCLAS的VC6項(xiàng)目生成自己的VS2005項(xiàng)目,并對(duì)程序作簡(jiǎn)要的修改,實(shí)現(xiàn)自己想要的功能,同時(shí)可以練習(xí)JNI的String的相關(guān)操作。同樣,在生成自己的dll后,就可以把這兒中文分詞的東西加到自己的eclipse項(xiàng)目中去了,但是加到eclipse項(xiàng)目的過(guò)程中會(huì)遇到一點(diǎn)點(diǎn)問(wèn)題,不過(guò)google一下就可以幫自己解決問(wèn)題了,一起來(lái)看看吧 閱讀全文