DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

How are you handling the data revolution? We want your take on what's real, what's hype, and what's next in the world of data engineering.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

SBOMs are essential to circumventing software supply chain attacks, and they provide visibility into various software components.

Related

  • DZone Community Awards 2022
  • Enterprise RIA With Spring 3, Flex 4 and GraniteDS
  • Is Java Still Relevant?
  • Introduction to Apache Kafka With Spring

Trending

  • Reinforcement Learning in CRM for Personalized Marketing
  • DevOps Remediation Architecture for Azure CDN From Edgio
  • Orchestrating Edge Computing with Kubernetes: Architectures, Challenges, and Emerging Solutions
  • Top Tools for Front-End Developers
  1. DZone
  2. Data Engineering
  3. Big Data
  4. Is Java Dead? No! Here’s Why...

Is Java Dead? No! Here’s Why...

We see this “Is Java dead?” question pop up year after year, and yet, by all external markers, Java is alive, well, and growing. Read on for more info!

By 
Lindsay Brunner user avatar
Lindsay Brunner
·
Jul. 18, 16 · Analysis
Likes (36)
Comment
Save
Tweet
Share
32.0K Views

Join the DZone community and get the full member experience.

Join For Free

We see this “Is Java dead?” question pop up year after year, and yet, by all external markers, Java is alive, well, and growing. While newer languages grab the headlines, TIOBE ranked Java as its top language of 2015, and currently shows it enjoying 5% growth in use since 2014, more than any other programming language.

Is Java Dead -- TIOBE

Further, the PYPL Index, which ranks languages based on how often language tutorials are searched on Google, shows Java clearly out in front with 23.9% of the total search volume.

While there are a number of timely reasons for a big resurgence in Java over the last two years (the explosion of Android development, the release of Java 8, the growth in the Spring community, especially Spring Boot), market dominance comes only from having a great product. Here’s why we think Java isn’t going anywhere soon.

JVM and the Java Ecosystem

The Java Virtual Machine, or JVM. compiles programs into bytecode, which is then interpreted and run by the JVM. Because the JVM sits above your specific hardware and OS, it allows Java to be run on anything, a Windows machine, a Mac, or an obscure some flavor of Linux.

The big advantage granted by the JVM is in this increased compatibility and the stability it affords. Because your application runs in the VM instead of directly on your hardware, you can program said application once and trust that it is executable on every device with a Java VM implementation. This principle is the basis for Java’s core messaging: “Write once, run everywhere.” And it makes Java applications very resilient to underlying changes in the environment.

Security & Interoperability

Java + AndroidThe Android environment is a great case study on Java’s innate security and interoperability. Android, which encompasses 89% of the global mobile market, runs on Java. Because Java allows the OS to run in a virtual machine, it doesn’t need to recompile for every device, improving both system stability and usability.

Another benefit of Java displayed perfectly by Android, is its interoperability with other JVM languages like Scala, Groovy, Clojure, JRuby, etc. You get to build your application in the “more dynamic” language of your choice, and still fall back to Java when you need more horsepower.

This huge Android market is also inherently at risk for exploitation. Android + Java allows users to run semi-trusted apps and mitigates its risk by running all apps in a virtual machine. Thus, the only way for an app to exploit the OS kernel would be through a flaw in the VM implementation, which is kept necessarily small, and is protected by a well-defined security surface.

Java in Production, at Scale

Amazon, Google, eBay, and any many other large e-commerce brands use Java for their backend processing. They use it because it’s proven, and scalable. Any language, any backend could manage a handful of users, but Java can deal with 200m or more reliably. Let’s look at a few notable examples:

Hadoop

Apache Hadoop is a Java framework for running applications on large clusters of hardware. It was designed to provide high throughput for applications that manipulate or otherwise handle large data sets. Today, Hadoop is used by companies like Facebook, Amazon, IBM, Joost, and Yahoo to process data, perform analysis, or generate reports.

