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

Google Maps for iOS gets Incognito Mode

Published

on

By

You no longer need an Android phone if you want to keep your Google Maps activity (mostly) private. Google is rolling out Incognito Mode to iOS users as of today, giving you the same ability to search for and navigate to locations without leaving records behind on your account or Location History. Again, this won’t affect Assistant queries or prevent outsiders from theoretically snooping on your Google Maps traffic — this is mainly so that Google (and anyone with access to your phone) won’t know what you’ve been looking for.

Android users are getting an additional privacy control of their own. There will soon be a bulk delete option for your Timeline so that you can quickly remove a group of places you’ve visited without venturing into Maps’ settings and specifying date ranges. This could be particularly helpful if you’ve been looking for gifts and would rather not spoil the surprise when your partner borrows your phone. The feature will miss the holidays with its January rollout, but hey — it’ll be ready for next year.

Source:
https://www.engadget.com/2019/12/09/google-maps-incognito-mode-ios/

Continue Reading

The Motivator

Google now wants users to chat within Google Photos app

Published

on

By

Yesterday, we wrote about how you can now upload your Facebook photos and videos to Google Photos. Today, Google announced another feature that adds even more functionality to its photo management service — the ability to chat within the Google Photos app.

When users share a photo or video within Google Photos, they can now add them to an ongoing conversation in the app where they can easily like and comment on them. Users can even save photos and videos from these conversations to their own gallery without any loss in image quality.

No, this feature is not designed to replace your existing chat apps, and all conversations are private. This just adds a subtle usability tweak to the app and encourages users to share photos with close family and friends more often.

This Google Photos chat feature is gradually rolling out over the next week, and it will work across Android, iOS, and web apps.

Source:
https://www.androidauthority.com/google-photos-chat-1062403/

Continue Reading

The Motivator

How to put lyrics on your Instagram story along with a snippet of a song

Published

on

By

You can share up to 15 seconds of your favorite songs and put the lyrics on your Instagram story for your followers to enjoy for the next 24 hours.

instagram explore phone
instagram explore phone
  • After you’ve added a photo or video to your Instagram story, swipe up on the screen and select “Music” to add a particular song and its lyrics, which you can customize the display of.

Since 2016, Instagram has allowed users the option to create Instagram stories and share them for 24 hours with followers, similar to Snapchat. Instagram stories also allow users to create polls and share music from various platforms, such as SoundCloud and Spotify .

However, earlier this year, Instagram announced that users can now add the lyrics to their favorite songs to their Instagram story as well. Here’s how to do it.

How to put lyrics on your Instagram story

1. Launch the Instagram app on your iPhone or Android phone.

2. On the home screen of Instagram, click your profile picture in the top-left corner to add (or create) an Instagram story.

3. Add a picture (or video) you want to feature with the music lyrics.

4. Before you publish the story, swipe up and select “Music.” If you do not see it on your screen, tap on the search bar and type “Music.

How to put lyrics on Instagram storyTaylor Lyles/Business Insider

5. Select a song you wish to add the lyrics from to your Instagram story. You can scroll through the songs suggested to you, or tap the search bar and search for a song.

How to put lyrics on Instagram storyTaylor Lyles/Business Insider

6. After you select the song, choose a snippet of the song and the corresponding lyrics will appear. You can feature up to 15 seconds of the song and the lyrics from the timestamp will appear on the screen.

  • For songs that have lyrics available, you’ll have four different lyric-formatting options to choose from by tapping any of the available “A” icons.

7. After you select the snippet of the song, press “Done” in the top right-hand corner of the screen and proceed to position or resize the lyrics as you’d like, then upload the story.

Source:
https://www.pulse.ng/bi/tech/how-to-put-lyrics-on-your-instagram-story-along-with-a-snippet-of-a-song/eq58hdq

Continue Reading
Advertisement

Trending

%d bloggers like this: