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
Click to comment

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

The Motivator

#5 Best Gadgets from CES 2020 That Will Blow Your Mind

Published

on

By

The thing about technology is that it never fails to disappoint it, and which CES, the world’s biggest tech show already happening in Las Vegas, we can’t help but appreciate how cool things technology can invent.

Renowned companies like Samsung, Lenovo, LG, Sony like every year has showcased the best of their products. While popular companies always have something to present, we also have companies who have showcased some really quirky products this year making us say, “Isn’t that just so cool?”

From the coolest laptops, phones, drones to foldable laptops, vertical TVs, there is something for everyone. In order to give you a quick update, we have curated a list of some exciting products that will hit the store in 2020. 

Samsung Galaxy Chromebook

If experience is something that pleases you Samsung’s Galaxy Chromebook might be the best Chrome OS machine to date. A rival to premium Google Pixelbook, this 2-in-1 device sets a higher standard in the mobile computing industry. The device has a 13.3 inch 4k AMOLED display and is powered by the latest 10th Gen Intel® Core™ i5 processor along with Intel® Wi-Fi 6. 

Expected Release and Price: 1st Quater of 2020 and will be approximately for INR 72,000.

Harman Kardon Citation Oasis

While the device resembles a lot to Amazon Echo Dot, the thing about Samsung’s Harman Kardon subsidiary is that they know how to set them apart. They have a built-in wireless charging which Echo Dot lack. Citation Oasis, a smart speaker has an LED clock, wireless charging and onboard Google AssistanSo with 8 hours of running time. To be honest, it does slow our two purposes. Some also believe that this would be the best smart clock out there. 

Expected Release and Price: INR 14,230

Suunto 7

Sunnota who are known for their sporty smartwatches presented a wearable that has smart features from Wear OS by Google. The device has a feature of an outdoor map of around 50+ km range letting you follow the location and a wrist-based control for music. The smartwatch also lets you track your heartbeat, has a built-in GPS, something that adventurous people would love. 

Expected Release and Price: 31 January 2020 and will be approximately for INR 34,260

LG Signature RX

When it comes to TV no one can beat LG. Every year the company overtakes its own invention. This year the developers have presented its first rollable TV. is set to hit the market for consumers later this year. The LG Signature RX’s marquee rolls up when your power it down. The AI processor directs your 4K picture behind the scenes and comes with the ability to develop with time. It does redefine your watching experience. However, if you are planning to buy it, the hefty price might make you think.

Expected Release and Price: Third quarter of 2020 and will be approximately for INR 42,89,220 ($60,000).

Welt Smart Belt Pro

A belt is a necessity! However, when it gets combined with technology it just adds more value to a must-have accessory. Welt Smart Belt Pro won the CES 2020 Innovation Awards for its new product and it is kind of a quirky invention. An update of the previous version and first of its kind, it comes with a prevent fall feature. The belt comes with its own app that lets you monitor things like waist size, eating pattern, sitting time measurement, step count and more.

Source:
https://www.entrepreneur.com/article/344895

Continue Reading

The Motivator

Samsung’s knife-wielding robotic chef is all flash

Published

on

By

Last year, we asked whether Samsung was getting serious about robotics. A year later, we’re not any closer to answering the question. This year’s presser played out roughly the same as last on the robotics front — all flash and little productizing to show for it.

Samsung’s approach to robotics thus far appears to be the model of many other big electronics companies. It’s flirtation with a technology that brings some sense of showmanship to the stage and booth. There’s no better example than Bot Chef. I got a preview of the tech in Samsung’s booth this week, pitched as “an extra set of hands in the kitchen.”

You can’t fault the technology for not being ready for prime time, at this point, of course. That’s not really the point yet. The question, however, is how serious Samsung is about bringing a pair of robot arms to kitchens across the globe to sauté tofu and liberally apply Sriracha. I would love to say “very,” and that the different demos were things the company was actively pursuing delivering on these products.

The futuristic theme of last night’s keynote, however, implied that the company is offering up hypotheticals for what a future could look like — not what it will. Even Ballie, which seems a more realistic addition to the company’s smart home strategy is also still very much conceptual. As with last year’s robot demos, I wasn’t able to get an answer from the company about how much of the robot’s functions were autonomous and how much were choreographed. It’s a cool demo regardless. But is it a serious one?

At the end of the day, I hope Samsung is getting serious about the category. The company has tremendous resources and a lot of smart people. If it really takes the leap, it could be a key player in making robotics more mainstream among consumers. For now, however, I’m unconvinced.

Source:
https://techcrunch.com/2020/01/07/samsungs-knife-wielding-robotic-chef-is-all-flash/

Continue Reading

The Motivator

Images of Huawei P40 Pro case show a penta camera on the back, flat screen on the front

Published

on

By

Last month we saw the Huawei P40 Pro in some renders by OnLeaks, but they were too dark to gather much beyond the outline of the rectangular camera island. Alleged renders for a protective case now offer a better look at the phone.

The camera hump shows five cameras, matching the rumors so far. The one in the top right appears to be a periscope cam (the P40 Pro is supposed to feature 10x optical zoom), though case renders are not usually reliable about such things. From a recent leak we know that the Huawei P40 will have a triple camera instead.

Huawei P40 Pro case renders
Huawei P40 Pro case renders
Huawei P40 Pro case renders

  
Huawei P40 Pro case renders

The front of the P40 Pro is quite interesting as well. Probably the first thing you notice is the dual punch hole selfie camera, similar to the nova 6 5G. But also have a close look at the screen – its sides are not nearly as rounded as the ultra-curved “Horizon Display” on the Mate 30 Pro.

You can even see traditional hardware keys on the side, rather than on-screen controls (we know not everyone was a fan). For what it’s worth, the OnLeaks renders also hint at a mostly flat display.

There’s no 3.5mm headphone jack, that’s probably reserved for the non-Pro model. The top side of the phone seems to house an IR blaster.

The Huawei P40 and P40 Pro will be unveiled at the end of March in Paris with the Kirin 990 chipset on board and likely no Google services.

Source:
https://www.gsmarena.com/images_of_huawei_p40_pro_case_show_a_penta_camera_on_the_back_flat_screen_on_the_front-news-40907.php

Continue Reading
Advertisement

Trending

%d bloggers like this: