Skip to main content

Posts

Showing posts with the label JavaScript

Learn Once Use Everywhere: Using JavaScript APIs in Java for Web Browser

Last time we saw how we can reuse our Java code in JavaScript from my article “ Web Browser Programming in Java ”. Today we’ll take a look on how we could call the JavaScript APIs, web apps and frameworks from our Java code and at the end to transpile them back to JavaScript so that it will be runnable on the web browser. My new article about GWT / J2CL Transpile - Java and JavaScript: Roundtrip Java to JavaScript and go back to Java: https://bit.ly/WebBrowserGWTJsInteropNative .  Enjoy!

Web Browser Programming in Java - Using GWT and JsInterop

So in the year of 2019 web development is entirely occupied by JavaScript or derivatives like TypeScript ? Well, not entirely… One small village of indomitable Open Source Java developers still holds out against the invaders with the help of Java to JavaScript transpiler GWT  ( http://www.gwtproject.org ) and J2CL ( https://github.com/google/j2cl ) Here is my article about Java to JavaScript transpiler for beginners :  http://bit.ly/WebJavaStory Enjoy, Lofi