javaappletjava-web-start

Is there a modern way to run java applications in browser?


Is there a modern way to run java application on the web? As far as I know, java applets and java web start both are deprecated.

I have an android app, written in java, which I want to run on server (of course, altered in some way). While java is cross-platform there is no problem to transfer it to desktop (no matter, javafx, swing or etc.).

Apparently, it would be great not to re-write it in some other language.


Solution

  • Nowadays, we're using GWT at work. Well.. It's efficient, it's fast and compatible with all browsers. And it's so easy to build a web page with GWT. You can check tutorials from this link.

    And you can look up for Spring MVC. Not the most flexible choice for UI, I know. But give it a shot. link

    But.. If you're open to new things, I'll totally recommend React Js. It's flexible,it's super fast with perfect UI. If you ever think of using Java just for back end, React js is a great deal for UI. link