Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Labels:
      None

      Description

      there's a feature in servlet 3.0 specification which "allows the thread to issue a call to the resource and return back to the container without getting blocked. The thread can perform other tasks, which makes Servlet 3.0's performance more efficient. Implementing an Asynchronous Servlet requires using the AsyncContext, which can be obtainer from the HTTP request object."

      there is an example using java under section "Aysnchronous Servlets" here: http://www.mastertheboss.com/servlet-30/servlet-30-tutorial

      here is an example of the lift framework implementation:

      https://www.assembla.com/spaces/liftweb/wiki/Asynchronous_REST_API_support

      here is the implementation:

      https://github.com/lift/lift/blob/3b2112aa419c57ca35e111463b714ebf945ce3fe/framework/lift-base/lift-webkit/src/main/scala/net/liftweb/http/rest/RestContinuation.scala

      java EE AsyncContext documentation:

      http://docs.oracle.com/javaee/6/api/javax/servlet/AsyncContext.html

      jboss implementation:

      http://docs.jboss.org/jbossweb/latest/api/org/apache/catalina/connector/Request.AsyncContextImpl.html

      an example for jboss:

      http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/servlet-async/

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tcrawley Toby Crawley
                Reporter:
                marianoguerra Mariano Guerra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: