Hi,

just a small update:

I switched the implementation to servlet-4.0.0-b01 API as far as possible:

https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api/4.0.0-b01

The only thing I can do now is to wait for the JEE standard to be finalized and 
to be implemented into the servers like jetty, tomcat, etc.

https://github.com/klopfdreh/jetty-http2-example

kind regards

Tobias

> Am 12.05.2016 um 18:15 schrieb Maxim Solodovnik <[email protected]>:
> 
> Cool!
> 
> On Thu, May 12, 2016 at 10:10 PM, Tobias Soloschenko <
> [email protected]> wrote:
> 
>> Hi,
>> 
>> I just managed to finish a PoC in which Apache Wicket runs on Jetty with
>> http/2 and uses the Servlet 4.0 Spec / PushBuilder to provide resources to
>> the client.
>> 
>> Notes:
>> * Small API which can be added to increase the performance of the webapp
>> with http/2
>> * No html changes required
>> 
>> References:
>> *
>> 
>> https://raw.githubusercontent.com/klopfdreh/jetty-http2-example/master/without_push.png
>> *
>> 
>> https://raw.githubusercontent.com/klopfdreh/jetty-http2-example/master/with_push.png
>> 
>> On localhost improved performance: 37ms latency without and 1ms latency to
>> serve the resource (CSS file)
>> 
>> Example Implementation:
>> *
>> 
>> https://github.com/klopfdreh/jetty-http2-example/blob/master/de.jetty.wicket.http2.example/src/main/java/de/jetty/wicket/http2/example/HTTP2Page.java#L28
>> 
>> Jetty Setup:
>> *
>> 
>> https://github.com/klopfdreh/jetty-http2-example/blob/master/de.jetty.wicket.http2.example/src/test/java/de/jetty/wicket/http2/example/Runner.java
>> 
>> hooray!
>> 
>> WDYT
>> 
>> kind regards
>> 
>> Tobias
> 
> 
> 
> -- 
> WBR
> Maxim aka solomax

Reply via email to