Hadoop creator Doug Cutting has said: “Java offers a good compromise between developer productivity and runtime performance. Developers benefit from a simple, powerful, type-safe language with a wide range of high-quality libraries.” We’ll put it simply: Big data wouldn’t exist without Hadoop, and Hadoop can’t exist without Java.

Twitter

Twitter + JavaTwitter has been a hugely visible recent win for Java and the team at Oracle. Originally written in Ruby on Rails, the rapid rise in popularity Twitter experiences clearly exposed the lack of scalability in RoR. “Fail Whales” (the alerts that indicated the network was overwhelmed) grew in frequency until Twitter began a shift to Java in 2012. Today, Twitter runs on Java + Scala, and the Fail Whale is extinct.

MinecraftMinecraft + Java

Minecraft is an insanely successful video game. It made millions of dollars for its development team even before its sale to Microsoft for $2.5b in 2014. And Minecraft runs on Java.

The breadth of the Java community helped Minecraft spread to hundreds of thousands of potential would-be modders. At the same time, Minecraft also introduced Java to a whole new generation of developers. A quick Google search on “making mods for Minecraft” will net you 653k results, many of which are resources to teach programming to the under-12 set.

One of these open source tools is Eureka, which they use to track what type of device a user is using to launch Netflix and cross-check against movements and recent activities to ensure the account is “current” and safe.

The Future of Java

Last year, Oracle announced the impending arrival of Java 9, slated for September 2016. This update is scoped to break up the languages multitude of functions into a number of bite-sized components, a change that is intended to make Java quicker and more accessible. Oracle’s overall investment (while often slighted and maligned) have ultimately helped ensure Java can continue to support the many enterprises that rely on, and still react to new trends in development.

Java and the Internet of Things

“I really think Java’s future is in IoT. I’d like to see Oracle and partners focused on a complete end-to-end storage solution for Java, from devices through gateways to enterprise back-ends. Building that story and making a success of it will help cement the next 20 years for Java. Not only is that a massive opportunity for the industry, but also one I think Java can do quite well,” said Mike Milinkovich, Executive Director of the Eclipse Foundation.

Oracle agrees. Per VP of Development Georges Saab, “Java is an excellent tech for IoT. Many of the challenges in IoT are many of the challenges of desktop and client Java helped address in the 1990s. You have many different hardware environments out there. You want to have your developers look at any part of the system, understand it and move on. Java is one of the few technologies out there that lets you do that.”

Java + Stormpath

Java might have its detractors, and some of their arguments might even be reasonable, but it has its benefits too, such as outstanding tools for deployment, performance profiling, the JVM, a vast library of libraries, and so much more. At Stormpath, our backend has been 100% Java since day one, and we recently upgraded to Spring Boot. Viva la Java!

Learn More

Stormpath offers an advanced identity management service with broad Java support that implements in minutes. The Stormpath Java SDK, Servlet plugin, and the family of Spring integrations including: Spring WebMVC, Spring Security WebMVC, Spring Boot WebMVC, and Spring Security Spring Boot WebMVC allow developers quickly and easily build a wide variety of functions they would otherwise have to code themselves, including:

  • Sophisticated authorization support, with caching for maximum performance
  • Token authentication and revocation with JSON Web Tokens and OAuth 2.0
  • Native support for multi-tenant applications, with pre-built partitioning of customer data
  • Comprehensive documentation and commitment to customer care, even for free developer accounts
  • Check out our Java Product Documentation, download our Build vs. Buy whitepaper, or sign up and get started right now!
Java (programming language) Spring Framework hadoop mobile app Spring Security IoT Big data

Published at DZone with permission of Lindsay Brunner, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • DZone Community Awards 2022
  • Enterprise RIA With Spring 3, Flex 4 and GraniteDS
  • Is Java Still Relevant?
  • Introduction to Apache Kafka With Spring

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • [email protected]

Let's be friends: