黑靈客棧
黑靈的沒啥技術含量的技術博客! -> http://zjumty.iteye.com
BlogJava
|
首頁
|
發(fā)新隨筆
|
發(fā)新文章
|
聯(lián)系
|
聚合
|
管理
隨筆:204 文章:2 評論:243 引用:0
2009年8月21日
在傳輸層上壓縮WebService的請求和響應
posted @
2013-06-23 21:45
黑靈 閱讀(6130) |
評論 (1)
|
編輯
收藏
在MongoDB里實現循環(huán)序列功能
posted @
2013-04-26 22:57
黑靈 閱讀(4617) |
評論 (1)
|
編輯
收藏
輸出debug信息到postfix的log
posted @
2013-04-26 19:25
黑靈 閱讀(3445) |
評論 (0)
|
編輯
收藏
Java里的CompareAndSet(CAS)
摘要: Atomic從JDK5開始, java.util.concurrent包里提供了很多面向并發(fā)編程的類. 使用這些類在多核CPU的機器上會有比較好的性能.
主要原因是這些類里面大多使用(失敗-重試方式的)樂觀鎖而不是synchronized方式的悲觀鎖.
今天有時間跟蹤了一下AtomicInteger的incrementAndGet的實現.
本人對并發(fā)編程也不是特別了解, 在這里就是做個筆記, 方便以后再深入研究.
閱讀全文
posted @
2013-04-24 17:20
黑靈 閱讀(30461) |
評論 (0)
|
編輯
收藏
Apache Mina 中文文檔翻譯 - 特性
posted @
2013-04-23 22:02
黑靈 閱讀(1239) |
評論 (0)
|
編輯
收藏
Apache Mina 中文文檔翻譯 - 概述
摘要: 概述
Apache MINA 是一個網絡應用框架, 它可以幫助你簡單容易的開發(fā)高性能,高可擴展性的網絡應用程序。Apache MINA底層利用Java NIO實現,在TCP/IP和UPD/IP等傳輸層上提供一個抽象的基于事件驅動的異步API。
閱讀全文
posted @
2013-04-22 23:13
黑靈 閱讀(2997) |
評論 (0)
|
編輯
收藏
Properties.storeToXML方法拋出空指針哦!
摘要: 今天項目里遇到的, 在這里做個記錄!
閱讀全文
posted @
2013-04-19 16:42
黑靈 閱讀(2493) |
評論 (0)
|
編輯
收藏
關于spring-mvc的InitBinder注解的參數
摘要: 通過Spring-mvc的@InitBinder注釋的方法可以對WebDataBinder做一些初始化操作。
比如設置Validator。
我一直在想能不能為每個Request或者每個Action方法單獨設置Validator。
也就是說Controller里有多個被@InitBinder標注的方法。 在不同的Action時被分別調用。
閱讀全文
posted @
2013-04-17 00:42
黑靈 閱讀(26729) |
評論 (2)
|
編輯
收藏
KMP算法里的next函數是怎么得到的?
posted @
2013-04-14 23:24
黑靈 閱讀(1442) |
評論 (0)
|
編輯
收藏
簡單的監(jiān)視某個端口的連接數的Linux命令
posted @
2012-10-30 09:38
黑靈 閱讀(3107) |
評論 (0)
|
編輯
收藏
HTTP Methods Every Web Developer Must Know
posted @
2012-08-21 09:27
黑靈 閱讀(1728) |
評論 (0)
|
編輯
收藏
當客戶端和服務器都在自己的機器上時,用wireshark攔截packet
摘要: 當客戶端和服務器都在自己的機器上時,用wireshark是看不到發(fā)送和接受到的數據包的.
閱讀全文
posted @
2012-04-12 09:22
黑靈 閱讀(2317) |
評論 (1)
|
編輯
收藏
spring data mongodb的Converter問題
摘要: 調用mongoTemplate的save方法時, spring-data-mongodb的TypeConverter會自動給document添加一個_class屬性, 值是你保存的類名. 這種設計并沒有什么壞處. spring-data-mongodb是為了在把document轉換成Java對象時能夠轉換到具體的子類. 但有時候我們并不希望出現這個字段, 主要是看上去會比較"煩". 可以通過設置MappingMongoConverter的MongoTypeMapper來解決這個問題.
閱讀全文
posted @
2012-02-21 09:34
黑靈 閱讀(8721) |
評論 (0)
|
編輯
收藏
Grails 控制臺輸出亂碼的解決方法
posted @
2011-08-25 17:06
黑靈 閱讀(1048) |
評論 (1)
|
編輯
收藏
jdbcdslog oracle data source
posted @
2011-06-30 09:55
黑靈 閱讀(2154) |
評論 (1)
|
編輯
收藏
Resizing a root LVM volume
posted @
2010-10-07 16:49
黑靈 閱讀(723) |
評論 (0)
|
編輯
收藏
The Zen of Python
posted @
2010-08-30 17:05
黑靈 閱讀(445) |
評論 (0)
|
編輯
收藏
把RHEL的DVD鏡像最為YUM安裝源
posted @
2010-08-24 15:41
黑靈 閱讀(1631) |
評論 (0)
|
編輯
收藏
Windows XP上給IIS注冊WCF服務
posted @
2010-08-11 09:59
黑靈 閱讀(2076) |
評論 (0)
|
編輯
收藏
我的ubuntu 常用軟件
posted @
2010-08-08 16:45
黑靈 閱讀(368) |
評論 (0)
|
編輯
收藏
Visual Studio 2010 配置相關
摘要: Visual Studio 2010 配置相關
閱讀全文
posted @
2010-08-05 09:13
黑靈 閱讀(328) |
評論 (0)
|
編輯
收藏
wofstreamでUnicode文字列をファイルに出力する。
posted @
2010-08-04 12:14
黑靈 閱讀(532) |
評論 (0)
|
編輯
收藏
頁面上顯示PDF, 但是不顯示工具欄(IE).
posted @
2010-07-14 15:32
黑靈 閱讀(7869) |
評論 (0)
|
編輯
收藏
oracle使用筆記
posted @
2009-12-08 09:03
黑靈 閱讀(363) |
評論 (0)
|
編輯
收藏
Oracle建完索引后要analyze一下才行!
posted @
2009-11-25 17:33
黑靈 閱讀(508) |
評論 (0)
|
編輯
收藏
Visual Studio開發(fā)QT程序--環(huán)境配置
posted @
2009-11-12 22:53
黑靈 閱讀(3296) |
評論 (1)
|
編輯
收藏
Tomcat里的cpappend.bat
摘要: 在Tomcat的發(fā)行包中有一個bat文件很有意思.
可以把指定的參數添加到classpath里面.
和bat腳本for一起配合,可以實現自動的把某個目錄下的jar包都放到classpath里.
閱讀全文
posted @
2009-11-05 09:43
黑靈 閱讀(1835) |
評論 (2)
|
編輯
收藏
顯示文件列表的groovy腳本
摘要: 顯示文件列表的groovy腳本
閱讀全文
posted @
2009-09-27 19:57
黑靈 閱讀(1168) |
評論 (0)
|
編輯
收藏
[ZZ]Linux更改文件時間
posted @
2009-09-25 11:27
黑靈 閱讀(361) |
評論 (0)
|
編輯
收藏
ASCII Characters Table
摘要: American Standard Code for Information Interchange (ASCII), pronounced /??ski/ is a character-encoding scheme based on the ordering of the English alphabet. ASCII codes represent text in computers, communications equipment, and other devices that work with text. ASCII includes definitions for 128 characters: 33 are non-printing control characters (number 0 to 31 and 127), now mostly obsolete that affect how text is processed; 94 are printable characters (numbers 32 to 126), and the space is cons
閱讀全文
posted @
2009-09-18 10:52
黑靈 閱讀(357) |
評論 (0)
|
編輯
收藏
[ZZ]Groovy Goodness: Using the GroupBy Method
摘要: In Groovy we can group the elements of a Collection type in a map. We define the rule for grouping with a closure. The result is a map where the key is the grouping condition and the value contains the elements of the Collection type belonging to the key. Let's see the groupBy method in action:
閱讀全文
posted @
2009-09-14 09:58
黑靈 閱讀(290) |
評論 (0)
|
編輯
收藏
[ZZ]Groovy Goodness: Using Lists and Maps As Constructors
摘要:
Constructors in Groovy can be invoked in a classic Java way, but we can also use lists or maps to create objects. Groovy supports an explicit coersion of a list to a constructor with the as keyword. Or we can rely on the implicit coersion when Groovy looks at the type of the variable to automatically convert the list to the right constructor call.
閱讀全文
posted @
2009-09-08 17:09
黑靈 閱讀(364) |
評論 (0)
|
編輯
收藏
[ZZ]Groovy Goodness: Using the Inject Method
摘要: Groovy has some features and methods we can categorize as functional programming. The inject() method is a so called higher-order function. Other languages call it a fold, reduce or accumulate. The inject() method processes a data structure with a closure and builds up a return value. The first parameter of the inject() method is the first value of the intermediary results of the second parameter: the closure. When we use the inject() we don't introduce any side effects, because we build up the
閱讀全文
posted @
2009-09-08 17:04
黑靈 閱讀(332) |
評論 (0)
|
編輯
收藏
[ZZ]Groovy Goodness: Date and Time Durations and the TimeCategory
摘要: Groovy has some elegant ways to work with date and time values. One of them is the support of durations. We can define a duration to denote a certain time amount, like 7 days, 2 hours and 50 minutes. We can use these durations to add or subtract them from date and time objects.
The TimeCategory provides an even Groovier way to work with durations. We can use constructs like 7.days + 12.minutes to create a duration. When we read this code it is just like reading English text. Here is som
閱讀全文
posted @
2009-09-07 10:54
黑靈 閱讀(457) |
評論 (0)
|
編輯
收藏
[ZZ]Groovy Goodness: Multiple Assignments
摘要: Since Groovy 1.6 we can define and assign values to several variables at once. This is especially useful when a method returns multiple values and we want to assign them to separate variables.
閱讀全文
posted @
2009-09-07 10:52
黑靈 閱讀(338) |
評論 (0)
|
編輯
收藏
[ZZ]Groovy Goodness: the With Method
摘要: Groovy has a with method we can use to group method calls and property access to an object. The with method accepts a closure and every method call or property access in the closure applies to the object if applicable. The method is part of Groovy's extensions to the java.lang.Object class. Let's see this with an example:
閱讀全文
posted @
2009-09-07 10:51
黑靈 閱讀(301) |
評論 (0)
|
編輯
收藏
制作圖片縮略圖的Groovy腳本
摘要: 制作圖片縮略圖的Groovy腳本
閱讀全文
posted @
2009-08-25 13:49
黑靈 閱讀(1255) |
評論 (0)
|
編輯
收藏
改文件名的Groovy代碼
摘要: 改文件名的Groovy代碼
閱讀全文
posted @
2009-08-21 10:54
黑靈 閱讀(616) |
評論 (0)
|
編輯
收藏
<
2009年8月
>
日
一
二
三
四
五
六
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
公告
常用鏈接
我的隨筆
我的評論
我的參與
最新評論
隨筆分類
(175)
AJAX(6)
(rss)
DataBase(5)
(rss)
Do everything with Groovy(4)
(rss)
ExtJS
(rss)
J2EE(29)
(rss)
JSF(4)
(rss)
MStar Utility(2)
(rss)
ORM(9)
(rss)
RIA(3)
(rss)
Server配置(2)
(rss)
Struts(1)
(rss)
Tapestry(1)
(rss)
Unix&Linux(32)
(rss)
wap(1)
(rss)
WebWork(4)
(rss)
不編不知道,一編嚇一跳(17)
(rss)
亂七八糟(32)
(rss)
客戶端技術(1)
(rss)
正則表達式
(rss)
腳本語言(22)
(rss)
文章分類
(1)
Tomcat(1)
(rss)
博客同道
GENOW
(rss)
遠離塵囂
常用資源
Martin Fowler
Martin Fowler的文章
最新評論
1.?re: 關于spring-mvc的InitBinder注解的參數
這個里面User與User_是兩個不同的類
--mmocake
Powered by:
博客園
模板提供:
滬江博客
Copyright ©2025 黑靈
主站蜘蛛池模板:
成年在线网站免费观看无广告
|
亚洲成av人片天堂网老年人
|
亚洲欧美日韩自偷自拍
|
日产国产精品亚洲系列
|
男人都懂www深夜免费网站
|
亚洲日韩国产精品乱-久
|
亚洲国产一区明星换脸
|
亚洲精品国产免费
|
美女被艹免费视频
|
亚洲毛片基地日韩毛片基地
|
四虎永久免费地址在线观看
|
毛片在线播放免费观看
|
激情无码亚洲一区二区三区
|
亚洲va久久久噜噜噜久久男同
|
四虎www免费人成
|
久久久免费的精品
|
国产成人精品日本亚洲语音
|
国产免费直播在线观看视频
|
在线看片免费人成视频播
|
亚洲精品无码日韩国产不卡av
|
国产∨亚洲V天堂无码久久久
|
国产免费久久精品99re丫y
|
你懂的网址免费国产
|
亚洲码和欧洲码一码二码三码
|
亚洲av永久无码精品表情包
|
jjzz亚洲亚洲女人
|
国产在线国偷精品产拍免费
|
国产午夜无码精品免费看动漫
|
污网站在线免费观看
|
亚洲色欲色欱wwW在线
|
亚洲黄色在线播放
|
中国亚洲女人69内射少妇
|
国产网站免费观看
|
久久午夜免费视频
|
99国产精品视频免费观看
|
2022国内精品免费福利视频
|
日韩欧美亚洲中文乱码
|
亚洲AV无码久久久久网站蜜桃
|
亚洲AV成人一区二区三区观看
|
理论秋霞在线看免费
|
国产在线ts人妖免费视频
|