Matt is correct, Akka HTTP is a complete server implementation, all the way down the sockets, through parsing and rendering headers, lifecycle management etc etc. It does so in a fully streaming manner as well, which is it’s strong point.
Embedding Akka HTTP inside a servlet container sells it short on what it can do the best basically. It would be possible, but we have not received enough commercial interest to fund such development… If you’re interested, let us know. On the other hand; we know of organizations using servlet containers as the deployment medium and not using their HTTP features at all, but simply calling Akka HTTP’s bind() etc inside them. This would work, and “bypass” the servlet stack. Please note as well that even if not using Akka HTTP, you still may find Akka Streams, Actors or Alpakka connectors tremendously useful, so it’s not a binary decision really. If you have to stick to a servlet container for HTTP you could do that, and still use all other Akka modules. Hope this helps -- Cheers, Konrad 'ktoso <http://kto.so>' Malawski Akka <http://akka.io/> @ Lightbend <http://lightbend.com/> On January 2, 2018 at 19:37:40, Matt Edge (mattedg...@gmail.com) wrote: If I am not mistaken Akka HTTP has its own HTTP server layer that it uses (when you do Http().bind(..)). You can find more details in the Core Server API section of the docs. It discusses in some detail what's going on under the hood and how Akka's HTTP layer is, in my view, essentially a replacement of the Servlet container. If you absolutely must use a Servlet Container - I personally don't think Akka HTTP is a good fit for you On Tuesday, January 2, 2018 at 9:19:55 AM UTC-5, gdalessio wrote: > > Hi all, > > Regarding this topic, are there more details about this, or more then just > "*completely negates all the benefits that Akka HTTP*" ? > thanks! > > On Tuesday, 14 April 2015 15:49:19 UTC+2, Jas wrote: >> >> is there an example showing how to integrate servlet container with >> akka-http? i'm currently using spray with serlvet with >> https://github.com/spray/spray/blob/master/spray- >> servlet/src/main/scala/spray/servlet/Servlet30ConnectorServlet.scala and >> was hoping to find an example showing how to perform this with akka-http.. >> >> thanks >> > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout. -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.