Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

How is this even possible?! Vaadin has blown my mind!

Zac Harvey
3 years ago Jun 29, 2019 7:58pm
Tatu Lund
3 years ago Jul 02, 2019 11:48am

Is Vaadin somehow automagically creating an AJAX request between the browser and the server?

Yes, that is what is exactly happening. Idea of Vaadin framework is to abstract away the server - client communication when you are using stock components or integrating templates to be used with Java.

Zac Harvey
3 years ago Jul 03, 2019 2:24pm
Tatu Lund
3 years ago Jul 03, 2019 4:27pm

I think questions 1) and 2) are to some extent answered here

https://vaadin.com/docs/v13/flow/introduction/introduction-overview.html

  1. Normally the typical case where you need to be aware of this is when you setup proxy in front of your application server. Then you need to configure necessary routings SSL/TLS communications as well as WebSockets if application is using Push.
Zac Harvey
3 years ago Jul 03, 2019 4:43pm