Re: Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser?

2020-09-28 Thread Rodolfo M. Raya
Hello Lofi, Some loose comments: - Another great advantage I enjoy is that I don't need Maven. Can you rewrite your example _without_ depending on Maven? And without using a library that relies on annotations? - VisualStudio code is great for Java and JavaScript. You can also use Eclipse with

Re: Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser?

2020-09-28 Thread lofid...@gmail.com
OK, now I understand you  Yes, we always have to separate the Client and the Server part. This is also GWT best practice. But if you are using JavaScript on browser you lose the advantages like: 1. We use *Java* as the language 2. We have the best *ecosystem* like libraries, frameworks,

Re: Eclipse Version

2020-09-28 Thread lofid...@gmail.com
NetBeans has a *very good Maven support*. So you can do everything with Maven, also in NetBeans. With Maven you are IDE independent: - http://netbeans.apache.org/tutorials/70/nbm-maven-modulesuite.html *Introduction to Maven:* - Introduction to Maven: https://www.baeldung.com/maven

Re: Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser?

2020-09-28 Thread Rodolfo M. Raya
If the server part is a Java servlet that handles REST calls, there is no need for GWT at all. No need to deal with JSInterop and no need to deal with annotations, that's cleaner code! If you have a server that exposes a REST API, you can write the client in anything. JavaScript is great in the

Re: Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser?

2020-09-28 Thread lofid...@gmail.com
I'm not sure whether I follow you... what is the difference using Java / GWT + REST and TypeScript + REST... The server part is the same. The web browser part is also the same. The difference is only the language and ecosystem you use on the web browser... Thanks, Lofi rmr...@gmail.com

Re: Preauthentication service with GWT

2020-09-28 Thread lofid...@gmail.com
I'm not sure that I would use GWT / JavaScript for my login page... Normally I just use Spring MVC (server-side instead of Browser based) and use Spring Security - all from Spring Boot... mahoe schrieb am Montag, 28. September 2020 um 21:35:00 UTC+2: > I would suggest to use Spring Security!

Re: Preauthentication service with GWT

2020-09-28 Thread mahoe
I would suggest to use Spring Security! You can implement the login page in one GWT module and the rest of the application in other modules. The credentials you send via form submit. Depending on the success the user will be redirected to the application module(s) or if the wuthentication

Re: Eclipse Version

2020-09-28 Thread Frank Hossfeld
Hi, please use: http://www.mvp4g.org/boot-starter-nalu/BootStarterNalu.html to generate a maven project. (you need to replace 'setLeftAddon' with 'addLeftAddOn' to fix a Domino-UI change). follow the instractions of the readme.txt. -- You received this message because you are subscribed to

Re: Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser?

2020-09-28 Thread Rodolfo M. Raya
Hi Lofi, I once used GWT + Electron + Materialize running with Jetty. That worked, but after getting rid of GWT the code was much cleaner. Class com.sun.net.httpserver.HttpServer is more than enough for running a Java server with REST interface on the desktop. Another advantage of moving away

Re: Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser?

2020-09-28 Thread lofid...@gmail.com
Hi stockiNail, first of all thanks a lot for the feedback... *1 and 2. JsInterop: *yes the mapping Java / JS is not trivial, you need to know both worlds. Therefore I think the idea like DefinitelyTyped is not bad. They put everything for

Re: Eclipse Version

2020-09-28 Thread viny...@gmail.com
hi Lofi, we are also having same problem. we are using: 1. 2.6.1 GWT version. 2. netbeans as a GUI with GWT plug in (which helps in debugging Source (SDBG)) but now, we want to switch to newer or latest version of GWT 2.9.0 but there is no plugin for netbeans yet. Instead there is a eclipse

Preauthentication service with GWT

2020-09-28 Thread jhon tonini
I want to develop an application for authenticate the user and redirect he to my web application. Which server-side frameworks can I use for develop this (I want to use GWT as client-side framework)? -- You received this message because you are subscribed to the Google Groups "GWT Users"

Re: Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser?

2020-09-28 Thread Rodolfo M. Raya
Hello Lofi, Java + GWT + GXT + Eclipse was my main toolkit for over a decade. When Sencha went crazy with the price of license renewals, I started looking for alternatives. Today my toolkit has changed to Java for backend/server side, TypeScript for client side and Visual Studio Code for code

Re: Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser?

2020-09-28 Thread Andrea Stocchero
First of all, let me say I'm a Java developer and I'm using GWT since years. Having started developing java since 1996 (with java 1.0.2), I have seen many technologies and frameworks to help a java developer can use to build a UI on web browser (like applets, servlets, jsp, jsf, webstart). I

Strange GWT-RPC bug upgrading from 2.7 to 2.8+

2020-09-28 Thread Aaron Davidson
I have a large GWT app and we've been stuck on GWT 2.7 for years. If I try to update to 2.8 or 2.9, a random selection of our GWT-RPC calls are not encoded properly by the client. Certain fields in the request become 'undefined' (example below), and cannot be decoded. We *REALLY* want to