I am new to GWT. i have Wicket application and want to run GWT application in one of the panels. both are using maven.
- should i invoke entry point class from GWT in wicket ?
- how to interact with GWT XML configurations ?
I am new to GWT. i have Wicket application and want to run GWT application in one of the panels. both are using maven.
Is it possible to run a regular JavaScript application there? If yes, then please see a modern GWT as Java to JavaScript compiler. No need to deal with any XML or something, you use annotations instead. The new approach is called JsInterop. It's also the way you deal with J2CL (the GWT successor). The mentioned "modern GWT" is about the version 2.8 and above.
So you simply create a JS application using Java. You can use JavaScript frameworks like React or Vue (eg. https://github.com/VueGWT). Finally you compile this to regular JS application. The difference is that it is strongly optimized, you use Java (strong typing), you get benefits from Java related techniques like DI with Dagger2 and so on.
Some references: