posts - 156,  comments - 601,  trackbacks - 0
             期待了許久的JSR-315(Servlet 3.0)規范終于Public Review了,這下本人估計就要熱鬧了。Public Review往往是帶來最大的討論與爭議的過程。不過還是希望JSR-315規范能盡早的敲定,讓我們這些期盼以久的開發人員能使用這些新特征。

             下面是官方討論的兩個大點:
             1. Annotations and pluggability
             2. Asychronous Servlets

          本人較關心的也是Asychronous Servlets這塊,所以分享一些信息給大家.

          Gregw -- 3.0規范的實現作者的一個Blog
          http://blogs.webtide.com/gregw/entry/servlet_3_0_public_review
          • A new ASYNC DispatcherType for redispatched asynchronous requests

          • The isAsyncStarted() method is false when a request is redispatched.

          • An IllegalStateException is thrown is startAsync() or startAsync(request.response) are called if getReader() or getOutputStream() have been called.  This restricts asynchronous handler to the simpler cases.

          • If asynchronous mode was started with startAsync(request,response), then it is an IllegalStateException to use any of the forward(...) methods on AsyncContext. This avoids the complication of redispatching wrappers, but allows wrappers to be used by asynchronous handlers.


          Good Luck!
          Yours Matthew!
          posted on 2008-12-25 08:44 x.matthew 閱讀(1853) 評論(0)  編輯  收藏 所屬分類: 最新開源動態
          主站蜘蛛池模板: 芜湖县| 莱西市| 泗洪县| 大荔县| 介休市| 临湘市| 左贡县| 松阳县| 柘荣县| 丹巴县| 壤塘县| 麻栗坡县| 陵水| 高碑店市| 祁门县| 邵东县| 乌审旗| 石楼县| 宝清县| 天长市| 凤山市| 英吉沙县| 科技| 威信县| 公安县| 阿坝| 南康市| 疏勒县| 卢氏县| 囊谦县| 衢州市| 思南县| 安溪县| 湘潭县| 雷波县| 望江县| 江陵县| 洛阳市| 平原县| 新蔡县| 赣州市|