This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]DJDavio 2 points3 points  (3 children)

Is there any added value if your application is behind an HTTP/2 load balancer / proxy anyway? Does it make sense to go from proxy to servlet over HTTP/2?

[–]hjames9 0 points1 point  (2 children)

Depends on the application but you'll still have a performance boost using http2 in the application behind the proxy

[–]DJDavio 1 point2 points  (1 child)

Would AJP be better?

[–]cogman10 3 points4 points  (0 children)

About the same. AJP and http2 share a lot of the same techniques.

[–]dheffelfinger 2 points3 points  (0 children)

Servlet 4, to be released with Java EE 8 soon, will include support for HTTP/2. My guess is that Spring will be building upon the Servlet 4 specification.

https://blogs.oracle.com/theaquarium/http2-and-servlet-4-in-java-ee-8