4 ms·
Why Java Developers should use Java on Programming Web browser client-side apps?
I've written a new article to show that using Java for writing Web browser apps for Java developers is definitely the way to go.
(1) Using IndexedDB on Web Browser with Well Known Design Patterns — Only with Java by Mrs. Gwitany and Dr. Jackl - http://bit.ly/GwtIndexedDBDesignPatterns
(2) Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser? - https://bit.ly/TypeScriptVsJavaGWT
I hope to see more Java developers using Java as a Programming Language (not as a Platform) to write web apps for browsers. Thanks to GWT and J2CL it is fun, productive and production ready today.
IMHO it is pitty that all those Java main vendors forget the Web Browser as a Platform, because after Applets, Java WebStart, there is no standard solution based on Java on Web browsers. All Web browser solutions are always based on JavaScript and more and more TypeScript.
We have definitely some tools and frameworks that embrace Java as a Programming Language on Web browsers like GWT, J2CL, TeaVM, JSweet... but I would like to see Java2JavaScript transpiler as a part of Java distribution.
What do you think, Java developers?
Thanks and enjoy reading.
- sto_hristo 6y agoI'd like to use the native tools to the platform i'm developing for. Simple as that. Abstractions, platform wrappers, transpilers doesn't make sense to me when i already know javascript. And if i didn't and it's absolutely critical to push something forward very, very quickly, maybe then i'd resort to such a thing, but that is a special case.
- dewanto 6y agoIf transpilers are not a good tool, what about compilers? Do you want to stay on assembler? IMHO transpilers, generators and compilers are the standard tools for developers today and abstraction level is the key to become better... I cannot imagine, if we still have to use Assembly lang to program today... It is definitely difficult to build a good abstraction level and the compiler / transpiler / generator which fits the requirements. But this is the best way to bring the abstraction level up... Just my 2 cents.
- sto_hristo 6y agoNever said they are a bad tool. Just unnecessary for me if i happen to know the native language those tools are trying to get around. Your extreme example with assembler doesn't fit in this picture, as the degree of improvement of a high level language compiled to assembler and machine language can't possibly be compared to java transpiled to javascript...
- dewanto 6y agoAgree that the level of abstraction is different... Maybe one day JavaScript will become as manageable as TypeScript and Java ;-) Until then I prefer Java for professional products which need to be good maintainable... and for those JavaScript "speakers" TypeScript is a good way to make the apps maintainable...