JDK and GWT Upgrade.

2024-06-13 Thread Agathesh Muruganandam
I'm looking to upgrade an ANT-based build tool project developed with Java 1.8.0.161 and GWT to utilize Java 17. To achieve this, I'm seeking guidance on the necessary modifications within the build.xml file. Additionally, I'd appreciate insights on the most suitable Apache ANT version for

Re: Building a GWT project in Eclipse 2019-03+ with Java 11.

2024-06-12 Thread tekkyru
Thanks to all who helped and inspired me, I've gotten rid of the Eclipse GWT plugin and have configured a Gradle project that uses Eclipse plugin, so it can be used standalone from command line or imported to Eclipse. When imported to Eclipse it represents a webapp that can be added to a

Re: CWE-749 GWT and eval()

2024-06-12 Thread Colin Alworth
David can you clarify how you are using eval, and what it is that makes you want to stop specifically? Using CSP is entirely opt-in (though likely a good idea), but there is nothing about GWT that is going to take away the ability to use eval. On Tuesday, June 4, 2024 at 11:59:58 PM UTC-5

Re: GWT, Java 17, jakarta.servlet, Eclipse, GWT plugin

2024-06-12 Thread Colin Alworth
> Clearly the GWT plugin/installed Jetty are not Jakarta-ready. I could try to update and rebuild the plugin to make it so (maybe), but I'm so overwhelmed with other chores that I can't afford having that turn into another rabbit hole. It's easier/safer/wiser to go back to javax. If you mean

Re: GWT, Java 17, jakarta.servlet, Eclipse, GWT plugin

2024-06-12 Thread Bob Lacatena
Thanks for all the replies. None of them directly addressed my needs, but in combination they all provided enough understanding to help me make some decisions: Clearly the GWT plugin/installed Jetty are not Jakarta-ready. I could try to update and rebuild the plugin to make it so (maybe),

Re: GWT, Java 17, jakarta.servlet, Eclipse, GWT plugin

2024-06-12 Thread Thomas Broyer
On Wednesday, June 12, 2024 at 11:27:27 AM UTC+2 Jens wrote: Needless to say that I have split client, shared and server code into their own projects. This is the recommeneded project layout these days * checks notes * I've been advocating for it for more than 12 years now

Re: GWT, Java 17, jakarta.servlet, Eclipse, GWT plugin

2024-06-12 Thread Jens
1. You do not have to use Jakarta if you want to migrate to Java 17. You can very well stay on javax and first make the JDK transition work 2. GWT's embedded Jetty is always javax because it is version 9.4.xx. The use of GWT's embedded Jetty is officially deprecated and you should use your own

Re: GWT, Java 17, jakarta.servlet, Eclipse, GWT plugin

2024-06-12 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
This might help: its a different solution to the issue Craig dealt with. Its an extension of the gwt multi-module sample with an embedded Jetty, for Java 11 without Spring. https://github.com/timmacp/AppEngineGwt/tree/main On Wednesday, June 12, 2024 at 9:03:01 AM UTC+1 Wejden Mrabti wrote: >

Re: GWT, Java 17, jakarta.servlet, Eclipse, GWT plugin

2024-06-12 Thread Wejden Mrabti
hello! @Craig it looks great what you have done! @bob I am working on same migration acutally, It looks that the embedded Jetty in GWT DevMode has been deprecated in GWT 2.11 due to classloader issues and other complexities. To avoid these problems, you can try transition to a dedicated

Re: GWT, Java 17, jakarta.servlet, Eclipse, GWT plugin

2024-06-11 Thread Craig Mitchell
I would recommend creating a new project with everything that you want to use, get it working how you like, then use that as a template on how you will upgrade your existing project. For my project that I needed to upgrade from Java 8 to Java 17 (because Google App Engine dropped support for

GWT, Java 17, jakarta.servlet, Eclipse, GWT plugin

2024-06-11 Thread Bob Lacatena
I am wrestling with a massive effort that has been one stumbling block after another. The core task is to convert a sadly monolithic and archaic app from Java 8 to Java 17. My current subtask (maybe necessary, maybe not) is to convert everything to use jakarta.servlet rather than

Need help getting CodeServer config back to working state

2024-06-11 Thread Mathias
Hello, for some reason my codeserver/server jetty setup has stopped working, and I can't seem to get it back. I'm feeling more confused than usual, so I hope someone can help me out. Have a bunch of projects using the old gwt plugins which work fine, but my new project is using the new tbroyer

Re: CWE-749 GWT and eval()

2024-06-04 Thread David
I also use eval in my GWT application. What is an eval alternative in GWT? On Tuesday, June 4, 2024 at 10:12:12 PM UTC+8 Colin Alworth wrote: > Consider compiling your application with style=PRETTY or DETAILED so you > can see more detail on the name of methods and the classes that surround >

Re: GWT Java Interview at JCON 2024 Cologne

2024-06-04 Thread lofid...@gmail.com
藍藍 Craig Mitchell schrieb am Dienstag, 28. Mai 2024 um 08:28:37 UTC+2: Nice one. I can't believe you agreed with the presentor that you missed writing Swing apps. Nobody misses Swing.  On Saturday 25 May 2024 at 8:23:14 pm UTC+10 lofid...@gmail.com wrote: At JCON 2024 in Cologne, I had

Re: CWE-749 GWT and eval()

2024-06-04 Thread Colin Alworth
Consider compiling your application with style=PRETTY or DETAILED so you can see more detail on the name of methods and the classes that surround the code you have questions about, it can make it easier to hunt these down. I pretty-printed the code snippet you shared, which results in this:

Re: New Features and Updates for dncomponents!

2024-06-04 Thread nikola
Here is the new release of dncomponents with bug fixes and improvements. And an interesting example of TodoMVC application written in Java with dncomponents TodoComponent.java

CWE-749 GWT and eval()

2024-06-04 Thread Giacomo Petronio
When we run automated security scan against our GWT project, one of the main vulnerability is related to the presence of eval() functions in the .nocache.js file ...{j=k.substring(Z,m);l=k.substring(m+$)}else{j=k;l=fb}c[j]=l}}else

Re: GWT RPC and CSP with unsafe-eval

2024-05-31 Thread Giacomo Petronio
I have to correct myself: every RPC call fails, not just one in particular. On Friday, May 31, 2024 at 2:48:48 PM UTC+2 Giacomo Petronio wrote: > I upgraded to GWT 2.11.0 and introduced the CSP header disallowing > unsafe-eval, but now one (not all) RPC call fails since it hits an eval() >

GWT RPC and CSP with unsafe-eval

2024-05-31 Thread Giacomo Petronio
I upgraded to GWT 2.11.0 and introduced the CSP header disallowing unsafe-eval, but now one (not all) RPC call fails since it hits an eval() function that is blocked by the browser. I saw that there is an issue with RPC with large payloads (> 64kb

Re: GWT Java Interview at JCON 2024 Cologne

2024-05-28 Thread Craig Mitchell
Nice one. I can't believe you agreed with the presentor that you missed writing Swing apps. Nobody misses Swing.  On Saturday 25 May 2024 at 8:23:14 pm UTC+10 lofid...@gmail.com wrote: > At JCON 2024 in Cologne, I had the opportunity to talk about GWT and Java. > > I was interviewed by

Re: gwt-maven-springboot-archetype updated ...

2024-05-25 Thread 'Frank Hossfeld' via GWT Users
> (fwiw, your GitHub Actions workflow no longer runs as it targets the master branch and you renamed it to main) good point! Thanks. Thomas Broyer schrieb am Freitag, 24. Mai 2024 um 11:22:43 UTC+2: > On Thursday, May 23, 2024 at 6:31:18 PM UTC+2 frank.h...@googlemail.com > wrote: > > Running

GWT Java Interview at JCON 2024 Cologne

2024-05-25 Thread lofid...@gmail.com
At JCON 2024 in Cologne, I had the opportunity to talk about GWT and Java. I was interviewed by Brian Demers, a Java Champion. Pardon me as we forgot to unmute the first minute  - Enjoy https://bit.ly/jcongwt -- You received this message because you are subscribed to the Google Groups "GWT

Re: gwt-maven-springboot-archetype updated ...

2024-05-24 Thread Thomas Broyer
On Thursday, May 23, 2024 at 6:31:18 PM UTC+2 frank.h...@googlemail.com wrote: Running a `mvn clean verify` generate the project and compares it with predefined sources. Similar to your gwt-maven-archetype. What not gets tested, is building a war and run it. Ah, apparently it also gets

Re: gwt-maven-springboot-archetype updated ...

2024-05-23 Thread Craig Mitchell
When Thomas said: > *Out of curiosity, any specific reason you don't automate a "mvn clean verify" to validate the generated project?* I suspect he was talking about a Git pre-push hook that automatically did a mvn verify: https://git-scm.com/docs/githooks#_pre_push Unless I misunderstood.

Re: gwt-maven-springboot-archetype updated ...

2024-05-23 Thread 'Frank Hossfeld' via GWT Users
Thanks for contributing, Craig, LGTM, so already merged. :-) Craig Mitchell schrieb am Mittwoch, 22. Mai 2024 um 03:48:18 UTC+2: > Thanks Frank. I was misunderstanding and didn't know about > the basic-webapp in the target. > > I revamped the readme.md: >

