Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty docs and example

well, if you are using jetty-8 and on then moving forward servlet 3.0
async semantic is the way forward.  jetty-continuations were our way
of having async servlets years ahead of the servlet-api, and worked
within the bounds of servlet-api 2.5

regardless the continuations library ought to work on jetty-9 unless
my complete lack of coffee yet this morning is clouding my
understanding

open a bug at bugs.eclipse.org under RT/Jetty if you like :)

cheers,
jesse

--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx


On Thu, Oct 25, 2012 at 9:26 PM, S. Zhou <myxjtu@xxxxxxxxx> wrote:
> yes. I can only found the jetty continuations sample code. Is servlet 3.0
> better?
> Thanks
>
> ________________________________
> From: Jesse McConnell <jesse.mcconnell@xxxxxxxxx>
> To: S. Zhou <myxjtu@xxxxxxxxx>; JETTY user mailing list
> <jetty-users@xxxxxxxxxxx>
> Sent: Thursday, October 25, 2012 5:54 PM
>
> Subject: Re: [jetty-users] Jetty docs and example
>
> bringing back to jetty list,
>
> so you're using jetty-continuations on jetty8 and not the servlet 3.0
> async features?
>
> cheers,
> jesse
>
> --
> jesse mcconnell
> jesse.mcconnell@xxxxxxxxx
>
>
> On Thu, Oct 25, 2012 at 7:35 PM, S. Zhou <myxjtu@xxxxxxxxx> wrote:
>> Thanks Jesse. I checked the code sample link but did not find any
>> samples/unit tests for HttpExchange (or Continuous).
>>
>> I am using Jetty 8 now and I believe I encountered a bug in Jetty when
>> using
>> Continuous resume. This bug only shows up when there are lots of
>> concurrent
>> connections (like 10k connections).  The bug shows up when: a thread
>> updates
>> an object (say O) and calls continuous.resume(). So the resume call
>> invokes
>> another thread which  tries to access this object O. The issue is: the
>> updates in O are not visible. It could be visible after a while in some
>> cases (like 10m second).
>>
>> Is it a known issue?
>>
>>
>> ________________________________
>> From: Jesse McConnell <jesse.mcconnell@xxxxxxxxx>
>> To: S. Zhou <myxjtu@xxxxxxxxx>; JETTY user mailing list
>> <jetty-users@xxxxxxxxxxx>
>> Sent: Thursday, October 25, 2012 1:03 PM
>> Subject: Re: [jetty-users] Jetty docs and example
>>
>> The documentation is currently under development, it is slow going but
>> coming along nicely, the CI for it is below, contribution is welcome
>> through github at this point.  We are bringing over jetty7/8
>> documentation and updating it to jetty9 so not everything there right
>> now is correct, you'll have to forgive us inconsistencies at this
>> point, it isn't ready for prime time.
>>
>>
>> http://jetty.intalio.com/build/view/Critical%20Path/job/github-jetty-documentation/ws/target/docbkx/html/jetty/jetty.html
>>
>> Code samples are best found in our unit tests for jetty9 at this
>> point, especially in the jetty-client area which was just recently
>> refactored by Simone.
>>
>>
>> http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-client/src/test/java/org/eclipse/jetty/client
>>
>> cheers,
>> jesse
>>
>>
>>
>> --
>> jesse mcconnell
>> jesse.mcconnell@xxxxxxxxx
>>
>>
>> On Thu, Oct 25, 2012 at 2:53 PM, S. Zhou <myxjtu@xxxxxxxxx> wrote:
>>> Hi there, where can I find the Jetty 9 docs/samples? I am especially
>>> interested in the async http client/server classes (like HttpExchange and
>>> Continuous framework).
>>> Also, I found some classes in Jetty 8 (like ContentExchange) no longer
>>> available in Jetty 9. Also some classes (like HttpExchange) changes their
>>> API. So examples would be very useful.
>>>
>>> Thanks
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> jetty-users mailing list
>>> jetty-users@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>
>>
>>
>
>


Back to the top