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

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

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

          Gregw -- 3.0規(guī)范的實現(xiàn)作者的一個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)  編輯  收藏 所屬分類: 最新開源動態(tài)
          主站蜘蛛池模板: 大宁县| 利川市| 沙田区| 龙门县| 汉中市| 南充市| 晋州市| 汝阳县| 聂拉木县| 鄂尔多斯市| 孙吴县| 唐山市| 鲜城| 桃园市| 日土县| 八宿县| 襄城县| 望奎县| 抚宁县| 吴堡县| 神农架林区| 石阡县| 揭阳市| 云和县| 泾川县| 自贡市| 曲沃县| 博兴县| 沁水县| 武城县| 文化| 肥西县| 威信县| 玉田县| 建湖县| 庆云县| 沅江市| 来凤县| 渑池县| 张家界市| 阳高县|