Skip to main content

Posts

Showing posts with the label GWT

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

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 ...

No Place for Dart Language...

It is interesting to see that even Google cannot make Dart - after more than 5 years - as a real challange to JavaScript . At the end Dart is "just" another insignificant programming language and compiles those codes to JavaScript . In this point Microsoft is more intelligent by doing TypeScript which is nearer to JavaScript. Check this article for comparison between Dart and TypeScript: Why did the Angular team choose TypeScript over Dart? If Google were to invest that amount of ressources for Dart in GWT (Java to JavaScript compiler), which is definitely a very good product and Java is still the number one programming language... I cannot imagine where we are today with GWT. So I would stick to Java with GWT and if I need to write directly in JavaScript I would use TypeScript. No place for Dart . Just curious, Google seems to be very clear with its target, if a product is not successful, remove it (see iGoogle, Google Wave, etc.). This could also happen to Dart?

Platform Strategy: From Portlets to OpenSocial Gadgets to Progressive Web Apps: State of the Art

Introduction As the world was still at Java's hand we often define what so called a component-based platform . I had this experience in the year 2000 with OpenUSS (Open University Support System). At that time I had an idea to develop a platform which is extendable using component architecture and J2EE technology ( OpenUSS Component Architecture ). After a while we saw the birth of portal and portlet  technology. Everyone tried to build portlets which can be easily installed in a portal server, all Java based. Do you remember all those portals like Apache Jetspeed, Liferay, JBoss Portal, IBM Webshepe Portal, etc? After the portal wave there was OpenSocial gadget which is not only specified for Java but generally available for different technology implementations. It uses HTML , JavaScript and REST completely independent from Java . Apache Shindig was an Open Source implementation for OpenSocial gadgets container. OpenSocial gadget was also the main technology for iGoogle, ...