Connect with us

The Motivator

Modernizing Java to keep pace in a cloud-native world

Published

on

Java is no spring chicken and some are even referring to it as a “vintage language”. Despite its popularity, there are some complaints about it. In our new cloud-native world, why does Java need to evolve? In order to evolve to keep up with modern, cloud-native apps, Java needs to keep all of what makes it so dependable, while also being able to function in new app environments.

Don’t worry, you are not the only one who feels old when you hear Java being described as a “vintage” programming language. While Java has been around since 1995, it is certainly not ready to retire (or rather, be retired), and continues to rank among the top languages TIOBE index. In fact, no other language has been so popular for so long.

However, it is not without its issues, including sometimes being too clunky to keep up with some of the newer programming languages, not agile and flexible enough to work in this new world of containers, and not really relevant in applications that are not coded to be Java first. While they say you can’t teach an old dog new tricks, you can rethink how it performs what they already know.

This piece will discuss what the community can do to help the language keep up with modern application development trends, to ensure that it continues to have a place in the new cloud-native programming world.

Why has Java stood the test of time?

It has been said that Java is having a “Renaissance Moment” where the programming language keeps evolving. In fact, there is so much demand for new innovations that release cycles have been shortened to every six months, and Java 13 was just recently announced at this year’s Oracle OpenWorld. It addition to never dipping below number two on the TIOBE index, SlashData has predicted that there will be 7.6 million Java developers by the end of 2019.

Java has many advantages, including being designed for ease of use, and it is often said that it is easier to write, compile and debug in Java than in any other programming language. This, coupled with the fact that it ranks among the top programming languages used by companies in the Fortune 25, means that it continues to remain relevant, even as shiny new programming languages like Rust, Elixir, and Swift come on to the scene.

Why does Java need to evolve?

The disconnect between modern application development and Java is that the apps built on newer programming languages tend to be more lightweight, agile and flexible, often running in containers, which traditionally Java has not been well-equipped for.

Common complaints include:

  • Java is too fat, often starting with libraries that are not used. This does not bode well for microservices architectures but does work when the Java application is being used to solve a more complex problem.
  • It still follows the “write once, run anywhere” principle, meaning that any device that has a Java Virtual Machine (JVM) should be able to successfully – meaning without it being altered – run a Java app. While this is generally a good feature, it is not as important when targeting containers.
  • Java has a longer start-up time when compared with newer apps, which goes back to it being really good at having everything it needs to solve complex problems, but leaves something to be desired in terms of simpler processes.
  • Having too many libraries, and therefore having a large package size, slows down the start-up time and makes the Java app less agile.
  • Some also say that Java is too verbose and that more modern languages can do the same thing with less code.
  • Java is a very dynamic language, which is part of what makes it so productive and agile but can also cause some frameworks to abuse the dynamic capabilities, resulting in longer startup time and large memory overhead.
  • It is not always the best equipped language to handle event driven architectures where concurrency and throughput are more important. Java’s plan to address this is through Fibers.

In order to evolve to keep up with modern, cloud-native apps, Java needs to keep all of what makes it so dependable, while also being able to function in new app environments. Part of Java’s renaissance moment is that developers are beginning to realize that, and are doing what they can to modernize Java while not straying too far from the tried and true benefits of the language. This can enable allow the millions of current Java developers to expand the work they can do without having to learn an entirely new language and shift how they work.

Java in the modern application development world

When I say modern application development, I am referring to environments like Kubernetes and Serverless, both of which rely on containers for deploying code into production, that up until very recently, Java has been incompatible with.

Long time Java leaders like Red Hat are aiming to make it a key player in these environments, through initiatives like Quarkus, which is a Kubernetes-native Java framework tailored for GraalVM and OpenJDK Hostpot. By offering developers the ability to use Java in a unified reactive and imperative programming model, Quarkus aims to enable developers to work within Kubernetes and serverless environments without having to learn a new paradigm. It can deliver new runtime efficiencies to try to tackle some of what currently makes Java stuck in the past, including faster startup time, lower memory utilization and a smaller application and container image footprint.

Through frameworks like Quarkus, I believe Java will be better equipped to scale in the modern application development landscape and continue to not only evolve but also innovate. Because that is what is key here – creating a path to the future for cloud-native Java and in doing so, keep Java at the center of enterprise innovation

Source: https://jaxenter.com/java-modernizing-quarkus-164274.html

Continue Reading
Advertisement
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

The Motivator

Samsung Galaxy S20 FE: Inspired by fans, for the fans

Published

on

By

Samsung Electronics Co., Ltd. has revealed the Galaxy S20 Fan Edition (FE), the newest member of the Galaxy S20 series. Galaxy S20 FE is a premium flagship smartphone that includes innovations Galaxy fans told us they love most, and it is also made available at an accessible price point. COVID-19 disrupted the world as we knew it and technology is now playing a more crucial role in our lives and that is why we created Galaxy S20 FE; to deliver flagship experiences to more consumers.

