M
M
Michael2020-02-18 18:30:03
Java
Michael, 2020-02-18 18:30:03

Web application only in java?

Hello!
Is it possible to create a web application only in java?
Without using react or vue.
I know what is backend and frontend. I know that react and view are used to create the frontend part of the application.
Usually done on a bunch of back plus front.
I just want to clarify if I understand correctly.
What if we make an application only in Java, then each click on the button will send a request to the server.
And that's why react-type frameworks are usually used. So that all processing takes place on the client side.
Our boss wants to make an application, and now he thinks he can do with Java only. In order not to attract extra programmers.
The application will be like a website.
How can you correctly justify the use of React or View?
Or you can only get by with Java, and then what difficulties can arise?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Aetae, 2020-02-18
@Aetae

At a minimum, you'll need HTML and CSS to make this crap work in the browser. And if you need at least a drop of interactivity, then JS. The app needs a front anyway. Well, unless you give the user a list of API methods, and let him read bare json.)
The only question is whether your java programmers are ready to deal (extremely inefficiently) with writing the front for the same money.

S
Sergey Shvyrev, 2020-02-18
@CellycoMobiles

I propose to consider two options.
1. Vaadin. Great option. You do not need knowledge of Js, Css and other html. No AJAX is needed. There are ready-made solutions in the examples. For example, a very good dashboard. Everything is quite simple, Button.click(), TextField.setText() and so on. Everything is in Java. Excellent community.
2.jpro.one. If you love JavaFX, this is for you. We will use it in the next release. Let's add to desktop applications Web. A very humble community. Just a very young project.
I recommend Vaadin. I myself did how many dashboards on it. Everything is quite simple. Look through the manual for a couple of hours and you will become an expert. There are a bunch of videos on youtube.
No need for vue or react.
I liked that it was completely simple integration of tables with the database. Filters, selects work fast enough.
But if you need 3d or complex animation, then jpro.one. Everything from JavaFX 2. It's also quick and easy to build an application.
I will help with a paid license for any of the options.
Thank you for your attention.

D
Dmtm, 2020-02-19
@Dmtm

wicket was popular some time ago, it differs from vaadin in that there is a separate html into which you can mix js if necessary, well, the markup itself through html is perhaps more convenient
and, more importantly, wicket is free

M
Mikhail Simonishvili, 2020-02-20
@mr_molyar

Of course, you can write if you know html and css well, I think you can even try to make it "interactive", read about such a thing as Spring MVC. But honestly, it's not worth it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question