Monday, September 30, 2024

Re: Moving to jakarta from javax

The gwt-servlet-jakarta.jar is the one you want for using GWT-RPC in jakarta.servlet environments. Which classes that you need are not updated correctly?

The one (deliberate) omission I'm aware of is validation, but there is no server-side validation component for GWT. However, you may not be able to serialize validation types over gwt-rpc (though it is unlikely you were using this feature) though, since the built-in GWT implementation of validation is frozen at 1.0.0.GA - you'll need a different client implementation, and that implementation will need to be serializable over GWT-RPC to use in this way. See https://gitlab.com/ManfredTremmel/gwt-bean-validators and https://github.com/gwtproject/gwt/issues/9844.
On Monday, September 30, 2024 at 2:05:27 AM UTC-5 ma...@craig-mitchell.com wrote:
My comment probably doesn't help much.  I'm not sure how GWT extracts the Jakarta stuff for the library build.  I think it's all in here: https://github.com/gwtproject/gwt

In any case, adding GWT Servlet Jakarta should just work for Tomcat 10 (it did for me).

<dependency>
  <groupId>org.gwtproject</groupId>
  <artifactId>gwt-servlet-jakarta</artifactId>
</dependency>

On Monday 30 September 2024 at 12:27:09 pm UTC+10 Craig Mitchell wrote:
Yes.  Add this:  https://mvnrepository.com/artifact/org.gwtproject/gwt-servlet-jakarta

On Saturday 28 September 2024 at 4:12:52 am UTC+10 Moshe wrote:
Hello,

Are the Jakarta JARs what we need to use when moving to Tomcat 10? I was verifying but the servlet Jakarta sources jar has only some of the sources. So I decompiled some classes in gwt-servlet-jakarta.jar and I still see javax in imports. 

Thanks. 

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/034cc507-0d10-473a-a516-7f1b886501b1n%40googlegroups.com.

No comments:

Post a Comment