Web app in java?

Is it possible to create web application just for java?
Without using react or vue.
Know what the backend and the frontend. Know what react and build used to create the frontend part of the application.
Usually do on the way back plus the front.
Just want to clarify, if I understand correctly.
What if we do the application just for Java, then each press of the button will send a request to the server.
And so usually use the frameworks of type react. To all processing occurred on the client side.
Our chief wants to make an application, and so thinks to get by on Java. In order not to attract too much programmers.
The app will type web site.
How can you intelligently justify still use react or view?
Or you can do only Java, and what difficulties may arise ?
April 7th 20 at 15:43
4 answers
April 7th 20 at 15:45
As a minimum you will need HTML and CSS so that this crap worked in the browser. And if you need a shred of interactivity and JS. The app need a front anyway. Well, except that you give the user a list of API methods, and may he bare json reads.)

The only question is, are your java programmers for the same money to do it (very inefficiently) and still writing front.
April 7th 20 at 15:47
I propose to consider two options.

1. Vaadin. Fine option. Don't need knowledge of JavaScript, Css and other html. No AJAX is not needed. In the examples there are ready solutions. For example, a very good dashboard. Quite simply, Button.click(), TextField.setText() and so on. All in Java. Great community.

2. jpro.one. If you love open source, this is your option. Will use in next release. Add desktop applications to the Web. Very modest community. Just a very young project.

I Recommend Vaadin. He made it as far as dashboards. Everything is quite simple. A couple of hours to look through the manual and become an expert. There are plenty of videos on YouTube.
Need neither vue nor react.
I liked that quite a simple integration of the tables with the database. Filters, selects work fast enough.

But if you need 3d animation or complex, then jpro.one. All of JavaFX 2. Also quick and simple to build the application.

Will help with a paid license for any of the options.

Thank you for your attention.
April 7th 20 at 15:49
some time ago there was a popular wicket, vaadin is different from the fact that there is a separate html which you can inject js if necessary, but there is just markup using html is probably easier
and more importantly - wicket free
April 7th 20 at 15:51
You can of course write if you know html and css, I think I can even try to make it "interactive", read about such a thing as Spring MVC. But honestly, it's not worth it)

Find more questions by tags Java