zkoss / zkspringboot

ZK - Spring Boot integration
Apache License 2.0
53 stars 56 forks source link

Spring Boot 3.0 Version #33

Closed marvin-enthus closed 1 year ago

marvin-enthus commented 1 year ago

Hi,

will there be a version compatible with Spring Boot 3.0?

Cheers, marvin

afreller-1wa commented 1 year ago

I second this request. This would be very helpful and appreciated for us too.

hawkchen commented 1 year ago

Thanks for your contribution. I have published https://mavensync.zkoss.org/maven2/org/zkoss/zkspringboot/zkspringboot-starter/3.0.0-FL-2023011117/ please try it out, if everything works as expected. I will publish an official version.

marvin-enthus commented 1 year ago

Hi @hawkchen,

we use the zkspringboot-autoconfig in our project and I successfully tested it. grafik

2023-01-11T10:46:48.306Z  INFO 92245 --- [           main] org.eclipse.jetty.server.Server          : jetty-11.0.13; built: 2022-12-07T20:47:15.149Z; git: a04bd1ccf844cf9bebc12129335d7493111cbff6; jvm 17.0.5+1-b653.23
2023-01-11T10:46:48.348Z  INFO 92245 --- [           main] o.e.j.s.h.ContextHandler.application     : Initializing Spring embedded WebApplicationContext
2023-01-11T10:46:48.349Z  INFO 92245 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 6208 ms
2023-01-11T10:46:48.351Z  INFO 92245 --- [           main] o.s.b.zk.ZkSpringBaseAutoConfigurations  : ZK-Springboot: ServletRegistrationBean for DHtmlLayoutServlet with mappings [*.zhtml, *.zul]
2023-01-11T10:46:48.361Z  INFO 92245 --- [           main] o.z.zkspringboot.ZkAutoConfiguration     : ZK-Springboot: ServletRegistrationBean for DHtmlUpdateServlet with path /zkau
2023-01-11T10:46:48.364Z  INFO 92245 --- [           main] o.z.zkspringboot.ZkAutoConfiguration     : ZK-Springboot: ServletRegistrationBean for DHtmlResourceServlet with path /zkres
2023-01-11T10:46:48.365Z  INFO 92245 --- [           main] o.z.zkspringboot.ZkMaxAutoConfiguration  : ZK-Springboot: ServletRegistrationBean for CometAsyncServlet with path /zkcomet
2023-01-11T10:46:48.367Z  INFO 92245 --- [           main] o.z.zkspringboot.ZkMaxAutoConfiguration  : ZK-Springboot: FilterRegistrationBean for WebSocketFilter with path /zkwm
2023-01-11T10:46:48.419Z  INFO 92245 --- [           main] o.e.j.s.session.DefaultSessionIdManager  : Session workerName=node0
2023-01-11T10:46:48.428Z  INFO 92245 --- [           main] org.zkoss.zk.ui.http.WebManager          : Starting ZK 9.6.3 EE (build: 2022102511)

ZK on a spring boot 3 is working ;)

I did some tests with the demo projects and started the testcases before doing the PR, so the starter should also work ;)

Cheers, Chris