Samsung took select features of the Galaxy S20 series, such as the super smooth scrolling display, an AI-powered camera, advanced chipset, hyper-fast connectivity, all day battery, expandable storage, with a streamlined premium design, in order to create the all-new Galaxy S20 FE.

“The S20 FE is an extension of the Galaxy S20 family and is the start of a new way to bring meaningful innovation to even more people to let them do the things they love with the best of Galaxy.” Says Mr. Caden Yu, the Managing Director, Samsung Electronics West Africa.

All you want, to do what you love
Express the best of yourself when out on a day trip or at night catching fun with a pop of color that reflects your personal style, attitude and personality. The S20 FE comes in variant colors of Cloud Red, Cloud Lavender, Cloud Mint and Cloud Navy.

With the S20 FE, the fun never stops. The pro grade camera and 30X Space zoom help you capture memorable moments whether near or far at day time.

Plus, the night mode multi-frame and powerful performance gets you through the fun nights and the 4500mAH battery keeps you on all day with little in between time to recharge using the 15W fast charging.

And since life can be unpredictable, the Galaxy S20 FE is water and dust resistant; IP68 rated. Better yet, when accidents happens, one can rest easy knowing the 24 months warranty and Screen repair offer that comes with Pre order has got your back.

Pre order
The S20 FE is available for pre order from the 9th of October with a Wireless Bluetooth earphones, Clear Standing cover and Screen repair offer. You also get a 4 month Free Subscription on YouTube premium. Trade In Discount Offer also available from Pre order. Trade in your old phones and enjoy discount on the S20 FE
Launch.

The S20 FE would be officially available in the market from the 23rd of October. Visit any of our Samsung Experience Store nationwide for an amazing and pleasurable experience.

Device Specifications
With its variants of colors, S20 FE comes with a 6GB RAM/128GB ROM, a long lasting battery of 4500mAh with 15W fast charging, a 32MP selfie camera and a 120Hz Super-Amoled display.

Continue Reading

The Motivator

FIFA 21: No demo for upcoming game, EA Sports confirm

Published

on

By

The company says it will instead focus on perfecting the latest iteration of the series ahead of release

EA Sports has announced that the company will not be releasing a demo for FIFA 21.

FIFA 21 is set to be released on PlayStation 4 and Xbox One on Friday, October 9, having being pushed back from its usual September release date due to the coronavirus pandemic.

In addition, the game will also be eventually released on the upcoming Sony PlayStation 5 and Xbox Series X, making this year’s release one of the most important in recent years.

Typically, EA Sports release a demo for each year’s game around three weeks before the official release, allowing players to test out the gameplay in one-off matches featuring some of the game’s top teams.

The demo is then typically followed by an early access period for those that are EA Play members, offering players a chance to play the full game for a limited time before release.

However, EA confirmed on Monday that this year’s game will not have a demo, with the company instead focusing on making sure the full game is prepared for its October 9 release date.

“We aren’t releasing a demo for FIFA 21. Instead we’ve made the decision to focus our development team’s time on delivering the best full game experience for current & next-gen consoles,” EA said in a statement.

“We look forward to EA PLAY members jumping in 10 days from now and launching the game Oct 9.”

In recent weeks, EA has begun to unveil the list of the highest-rated players in the game, with Lionel Messi, Cristiano Ronaldo and Robert Lewandowski earning the top three places on this year’s rankings on the men’s side with U.S. women’s national team star Megan Rapinoe leading the way for the women.

This year’s game will feature improvements to career mode, new attacking systems such as Agile Dribbling, Positioning Personality and Creative Runs and improvements to the highly-popular Ultimate Team mode including FUT Co-Op gameplay and increased club customisation options.

Additionally, the game will feature a series of new icons: Eric Cantona, Ferenc Puskas, Xavi, Nemanja Vidic, Petr Cech, Samuel Eto’o, Bastian Schweinsteiger, Phillip Lahm, Fernando Torres, Ashley Cole and Davor Suker.

Source: https://www.goal.com/en/news/fifa-21-no-demo-for-upcoming-game-ea-sports-confirm/w6bswvm9fg9h16crm45vzt6qs

Continue Reading

The Motivator

Editing HTML Like A Boss In VS Code

Published

on

By

Here’s a seven minute video from Caleb Porzio that focuses on some of Emmet‘s HTML editing features. You might think of Emmet as that thing that expands abbreviations like table.stats>tr*3>td*3 into glorious, expanded, and perfect HTML. But Emmet has other HTML editing trickery up its sleeve. My favorite is “wrap with abbreviation” (which happens to be Cmd/Ctrl + Shift + A on CodePen), but there are more, like expanding your selection inward and outward and tag changing.

If you haven’t seen it, the Emmet 2 preview on CodePen is pretty neeeeat. It shows you what you’re about to expand into before you do it:

Direct Link →

Source: https://css-tricks.com/editing-html-like-a-boss-in-vs-code/

Continue Reading
Advertisement

Trending

Copyright © 2020 Inventrium Magazine

%d bloggers like this: