Re: Convert Existing GWT Backend to SPRING BOOT

2023-10-17 Thread Leon
Yw, glad it worked! On Tue, 17 Oct 2023 at 19:45, 'Eric Dufresne' via GWT Users < google-web-toolkit@googlegroups.com> wrote: > That did the trick. In my pom.xml I had my `deploy` location as > `${project.build.directory}/gwt-deploy` but I guess that > isn't on the classpath so moving it to >

Re: Convert Existing GWT Backend to SPRING BOOT

2023-10-17 Thread 'Eric Dufresne' via GWT Users
That did the trick. In my pom.xml I had my `deploy` location as `${project.build.directory}/gwt-deploy` but I guess that isn't on the classpath so moving it to ${project.build.directory}/public/gwt-deploy (which I believe is automatically on Spring's classpath) worked. Was able to get rid of

Re: Convert Existing GWT Backend to SPRING BOOT

2023-10-16 Thread Leon
Hey Eric, I did this and it worked out of the box; @Override protected SerializationPolicy doGetSerializationPolicy(HttpServletRequest request, String moduleBaseURL, String strongName) { try { return SerializationPolicyLoader.loadFromStream(new

Re: Convert Existing GWT Backend to SPRING BOOT

2023-10-16 Thread 'Eric Dufresne' via GWT Users
Hi! Were you successful in building out a JAR using spring boot while still using GWT RPC? I am on the last step of getting the `.gwt.rpc` files in the right place but I still get serialization errors saying the serialization policy files are missing. For the override you did: @Override

Re: Convert Existing GWT Backend to SPRING BOOT

2022-12-06 Thread Dr. Lofi Dewanto
Thanks a lot for the tips on Spring Boot packaging in JAR. Yes, the first example I showed was with packaging WAR. That works fine. I would try your tips to be able to run on the JAR packaging (second example). I'll tell you, whether I'm successful or not. It is weird, that I could run the

Re: Convert Existing GWT Backend to SPRING BOOT

2022-12-06 Thread Leon Pennings
In addition to previous poster -> yes you can keep on using the GWT RPC. The things I had to change in order to keep it working when packaging the spring boot jar, was; 1 - to make sure Spring Boot runs the servlets (enough on the web for that) 2 - to make sure the gwt compile ends up in de

Re: Convert Existing GWT Backend to SPRING BOOT

2022-12-05 Thread lofid...@gmail.com
Hi All, you don't have to move GWT RPC to REST and JSON when you want to move the backend to Spring Boot. GWT RPC is just a servlet which you can register in Spring Boot. Here are some examples of the standard GWT Demo StockWatcher but implemented using Spring Boot with GWT RPC and REST

Re: Convert Existing GWT Backend to SPRING BOOT

2022-11-21 Thread Michael Conrad
*Are you using gwt-RPC ?* Yes! we are using GWT-RPC & currently having a single WAR of near about 500mb, having CLIENT-SHARED-SERVER in a same project. You can still have everything in a master parent project that builds the final WAR with all the client JS and SERVER classes in the same war.

Re: Convert Existing GWT Backend to SPRING BOOT

2022-11-21 Thread viny...@gmail.com
Sorry we cannot get you. We will face data data transport problem in this too. On Monday, November 21, 2022 at 8:05:41 PM UTC+5:30 t.br...@gmail.com wrote: > Can't you use your GWT-RPC servlets inside Spring Boot? (and *only* change > them so you can have Spring inject dependencies into them

Re: Convert Existing GWT Backend to SPRING BOOT

2022-11-21 Thread viny...@gmail.com
*Are you using gwt-RPC ?* Yes! we are using GWT-RPC & currently having a single WAR of near about 500mb, having CLIENT-SHARED-SERVER in a same project. *You'll need to switch to JSON for data transport.* Is there any drawback of switching to JSON in GWT, such as impact on performance etc.

Re: Convert Existing GWT Backend to SPRING BOOT

2022-11-21 Thread viny...@gmail.com
*Are you using gwt-RPC ?* Yes! we are using GWT-RPC & currently having a single WAR of near about 500mb, having CLIENT-SHARED-SERVER in a same project. *You'll need to switch to JSON for data transport.* Is there any drawback of switching to JSON in GWT, such as impact on performance etc.

Re: Convert Existing GWT Backend to SPRING BOOT

2022-11-21 Thread Thomas Broyer
Can't you use your GWT-RPC servlets inside Spring Boot? (and *only* change them so you can have Spring inject dependencies into them so you can effectively rewrite the entire backend without touching the frontend at all) On Monday, November 21, 2022 at 3:07:33 PM UTC+1 Michael Joyner wrote: >

Re: Convert Existing GWT Backend to SPRING BOOT

2022-11-21 Thread Michael Conrad
There are a lot of factors to consider. Are you using gwt-RPC ? You'll need to switch to JSON for data transport. You'll need to use something like DominoKit REST (https://github.com/DominoKit/domino-rest)  for the data transport layer. It would be also be best to split the project into

Re: Convert Existing GWT Backend to SPRING BOOT

2022-11-21 Thread Christian Nzhie
My friend, I join this request as I am in the same process. In my case, I am still migrating the have version first. On Mon, Nov 21, 2022 at 1:20 PM viny...@gmail.com wrote: > > We are having a huge project already running successfully on GWT. > > But for some reasons we are planning to move

Convert Existing GWT Backend to SPRING BOOT

2022-11-21 Thread viny...@gmail.com
We are having a huge project already running successfully on GWT. But for some reasons we are planning to move our backend to SPRING-BOOT keeping front end in GWT. Is there any way we can do it easily without a big change in our existing application. -- You received this message because