Hi √ and everyone,

It's 2017 and I'm still struggling with this (migrating from spray)…

Could somebody share the easy integration using ServletContextListener 
described above?

In particular I'm quite interested in
- how to use a generic servlet implementation backed up by a "routes: 
Route" created with akka-http.
- how to pass what once was "spray.boot-class" parameter to the servlet or 
the servlet initializer.

Thank you!

Ilya


Il giorno martedì 14 aprile 2015 16:55:10 UTC+2, √ ha scritto:
>
> One integration you can do easily is to have a ServletContextListener that 
> creates the Akka Http server endpoint when loaded and stops it on unload.
>
> On Tue, Apr 14, 2015 at 3:53 PM, Roland Kuhn <[email protected] 
> <javascript:>> wrote:
>
>> Hi Tomer,
>>
>> the servlet container way of running things completely negates all the 
>> benefits that Akka HTTP would give you, so there is no point in supporting 
>> this scenario—spray-servlet will not be ported to Akka HTTP.
>>
>> Sorry for the bad news,
>>
>> Roland
>>
>> 14 apr 2015 kl. 15:45 skrev Jas <[email protected] <javascript:>>:
>>
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>>
>> *Dr. Roland Kuhn*
>> *Akka Tech Lead*
>> Typesafe <http://typesafe.com/> – Reactive apps on the JVM.
>> twitter: @rolandkuhn
>> <http://twitter.com/#!/rolandkuhn>
>>
>> -- 
>> >>>>>>>>>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Cheers,
> √
>

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to