Jep - would be great until the servlet 4 API reaches the final state.

I already reduced the usage of the container specific calls to one line. This 
line can be delegated to the IInitialzer class.

I hope tomcat and other servers are implementing the PushBuilder API similar. 
If yes it is rather easy to create such an integration.

kind regards

Tobias

> Am 29.06.2016 um 17:41 schrieb Martin Grigorov <[email protected]>:
> 
> Hi,
> 
> What do you think about introducing PushBuilder-like API in Wicket-core ?
> The default implementation wil justl log warnings.
> If an application wants to make use of this new functionality then it will
> have to add an additional jar to the classpath, e.g.
> wicketstuff-pushbuilder-jetty9.jar, that will replace the default strategy
> (with IInitializer) with one that knows how to use Jetty9 internals. Same
> for Tomcat 8.5+ and any other container that provides this functionality
> with internal APIs.
> 
> 
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
> 
> On Tue, Jun 28, 2016 at 11:08 PM, Tobias Soloschenko <
> [email protected]> wrote:
> 
>> 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