title: Spring webflux on tomcat
body: <p>I just created a new application using Spring boot 2 M7 and I'm using <code>spring-webflux</code>.</p>
  
  <p>I built the application as an autoexecutable war that I can start in dev with <code>java -jar app.war</code> and also on a standalone tomcat server for UAT purpose. </p>
  
  <p>In the web reactive reference doc, I read </p>
  
  <blockquote>
    <p>To deploy as a WAR to a Servlet 3.1+ container, wrap HttpHandler with ServletHttpHandlerAdapter and register that as a Servlet. This can be automated through the use of AbstractReactiveWebInitializer.</p>
  </blockquote>
  
  <p>Baeldung site also wrote about it and they describe a procedure to register a servlet that wrap the router for a standalone environment.</p>
  
  <p>Using Spring boot tomcat starter, I didn't need to do anything : no code about booting the server necessary ; the app starts using the embedded server. In debug I saw NIO access so all seems fine.</p>
  
  <p>I didn't try yet but what will happen on a standalone tomcat using Spring boot tomcat starter and webflux starter ? Is spring boot take care of everything (embbeded and standalone tomcat) ? how does it work ?</p>