Skip to main content

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!

Comments

Popular posts from this blog

GWT Training for Java Developers with GWT Boot

I'm always a fan of " one language solution with Java to rule them all ", here are sofar my opinions about Polyglot Programming: Why "Polyglot Programming" or "Do It Yourself Programming Languages" or "Language Oriented Programming" sucks? Warum Polyglot Programming nicht praxistauglich ist Java als universelle Programmiersprache Until today nobody can excite me about Polyglot Programming. My points are getting another big support after I read the " Rise of Polyglot at Netflix " presentation which says that Polyglot is expensive , also for company in the category of Netflix. At the end of the day we need to be productive . Our applications should have a  high quality standard and the total costs  (TCO) of our software development should be manageable and low . To be able to reach this goal we have Java with Spring Boot or JakartaEE on the server-side which offers REST interfaces. So logically for user interface development

Moving Host Cobol Batches and Monolith Webapps to Cloud and Microservices

Very interesting presentation in Amazon Event "From Mainframe to Microservices - Vanguard's Move to the Cloud" . Following parts can be used as Migration Patterns : Different ways of how to move from Mainframe to Microservices: Re-host Reengineer  Refactor Rewrite Batch job migration Data analytics enablement Data-driven augmentation Re-platform with Linux and Java Repurchase Retire Combination of all This presentation also shows the Cloud Data Architecture at Vanguard. Generally this is how we can build our own database for our micrsoservicew at the cloud and at the same time still use the data from DB2 mainframe on-premise as well.  Advantages using this data architecture: Each microservice reads data from its own local database. DB2 mainframe database can still be used from other Host / Cobol batches. DB scalability Disadvantages: You cannot write to the database in case you have a network problem. There is an extension t