Re: gwt-maven-springboot-archetype updated ...

2024-05-23 Thread 'Frank Hossfeld' via GWT Users
Running a `mvn clean verify` generate the project and compares it with predefined sources. Similar to your gwt-maven-archetype. What not gets tested, is building a war and run it. Thomas Broyer schrieb am Dienstag, 21. Mai 2024 um 18:07:30 UTC+2: > On Tuesday, May 21, 2024 at 6:02:31 PM UTC+2

Re: JSInterop and "JSON.stringify" method return "Converting circular structure to JSON"

2024-05-22 Thread Craig Mitchell
Would it not be easier to just create your JSON object manually with the classes in com.google.gwt.json.client? Ie: JSONObject, JSONArray, ... On Thursday 23 May 2024 at 1:42:29 am UTC+10 Thomas Broyer wrote: > On Wednesday, May 22, 2024 at 12:43:56 PM UTC+2 tenti...@gmail.com wrote: > > I

Re: JSInterop and "JSON.stringify" method return "Converting circular structure to JSON"

2024-05-22 Thread Thomas Broyer
On Wednesday, May 22, 2024 at 12:43:56 PM UTC+2 tenti...@gmail.com wrote: I misunderstood the documentation... ty for the clarification Thomas can you give me some confirmations. The Date issue, When you say to use the JsDate do you mean the one in the elemental2 package

Re: JSInterop and "JSON.stringify" method return "Converting circular structure to JSON"

2024-05-22 Thread Marco Tenti (IoProgrammo88)
I misunderstood the documentation... ty for the clarification Thomas can you give me some confirmations. The Date issue, When you say to use the JsDate do you mean the one in the elemental2 package (elemental2.core.JsDate) or in the gwt core ( com.google.gwt.core.client.JsDate) ? So for the

Re: JSInterop and "JSON.stringify" method return "Converting circular structure to JSON"

2024-05-22 Thread Vassilis Virvilis
> > or passing a @JsFunction to JSON.stringify() as its second argument I wish I knew that some time before... -- Vassilis Virvilis -- 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

Re: gwt-maven-springboot-archetype updated ...

2024-05-21 Thread Craig Mitchell
Thanks Frank. I was misunderstanding and didn't know about the basic-webapp in the target. I revamped the readme.md: https://github.com/NaluKit/gwt-maven-springboot-archetype/pull/17 Hopefully made it better not worse.  On Wednesday 22 May 2024 at 2:07:30 am UTC+10 Thomas Broyer wrote: >

Re: gwt-maven-springboot-archetype updated ...

2024-05-21 Thread Thomas Broyer
On Tuesday, May 21, 2024 at 6:02:31 PM UTC+2 frank.h...@googlemail.com wrote: Ok, got it, was thinking, we were talking about the generated project ... Yep correct, usually, running the verify goal, will compare the generated sources with the ones stored under test resources. There is no

Re: gwt-maven-springboot-archetype updated ...

2024-05-21 Thread 'Frank Hossfeld' via GWT Users
Ok, got it, was thinking, we were talking about the generated project ... Yep correct, usually, running the verify goal, will compare the generated sources with the ones stored under test resources. There is no test were the generated project gets started/tested, if it works. The generated

Re: Using JsInterop to create JS object literals

2024-05-21 Thread Marco Tenti (IoProgrammo88)
I thank you Thomas for the clarification unfortunately I am forced to use setters and getters because I cannot find another way to set the values and compile the GWT java client. As you said I seem to have solved it with: @JsProperty public native String getCodeAdministration(); @JsProperty

Re: Using JsInterop to create JS object literals

2024-05-21 Thread Thomas Broyer
With the following: @JsType(namespace = JsPackage.GLOBAL, name = "Object", isNative = true) public class XXXGWT { public String codiceAmministrazione; } you should be able to write: var xxx = new XXXGWT(); xxx.codiceAmministrazione = "foo"; and have it translate more or less to: let xxx =

Re: Using JsInterop to create JS object literals

2024-05-21 Thread Marco Tenti (IoProgrammo88)
Just to be clear on my use case this is my java class: @JsType(namespace = JsPackage.GLOBAL, name = "Object", isNative = true) public class XXXGWT { private String codiceAmministrazione; @JsConstructor public DocumentoPAC4DTOGWT() {} public native String getCodiceAmministrazione();

Re: Using JsInterop to create JS object literals

2024-05-21 Thread Marco Tenti (IoProgrammo88)
Sorry Thomas about your last comment " I'd rather user fields than getters/setters for such objects " can you point me out to some example for this ? Il giorno mercoledì 29 giugno 2022 alle 09:48:49 UTC+2 Thomas Broyer ha scritto: > Using isNative=true, you're telling GWT that you're only

Re: gwt-maven-springboot-archetype updated ...

2024-05-21 Thread Craig Mitchell
Sorry, I think I wasn't clear. Yes, I can make changes to the gwt-maven-springboot-archetype project, and do a mvn compile on it to make sure there are no syntax errors with my changes. The problem is, if I want to test to make sure my modified version of gwt-maven-springboot-archetype

Re: gwt-maven-springboot-archetype updated ...

2024-05-20 Thread 'Frank Hossfeld' via GWT Users
Thanks for you PR. Your PR is merged and a new release is done. New version should be available soon. doing a `mvn clean compile` is usually enough to generate all necessary sources and run the project. It's much faster cause it avoids a GWT compile during build. In case you need a war, run

Re: gwt-maven-springboot-archetype updated ...

2024-05-20 Thread 'Frank Hossfeld' via GWT Users
Thanks for you PR. Your PR is merged and a new release is done. New version should be available soon. doing a `mvn clean compile` is usually enough to generate all necessary sources and run the project. It's much faster cause it avoids a GWT compile during build. In cause you need a war, run

Re: gwt-maven-springboot-archetype updated ...

2024-05-19 Thread Craig Mitchell
Just tried a mvn install, and it seems to have worked. So I think the instructions https://github.com/NaluKit/gwt-maven-springboot-archetype?tab=readme-ov-file#local-generation : cd gwt-maven-springboot-archetype && mvn clean compile should be: cd gwt-maven-springboot-archetype && mvn clean

Re: gwt-maven-springboot-archetype updated ...

2024-05-19 Thread Craig Mitchell
Hi Frank. Unfortunately, that didn't work. I raised an issue: https://github.com/NaluKit/gwt-maven-springboot-archetype/issues/15 I've also submitted a fix: https://github.com/NaluKit/gwt-maven-springboot-archetype/pull/16 However, I couldn't test my fix with the generation. The

[ANN] JRS gwt-time 1.4.23/2.0.11 release

2024-05-18 Thread foal
Hi, JRS gwt-time 1.4.23/2.0.11 has been released. - TZDB: 2024agtz - CLDR: v45 - Add Java 9 (partly) methods support. Details are on https://github.com/foal/gwt-time/releases/tag/v1.4.23 and https://github.com/foal/gwt-time/releases/tag/v2.0.11 Project page -

Re: [ANN] JRS gwt-time 1.4.22/2.0.10 release

2024-05-18 Thread foal
New release with update TZDB is published to maven central Best, S. On Monday, April 8, 2024 at 8:15:54 PM UTC+2 Guillermo Hinojosa wrote: > Hi, > > I'm using gwt-time (great work by the way), and I noticed that the TZDB is > not updated for Mexico (two years ago Mexico stopped using DST). Is

Re: gwt-maven-springboot-archetype updated ...

2024-05-18 Thread 'Frank Hossfeld' via GWT Users
I'll added some additional code to avoid adding the launcherDir as document root in production mode. New version should be soon available. Craig Mitchell schrieb am Samstag, 18. Mai 2024 um 16:00:47 UTC+2: > The issue seems to be the launcherDir directory doesn't exist. I've > raised a an

Re: gwt-maven-springboot-archetype updated ...

2024-05-18 Thread Craig Mitchell
The issue seems to be the launcherDir directory doesn't exist. I've raised a an issue with the full stack trace: https://github.com/NaluKit/gwt-maven-springboot-archetype/issues/13 On Saturday 18 May 2024 at 11:06:28 pm UTC+10 Frank Hossfeld wrote: > please can you post the error message:

Re: gwt-maven-springboot-archetype updated ...

2024-05-18 Thread 'Frank Hossfeld' via GWT Users
please can you post the error message: Thanks Craig Mitchell schrieb am Samstag, 18. Mai 2024 um 13:11:40 UTC+2: > I spoke to soon. Adding the EmbeddedServletContainerConfig fixes the > serialization policy when running locally, but if you do a build and try to > run. Ie: mvn clean package

Re: gwt-maven-springboot-archetype updated ...

2024-05-18 Thread Craig Mitchell
I spoke to soon. Adding the EmbeddedServletContainerConfig fixes the serialization policy when running locally, but if you do a build and try to run. Ie: mvn clean package and then java -jar myserver/myapp.war, it crashes. I'll investigate. Any ideas/help most welcome. On Saturday 18 May

Re: gwt-maven-springboot-archetype updated ...

2024-05-18 Thread Craig Mitchell
> *New version available ... This one fixes the serializationPolicyFilePath issue ... * Awesome, thanks! I've closed https://github.com/NaluKit/gwt-maven-springboot-archetype/issues/7  On Thursday 16 May 2024 at 4:38:52 am UTC+10 Frank Hossfeld wrote: > Bott -> Boot ... (spelling

Re: New Features and Updates for dncomponents!

2024-05-17 Thread Jeff Hill
Nicely Done! Excited to try this out. On Friday, May 17, 2024 at 2:49:39 AM UTC-6 nikola wrote: > Here are the latest updates to the dncomponents project. Check it out on > GitHub: dncomponents > > > *New Reactivity Features* > > This release

New Features and Updates for dncomponents!

2024-05-17 Thread nikola
Here are the latest updates to the dncomponents project. Check it out on GitHub: dncomponents *New Reactivity Features* This release brings some powerful new features inspired by popular frameworks like Vue, React, and Angular: -

Re: gwt-maven-springboot-archetype updated ...

2024-05-15 Thread 'Frank Hossfeld' via GWT Users
Bott -> Boot ... (spelling correction arrrgh) -- 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+unsubscr...@googlegroups.com. To view this

Re: gwt-maven-springboot-archetype updated ...

2024-05-15 Thread 'Frank Hossfeld' via GWT Users
and the version of Spring Bott is updated to 3.2.5 Frank Hossfeld schrieb am Mittwoch, 15. Mai 2024 um 20:36:10 UTC+2: > New version available ... This one fixes the serializationPolicyFilePath > issue ... > > Craig Mitchell schrieb am Montag, 4. März 2024 um 12:59:57 UTC+1: > >> Thank you

Re: gwt-maven-springboot-archetype updated ...

2024-05-15 Thread 'Frank Hossfeld' via GWT Users
New version available ... This one fixes the serializationPolicyFilePath issue ... Craig Mitchell schrieb am Montag, 4. März 2024 um 12:59:57 UTC+1: > Thank you Frank for making the excellent tool! Just checked the changes, > working perfectly.  > > On Monday 4 March 2024 at 7:55:58 pm

Re: Unable to Access GWT CodeServer Outside of WSL Environment

2024-05-09 Thread Anders Kobberup
I found that info after sending the reply. Thanks for your help! On Thursday, May 9, 2024 at 9:15:13 AM UTC+2 Anders Kobberup wrote: > Hi Craig > > That works - awesome! > We have been using GWT since 2010 for our monolith of a project and have > never found the need to change the maven plugin.

Re: Unable to Access GWT CodeServer Outside of WSL Environment

2024-05-09 Thread Anders Kobberup
Hi Craig That works - awesome! We have been using GWT since 2010 for our monolith of a project and have never found the need to change the maven plugin. Whats the improvements over the old plugin? Kind regards - and thanks again! /Anders On Thursday, May 9, 2024 at 6:02:22 AM UTC+2 Craig

Re: Unable to Access GWT CodeServer Outside of WSL Environment

2024-05-08 Thread Craig Mitchell
I haven't used that old plugin for awhile, but I think you need to set the bindAddress to 0.0.0.0: https://gwt-maven-plugin.github.io/gwt-maven-plugin/eclipse-mojo.html#bindAddress You might like to do a test with generating a sample app with https://github.com/tbroyer/gwt-maven-archetypes

Unable to Access GWT CodeServer Outside of WSL Environment

2024-05-08 Thread Anders Kobberup
I am encountering an issue with accessing the GWT CodeServer from outside the Windows Subsystem for Linux (WSL) environment. I'm hoping to get some guidance or assistance on resolving this issue. The problem arises when attempting to access the GWT CodeServer running within the WSL

[gwt-contrib] Re: Seeking Advice on Legacy Application Migration Strategy

2024-05-03 Thread Jens
Then the very first thing to do is stop using the embedded Jetty of GWT DevMode as application server. The embedded Jetty in GWT DevMode does some ClassLoader hacks and it often causes issues for people using the embedded Jetty as application server. That is the reason why GWT 2.11 has

Re: Seeking Advice on Legacy Application Migration Strategy

2024-05-01 Thread Wejden Mrabti
thank you @Colin I started by upgrading gwt Only from version 2.8.2 To 2.10.0 and I kept java 8 and GXT 2.3.1a-gwt22 In my jetty-env.xml file i had org.eclipse.jetty.webapp.WebAppContext as a configurationClass, so It cause fd ollowing error when launching

[gwt-contrib] Re: Seeking Advice on Legacy Application Migration Strategy

2024-05-01 Thread Wejden Mrabti
thank you @jens for your answer I started by upgrading gwt Only from version 2.8.2 To 2.10.0 and I kept java 8 . I my jetty-env.xml file i had org.eclipse.jetty.webapp.WebAppContext as a configurationClass, so It cause fd ollowing error when launching java.lang.ClassNotFoundException:

[gwt-contrib] Re: Seeking Advice on Legacy Application Migration Strategy

2024-04-30 Thread Jens
I would first focus on upgrading Java, GWT and possibly GXT if it is incompatible with newest GWT. The DataSource error will go away once you upgrade GWT because newer GWT versions use a newer Jetty. Keep in mind that in newest GWT the use of embedded Jetty as appliction server during

Re: Seeking Advice on Legacy Application Migration Strategy

2024-04-26 Thread Colin Alworth
You might run into issues with such an old version of GXT when using a new GWT version - take a look at https://groups.google.com/g/google-web-toolkit/c/If897MPqvw0/m/bSWnmuz9BwAJ for a summary of how to update GXT 2.3.1a-gwt22. With GWT updated to 2.9.0 or beyond, you will be able to run on

Re: Seeking Advice on Legacy Application Migration Strategy

2024-04-26 Thread Wejden Mrabti
Many thanks @frank Hossfeld, I am so excited to start it .. it is clear please feel free to share any references or links that can help me in that adventure . thank you wm Le ven. 26 avr. 2024 à 11:50, 'Frank Hossfeld' via GWT Users < google-web-toolkit@googlegroups.com> a écrit : > GWT 2.8.2

Re: Seeking Advice on Legacy Application Migration Strategy

2024-04-26 Thread 'Frank Hossfeld' via GWT Users
GWT 2.8.2 is pretty old - nearly seven years - and i am not sure, if the GWT 2.8.2 will work with Java 11 Migrating to the latest version of GWT will give you some benefits. IIRC GWT 2.8.2 generates at least 5 JS-files where GWT 2.11.0 only generates 2. This will speed up the build. Also,

Re: Seeking Advice on Legacy Application Migration Strategy

2024-04-26 Thread Wejden Mrabti
thank you for your answer @craig Mitchell if i want to continue hibernate 6 , how to do launch gwt application on java 11 ? is it possible to continue working like this ? what do you think? Le vendredi 26 avril 2024 à 02:22:52 UTC+2, Craig Mitchell a écrit : > It'd be hard to answer that

Re: Seeking Advice on Legacy Application Migration Strategy

2024-04-25 Thread Craig Mitchell
It'd be hard to answer that question, as we don't have all the details. As this is a GWT forum, I'd say, migrate GWT to the latest version first. But that might actually be bad advice, just depends on your project. My gut feel is you'd be best to decouple the front end and back end first. On

Seeking Advice on Legacy Application Migration Strategy

2024-04-25 Thread Wejden Mrabti
Hello GWT Users Community, I'm currently working on a large legacy application stack, using Java 8, Hibernate version 5.3.20.Final, and Hibernate Search 5.11.5.Final. Our frontend technology stack includes GWT version 2.8.2 and GXT version 2.3.1a-gwt22. Fontend and backend arent well

[gwt-contrib] Seeking Advice on Legacy Application Migration Strategy

2024-04-25 Thread Wejden Mrabti
Hello GWT Community, I'm currently working on a large legacy application stack, using Java 8, Hibernate version 5.3.20.Final, and Hibernate Search 5.11.5.Final. Our frontend technology stack includes GWT version 2.8.2 and GXT version 2.3.1a-gwt22. Fontend and backend arent well de-coupled.

Re: Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-15 Thread 'Frank Hossfeld' via GWT Users
Are you certain, that the annotation processor had ran? I have not digged into domino-jackson, but I think, the @JsonMapper annotation triggers a annotation processor. The generated classes will be found under 'target/generated-sources/annotatins' Marco Tenti (IoProgrammo88) schrieb am Montag,

Re: Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-15 Thread 'Frank Hossfeld' via GWT Users
Are you certain, that the annotation processor already run? I have not digged into domino-jackson, but I think, the @JsonMapper annotation triggers a annotation processor. The generated classes will be found under 'target/generated-sources/annotatins' Marco Tenti (IoProgrammo88) schrieb am

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-15 Thread 'RobW' via GWT Users
Note sure if this will gelp you much - we're a Gradle user, and don't use intellij. But the basic principles are the same. When we migrated to the latest GWT we also updated our top level gradle build file to have a gwtSuperDev task which does all the heavy lifting for us: task

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-15 Thread Mathias
Hi Thomas unfortunately, I'm still stuck. I thought I'd attack the Lombok dependency first, since that's a third-party it depends on. I don't suppose you've ever been exposed to that? I tried setting the *compile *to the "configuration" setting of the plugin def in pluginmanagement of the

Re: NoClassDefFoundError on a particular class while running gwt:codeserver

2024-04-15 Thread Mukeya Kassindye
Hi everyone, @Tbroyer : I ended up change the scope of my hibernate dependencies to runtime and now it is working fine. @Jens, just by changing the scope to runtime, with the version I specified. it is working. thanks all for the tips. Mnamo Ijumaa, 5 Aprili 2024 saa 10:06:46 UTC-3 Thomas

Re: Problems moving JsInterop from GWT 2.7 to 2.8

2024-04-15 Thread Marco Tenti (IoProgrammo88)
" I also solved the problem of List and Map with an own Interface, which is an ArrayList/HashMap on serverside and an own implemented native List/Map on gwt side" can you share the solution ? Il giorno venerdì 29 settembre 2017 alle 14:00:12 UTC+2 Ignacio Baca Moreno-Torres ha scritto: > We

Re: Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-15 Thread Marco Tenti (IoProgrammo88)
I also try to use the external approach described here https://dominokit.com/solutions/domino-jackson/v1/docs/getting-started/define-mappers but it should be the same i must have the XXMapperImpl somewhere , but the java compiler tell me that class do not exists. Maybe there is some maven

Re: Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-15 Thread Marco Tenti (IoProgrammo88)
The problem i cannot find the generate class "Person_MapperImpl" is under the target folder somewhere ? Il giorno venerdì 12 aprile 2024 alle 18:25:30 UTC+2 Thomas Broyer ha scritto: > Aren't you supposed to directly use the generated class rather than using > GWT.create() ? (unless you also

Re: Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-12 Thread Thomas Broyer
Aren't you supposed to directly use the generated class rather than using GWT.create() ? (unless you also added a in your gwt.xml) https://dominokit.com/solutions/domino-jackson/v1/docs/getting-started/quick-start On Friday, April 12, 2024 at 1:20:27 PM UTC+2 tenti...@gmail.com wrote: > I'm

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Mathias
Thomas, Marco showed me a project that made me see one thing I hadn't thought about, which was configured the same in the archetype project. It's regarding the sources. In my project, I only have one jar that contain both classes and source files for those jar files that are needed, i.e. no

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Mathias
Thanks! That's a great resource and got me to see one thing I'd missed. On Friday 12 April 2024 at 15:11:45 UTC+2 Marco Tenti (IoProgrammo88) wrote: > This project has many good examples to check out > https://github.com/NaluKit/nalu-examples, it help me a lot. > > Il giorno venerdì 12 aprile

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Marco Tenti (IoProgrammo88)
This project has many good examples to check out https://github.com/NaluKit/nalu-examples, it help me a lot. Il giorno venerdì 12 aprile 2024 alle 14:39:16 UTC+2 Mathias ha scritto: > Hey Jens, thanks for replying! > > re. the gwt-type: > > 1. I only have one maven module that contains the

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Mathias
Hey Jens, thanks for replying! re. the gwt-type: 1. I only have one maven module that contains the entry point. the "gwt client" module 2. All dependencies are either on third-party such as Lombok, or my own other modules that only contain java classes and are built as jar-files. 3. I added

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Mathias
Fair enough mate, I just remarked on it since when I built the archetype from scratch and saw that, my first thought was "huh wonder why that is, surely it won't work now since it doesn't pull in the classes from shared", but it did :) On Friday 12 April 2024 at 11:20:01 UTC+2 Thomas Broyer

Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-12 Thread Marco Tenti (IoProgrammo88)
I'm upgrading a old project and i want to replace the old gwt-jackson (https://dominokit.com/solutions/domino-jackson/v1) with the domino-jackson project (https://github.com/DominoKit/domino-jackson). It should be a simple transiction, but i cannot understand how to let the GWT compilation

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Thomas Broyer
On Friday, April 12, 2024 at 7:50:42 AM UTC+2 Mathias wrote: -My dependencies should be ok since i can build it with the plugin, so i'm a bit at a loss as to how make this work. Dependencies for gwt:compile and gwt:codeserver aren't the same:

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Jens
A full example for multiple maven modules (more than just three) can be found here: https://github.com/tbroyer/gwt-maven-plugin/tree/main/src/it/e2e You have to add gwt-lib to your own maven library modules that contain a module.gwt.xml file. Maybe you forgot that? -- J. Mathias schrieb am

Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-11 Thread Mathias
I *really* could use some help getting my project up for development after moving to gwt 2.10 and Java 11. I can unfortunately nolonger use the GWT intellij plugin i've loved and used for 12 years apparently, and i'm struggling a bit to get the codeserver running for my project. *CURRENT

Re: Debugging the GWT application running in maven, version 2.11

2024-04-11 Thread Jens
The most up-to-date tutorial is https://www.gwtproject.org/gettingstarted-v2.html It uses maven to setup a best-practice GWT project which should consist of three modules. One module that contains your GWT code and basically represents your UI, one module that contains your server side code

Debugging the GWT application running in maven, version 2.11

2024-04-11 Thread Ayush Rawat
Recently I got a project on GWT. Had no idea what is this thing. Slowly figured out things here and there. There aren't many sources to lean from. I mostly went through ChatGPT and took help from it. It made me a demo project for login page, sign up page and connecting it to the mysql

Re: How to unescape a JSONString?

2024-04-10 Thread Craig Mitchell
Sorry, figured it out. I needed a namespace: @JsType(isNative = true, namespace = JsPackage.GLOBAL) public class RTCPeerConnection { public RTCPeerConnection(JavaScriptObject iceServersJsoArray) { super(); } public native void close(); } Now working great!  On Wednesday 10 April

Re: How to unescape a JSONString?

2024-04-10 Thread Craig Mitchell
You weren't kidding. I checked the compiled JS, and there it is (with some smarts to minimise the JS it looks like): this.a = new U2b(d,c,(n = { iceServers: m }, new RTCPeerConnection(n))); Thanks for letting me know about JsonUtils.safeEval(...) That is a better option.

