<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div><div><div>This is exciting news! Would it be possible to publish snapshots from the 3.x branch to begin testing and migration of existing projects and libraries to new APIs?<br></div><div><div><br></div></div><div><div>It looks like the zulipchat link is locked down to specific domains, and I'm unable to sign up.<br></div><div><br></div></div><div>Thank you for all the incredible work you do on Undertow, it's truly a joy to work with.<br></div><div>-ck<br></div></div><div><br></div></div><div>On Thu, Apr 11, 2019, at 20:28, Stuart Douglas wrote:<br></div><blockquote type="cite" id="qt"><div dir="ltr"><span id="qt-gmail-docs-internal-guid-8c0604de-7fff-db22-6455-9c319df91f8e"><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="font-family:Arial" class="font"><span style="color:#000000" class="colour"><span style="font-size:11pt" class="size">The Java network programming world has come a long way since Undertow was first started. Netty has emerged as the de-facto standard for network programming in Java, and the Undertow team has decided that the benefits of </span><span style="font-size:14.6667px" class="size">utilising</span><span style="font-size:11pt" class="size"> Netty outweigh any benefits in keeping our XNIO based transport layer.</span></span></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">Undertow 3.0 will keep Undertow’s programming model, however the underlying transport will be changed from XNIO to Netty. We will also use the Netty HTTP/1, HTTP/2 and Websocket implementations. We believe this change will have a number of advantages:</span></span></span></span><br></p><div><br></div><ul style="margin-top:0pt;margin-bottom:0pt;"><li style="list-style-type:disc;font-size:11pt;font-family:Arial;color:rgb(0, 0, 0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre;" dir="ltr"><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="font-size:11pt" class="size">It will allow other Netty based services (e.g GRPC) to share the same HTTP port</span></span><br></p></li><li style="list-style-type:disc;font-size:11pt;font-family:Arial;color:rgb(0, 0, 0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre;" dir="ltr"><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="font-size:11pt" class="size">It allows sharing of threads between Undertow and other Netty based services, resulting in services using less resources</span></span><br></p></li><li style="list-style-type:disc;font-size:11pt;font-family:Arial;color:rgb(0, 0, 0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre;" dir="ltr"><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="font-size:11pt" class="size">The underlying transport implementation are the most complex part of Undertow, delegating this to Netty will significantly reduce the work needed to maintain Undertow</span></span><br></p></li></ul><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">As part of this Flavia Rainone will be taking over as project lead from Stuart Douglas so he can focus on the recently announced Quarkus project, however Stuart will continue to be heavily involved in Undertow for the foreseeable future.</span></span></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">Flavia Rainone has been involved in JBoss community since 2002 and has an extensive background on Remoting and Xnio. In the past years, she acted as EJB component lead for WildFly, &nbsp;besides contributing to several projects in WildFly, such as IronJacamar, JBoss MSC and XNIO, and also Byteman. All this makes her a good fit for taking over Undertow leadership.</span></span></span></span><br></p><div><br></div><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><b><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">What does this mean for me?</span></span></b></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">What this means for you will depend on which parts of Undertow you are using:</span></span></span></span><br></p><div><br></div><ul style="margin-top:0pt;margin-bottom:0pt;"><li style="list-style-type:disc;font-size:11pt;font-family:Arial;color:rgb(0, 0, 0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre;" dir="ltr"><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="font-size:11pt" class="size">If you are using the Servlet API then you will likely not notice any change. You will need some different dependencies (Netty instead of XNIO), however the rest of the experience should be mostly identical</span></span><br></p></li><li style="list-style-type:disc;font-size:11pt;font-family:Arial;color:rgb(0, 0, 0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre;" dir="ltr"><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="font-size:11pt" class="size">If you are using the low level Undertow HttpHandler and HttpServerExchange and you want to use Undertow 3.0 then you will need to migrate your application. For the most part this migration should be straightforward, as most concepts from the old API directly map to the new API.</span></span><br></p></li></ul><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><b><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">Road Map</span></span></b></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><b><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">2.x</span></span></b></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">The existing Undertow 2.x branch will continue to be maintained for the foreseeable future. It will receive bug and security fixes, and some features, however it is unlikely to receive any more low level transport oriented features (e.g. HTTP/3 support). For now it is a perfectly valid choice to stay on Undertow 2 while the new Netty based implementation matures.</span></span></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><b><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">3.x</span></span></b></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">A 3.0 final version should be released in the next few months, however in the short term the 3.x branch will not provide the same level of API compatibility that Undertow has traditionally provided. As the Netty implementation is new this will allow us to potentially fix any issues we find with our approach without being locked in to supporting an API that is not ideal.</span></span></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">This is a great time to try out the new API and report and problems or suggestions. Note that this is explicitly referring to the core HttpServerExchange based API, no major plans are expected to the Servlet API (i.e. ServletExtension and DeploymentInfo).</span></span></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><b><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">4.x</span></span></b></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">After a short 3.x cycle we are planning on releasing a 4.x that will provide API stability, in the same way that Undertow 1.x and 2.x have.</span></span></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><b><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">How can I contribute</span></span></b></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">You can contribute to Undertow in the same way it has always been done.</span></span></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">We have an email list open for discussion here: <a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a></span></span></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">Jira issues can be accessed here: <a href="https://issues.jboss.org/projects/UNDERTOW/issues">https://issues.jboss.org/projects/UNDERTOW/issues</a></span></span></span></span><br></p><div><br></div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;" dir="ltr"><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">And source code for 3.x is here: <a href="https://github.com/undertow-io/undertow/tree/3.0.x">https://github.com/undertow-io/undertow/tree/3.0.x</a></span></span></span></span><br></p><div><br></div><div><span style="background-color:transparent" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">Also, with the move from HipChat to Zulip in Wildfly team, you can now access Undertow stream via Zulip at </span></span></span></span><a style="text-decoration-line:none;" href="https://wildfly.zulipchat.com/"><span style="background-color:transparent" class="highlight"><span style="font-family:Arial" class="font"><span style="font-size:11pt" class="size">https://wildfly.zulipchat.com/</span></span></span></a><br></div></span></div><div>_______________________________________________<br></div><div>undertow-dev mailing list<br></div><div>undertow-dev@lists.jboss.org<br></div><div>https://lists.jboss.org/mailman/listinfo/undertow-dev<br></div></blockquote><div><br></div></body></html>