Re: [ANN] JRS gwt-time 1.4.22/2.0.10 release

2024-04-08 Thread Guillermo Hinojosa
Hi, I'm using gwt-time (great work by the way), and I noticed that the TZDB is not updated for Mexico (two years ago Mexico stopped using DST). Is there a way to manually update the TZDB? Thanks in advance. On Sunday, October 30, 2022 at 10:29:50 AM UTC-6 foal wrote: > Hi, > > JRS gwt-time

Re: How to unescape a JSONString?

2024-04-06 Thread Thomas Broyer
There's no escaping. You have a string value, it stays a string value. If its content is JSON representing an array and you want that array, then indeed you have to parse the JSON. It looks like there's a major misunderstanding about what GWT does with your code, and/or possibly where/when the

Re: How to unescape a JSONString?

2024-04-06 Thread Craig Mitchell
I ran into this. GWT is too smart sometimes. :) For my example, I was querying an API for WebRTC ICE servers, which returned a string which was a JSON array. When I had: private static native JavaScriptObject createPeerConnection(String iceServersJson) /*-{ var peerConnectionConfig = {

Re: Digest for google-web-toolkit@googlegroups.com - 7 updates in 2 topics

2024-04-05 Thread Leon
I haven't read the whole thread, TLDR. Maybe this will help; If you use static variables in your GWT client code, those are unique and are constrained per tab (gwt client application really). Cookies are not constrained per tab. So if you store the information in a static variable, you can have a

Re: Session Management problem in flask application

2024-04-05 Thread Aakash Rathor
thank you for providing the information for managing the session or troubleshoot the problem through private window or containers of Firefox @Thomas Broyer @Jens i implement the methods according to you but again occur the problem as below 1)if i login inside the incognito window or private

Re: NoClassDefFoundError on a particular class while running gwt:codeserver

2024-04-05 Thread Thomas Broyer
On Thursday, April 4, 2024 at 9:29:21 PM UTC+2 dja...@gmail.com wrote: Hi, I can't seem to be able to point out what dependency I am missing while trying to run my gwt application in Devmode with gwt:codeserver. I can build the program, compile it and deploy it without a problem. However

Re: Session Management problem in flask application

2024-04-05 Thread Aakash Rathor
@Thomas Broyer i implement the methods according to you but again occur the problem as below 1)if i login inside the incognito window or private window i see in all tabs or all windows session id will be same and if login user A then login user B on same browser then user A is logout

Re: NoClassDefFoundError on a particular class while running gwt:codeserver

2024-04-05 Thread Jens
Maybe your hibernate is too new? https://docs.jboss.org/errai/latest/errai/reference/html_single/#_errai_jpa indicates that Hibernate 4.1.1 should be used. -- J. Mukeya Kassindye schrieb am Donnerstag, 4. April 2024 um 21:29:21 UTC+2: > Hi, > > I can't seem to be able to point out what

Re: Session Management problem in flask application

2024-04-04 Thread Aakash Rathor
Thank you very much @Jens for more useful information On Thursday, April 4, 2024 at 9:54:49 PM UTC+5:30 Jens wrote: > 2)i wants to test my flask app in same browser but i wants to different > user login and if new user login then previous user don't logout > automatically > > > If you use

  1   2   3   4   5   6   7   8   9   10   >