Core Java APIs and programming techniques
Technologies related to Java APIs (application programming interfaces) and JDK (Java Development Kit) form the cornerstone of modern, enterprise-grade software development. Here we explore all the Java features that make the JVM great through programming tutorials, real-world code samples and expert opinions from Java champions.
Top Stories
-
Video
19 Jul 2024
GET vs. POST: What's the difference?
POST and GET are the two most-used RESTful HTTP methods. But how well versed are you on the differences between them? Continue Reading
-
Video
18 Jul 2024
How to apply the Liskov substitution principle in Java
The Liskov substitution principle is often mistaken for polymorphism and inheritance. To really understand the SOLID LSP, you must understand the nuance and distinction. Continue Reading
-
Video
12 Jun 2019
The top Java deployment tools to use on your next project
Java application deployment tools such as Maven and Gradle can be beneficial for your IT team. Compare those and other options, along with frameworks, to ease this process. Continue Reading
-
News
07 Jun 2019
Pivotal Spring Runtime extends Java support, company lifeline
Pivotal's distribution of OpenJDK, the open source version of Java, joins the ranks of Amazon, Azul, IBM, Red Hat and others that provide long-term Java support. Continue Reading
-
Video
24 May 2019
JDBC vs. ODBC: What's the difference between these APIs?
There are more similarities between ODBC and JDBC than there are differences. But, the differences are significant. Here we highlight them. Continue Reading
-
News
26 Apr 2019
NetBeans Java IDE becomes top-level Apache project
The NetBeans Java development environment has achieved top-level project status at the Apache Software Foundation, a leading open source software project hosting organization. Continue Reading
-
News
28 Mar 2019
JavaScript popularity drives TypeScript adoption among devs
More developers choose to work with JavaScript to build web, server-side and mobile applications, while TypeScript has quickly gained traction, according to recent analysis. Continue Reading
-
News
22 Mar 2019
Oracle's Java 12 adds developer productivity features
The latest version of the Java Platform, Standard Edition, delivers new features to make developers more productive with the Java programming language. Continue Reading
-
Definition
11 Mar 2019
jQuery
jQuery is an open-sourced JavaScript library that simplifies creation and navigation of web applications. Continue Reading
-
News
07 Mar 2019
Red Hat eyes cloud-native Java future with Quarkus
Red Hat's Quarkus project aims to raise Java up to the cloud and update the popular programming language for cloud-based computing situations and projects. Continue Reading
-
Blog Post
27 Feb 2019
Java Supplier interface example for functional programming
Functional supplier interface in Java tutorial There are only half a dozen classes you really need to master to become competent in the world of functional programming. The java.util.function ... Continue Reading
-
Definition
19 Feb 2019
OpenJDK
OpenJDK is a free, open-source version of the Java Development Kit for the Java Platform, Standard Edition (Java SE). Continue Reading
-
Blog Post
04 Feb 2019
A quick look at inferred types and the Java var keyword
Here's a quick look at the Java var keyword and what it looks like when you use inferred types in your code. Continue Reading
-
Opinion
22 Jan 2019
Use Java method modifiers to avoid public method antipattern
Follow best practices for Java method design, and don't allow one public class to call another. If you skipped this step, be prepared to pay the consequences. Continue Reading
-
Blog Post
01 Jan 2019
How to use Java's functional Consumer interface example
The functional consumer interface is a key part of the Java Streams API. Here is a simple Consumer interface example to show you how to use this Java component. Continue Reading
-
Feature
27 Dec 2018
Year in review: Five topics that epitomized Java in 2018
In 2018, we focused on what the future of Java might look like. With the IBM-Red Hat merger and the ascension of DevOps, the life and times of the Java developer are changing. Continue Reading
-
News
26 Dec 2018
Red Hat's support for OpenJDK on Windows anchors Java apps
Red Hat brings long-term support for open source Java to developers who use Windows, so organizations can now choose one Java platform for desktop, data center and cloud. Continue Reading
-
Feature
18 Dec 2018
Recent open source flaw highlights danger of social engineering hacks
What happens when open source developers hand the keys of their project over to a new maintainer? It can expose applications to serious security threats. Continue Reading
-
Opinion
07 Dec 2018
Why there's not really a best first programming language to learn
Some consider Java to be the best first programming language for developers to learn. But does it really matter? Most languages are made up of the same building blocks. Continue Reading
-
News
16 Nov 2018
Amazon Corretto extends OpenJDK support
With Java among the most popular languages on AWS, Amazon spins out its own distribution of the OpenJDK open source Java implementation with long-term support that exceeds Oracle's. Continue Reading
-
Opinion
14 Nov 2018
Is it a mistake to teach Java as a first programming language?
Is it right to teach Java to students as an introductory programming language? If not, what are the alternatives to Java when it comes to learning how to code? Continue Reading
-
News
02 Nov 2018
IBM and Red Hat wield power over enterprise Java
Expect enterprise Java to evolve under the influence of new stewards, including IBM and Red Hat which will likely steer it toward cloud-native and microservices development. Continue Reading
-
Feature
01 Nov 2018
Stop with the unsafe internal Java API calls, or the JDK will stop it for you
Soon, any code that uses Java internal APIs will not compile, and shortly after that, code that uses classes in sun.misc will not even run. Continue Reading
-
News
26 Oct 2018
Jakarta EE spec process paves way for enterprise Java
Eclipse will govern the future direction of enterprise Java for developers through the Eclipse Foundation Specification Process, and it pledges vendor-neutral support and IP protection. Continue Reading
-
News
29 Aug 2018
Developers favor JVM languages for mobile, enterprise
A recent RedMonk report finds more developers use programming languages that run on the Java Virtual Machine to build mobile and enterprise apps. Continue Reading
-
Feature
26 Jun 2018
Red Hat's Operator Framework set to overhaul Kubernetes clusters
Operator Framework is designed to ease deployment and management of apps on top of Kubernetes clusters. We break it down with former CoreOS CEO Alex Polvi. Continue Reading
-
Definition
17 Apr 2018
JavaScript
JavaScript is a programming language that started off simply as a mechanism to add logic and interactivity to an otherwise static Netscape browser. Continue Reading
-
Feature
29 Mar 2018
Java versioning: Why Java 10 maps to version 18.3 of the JDK
When it comes to Java versioning, things have never been straightforward. Java 2 mapped to JDK 1.2. Java 5 mapped to JDK 1.5. But how did Java 10 end up mapping to JDK 18.3? Continue Reading
-
Blog Post
22 Mar 2018
Why the new Java 10 features list is so small
Was it just me, or did the Java 10 release just creep up on everyone? Given, a March release for Java 10 was planned a long time ago, but given Oracle's spotty history in terms of pushing out ... Continue Reading
-
Feature
20 Mar 2018
Rust and Python top list of most popular development languages
A new Stack Overflow survey of over 100,000 developers indicated Java and JavaScript are not as popular as they had been before. Find out what developers really want to program with. Continue Reading
-
Feature
05 Feb 2018
Containers and the cloud push middleware technology forward
Is the application server dead? Not really. But the role of middleware technology has certainly changed in ways that impact both operations and developers. Continue Reading
-
Feature
05 Feb 2018
What can the Java community expect from Oracle in 2018?
Questions remain as to how bumpy the road may be as Oracle changes the release cadence and embraces OpenJDK. Is the Java community ready for the ride? Continue Reading
-
Podcast
24 Jan 2018
Here's how to add Java certified developer to your resume
Ever think about acquiring your Java certification? Here we take a look at the benefits of getting Java certified and the steps to take to ensure that it happens. Continue Reading
-
Podcast
09 Jan 2018
Fearless enhancement of legacy Java code with new SE features
While the Java SE 9 release has everyone talking about new features and syntax enhancements, JNBridge's Wayne Citrin insists legacy Java developers need not feel left behind. Continue Reading
-
Feature
27 Dec 2017
What thought leaders were saying about Java SE 9 in 2017
Understandably, Java SE 9 was a popular topic of discussion in 2017, but so were DevOps and cloud native, according to this list of the 10 most popular podcasts of 2017. Continue Reading
-
Blog Post
22 Nov 2017
The impact of Java SE 9 on operations and development teams
Just prior to JavaOne, TheServerSide spoke with ZeroTurnaround's Simon Maple about all of the things going on with Java SE 9 and the greater Java ecosystem. A couple of interesting articles eluted ... Continue Reading
-
Feature
06 Nov 2017
Owning the Java Platform is more of a burden or a blessing
Oracle became stewards of the Java platform as a by-product of their acquisition of Sun Microsystems. But looking back, it seems that the Java Platform has been more of a burden than a blessing. Continue Reading
-
Podcast
18 Oct 2017
Migrations to Oracle's Java SE 9 platform may be delayed
Oracle did a great job getting Java SE 9 released earlier this year, but modularity and various smaller updates may not be enough to get users to quickly migrate to JDK 9. Continue Reading
-
News
10 Oct 2017
Java 18.3 marks the future of Java at JavaOne 2017
At JavaOne 2017, Oracle identified four projects that will have a significant impact on the future of Java: Project Valhalla, Project Panama, Project Amber and Project Loom. Continue Reading
-
News
06 Oct 2017
Java modules and Project Jigsaw a source of JavaOne 2017 pride
It wasn't easy getting Project Jigsaw ratified, but it is now part of the Java SE 9 package, and Oracle executives at JavaOne 2017 couldn't be prouder. Continue Reading
-
News
05 Oct 2017
Azure Functions, Project Fn shine at JavaOne 2017
At JavaOne 2017, Microsoft previews its Azure Functions serverless offering with support for Java; Oracle introduces Project Fn, which runs across multiple clouds and also supports Java. Continue Reading
-
Podcast
03 Oct 2017
Oracle VP talks Java EE 8, Java platform update at JavaOne
Will the future involvement of the Eclipse Foundation lead to a faster and more nimble Java platform update process? Oracle's Michael Lehmann believes it will. Continue Reading
-
News
02 Oct 2017
Java SE 9, OpenJDK energize Java community at JavaOne 2017
From the release of Java 9 to the GPL of OpenJDK builds, recent Oracle announcements have energized the Java community, creating a palpable positivity at JavaOne 2017. Continue Reading
-
News
02 Oct 2017
Keynote speakers open up at JavaOne 2017
From the release of JDK 9 to the open sourcing of serverless programming technologies, the JavaOne 2017 keynote paved a path for a progressive future. Continue Reading
-
Opinion
28 Sep 2017
JavaOne 2017 walks a new path
It always left a bitter taste in my mouth seeing JavaOne relegated to a bunch of hotels by San Francisco's Union Square while OracleWorld filled the Moscone building. It's nice to see JavaOne 2017 and Oracle OpenWorld now sharing the same convention center. Continue Reading
-
Feature
28 Sep 2017
JavaEE 8 and Java 9 trending large at JavaOne 2017
What are the big trends in the Java world today? Just look at the JavaOne 2017 schedule and you'll see it goes way beyond just JavaEE 8 and the new Java 9 release. Continue Reading
-
News
25 Sep 2017
Oracle releases Java 9, Java EE 8
Oracle released the long-awaited Java 9, along with Java EE 8 -- each with key improvements to simplify the development process using the language, including modularity in Java 9. Continue Reading
-
News
14 Sep 2017
Oracle moves Java EE to Eclipse Foundation
In an effort to spur innovation and collaboration on the Java EE platform, Oracle has enlisted the help of IBM and Red Hat in moving Java EE to the Eclipse Foundation. Continue Reading
-
News
12 Sep 2017
Calling 'all aboard' on the six-month Java release train
If Oracle moves to a six-month Java release cycle instead of the existing feature-driven one, what happens next? We talk to Azul's Gil Tene about Mark Reinhold's proposal. Continue Reading
-
News
31 Aug 2017
CloudBees eases the DevOps journey with DevOptics
CloudBees has introduced DevOptics, a tool that provides end-to-end insight into application delivery streams, helps to identify problems and eases the overall DevOps journey. Continue Reading
-
Feature
28 Aug 2017
The hidden threat lurking in an otherwise secure software stack
All it takes is a fork from the main branch and a re-branding of the code, and the next thing you know, there's a hidden threat in your software. Here's how to protect against it. Continue Reading
-
Feature
10 Aug 2017
Effective DevOps change management for versioning cloud apps
There are many ways to go about versioning your cloud applications, but new approaches may need to be implemented when performing DevOps change management. Continue Reading
-
News
01 Aug 2017
Coding Dojo adds full-stack Java developer course, drops Rails
Programming boot camp Coding Dojo has abandoned its Ruby on Rails training courses and launched higher-demand, full-stack Java developer courses for job seekers. Continue Reading
-
Feature
10 Jul 2017
Effective approaches to mentoring women in tech
Mentoring women and men alike is a great way to enhance the talent of existing employees. Here are some ideas on how to make mentorship efforts effective for everyone, with an emphasis on inclusion for all. Continue Reading
-
News
29 Jun 2017
IBM, Lightbend team up on cognitive application development platform
IBM and Lightbend join forces to help bring microservices to IBM's WebSphere platform, with new Scala- and Java-based tools for cognitive application development. Continue Reading
-
Feature
19 Jun 2017
How cheap eye tracking software changes the app development game
Find out what the advent of low-cost eye tracking software means for the future of both marketing and application development. Continue Reading
-
Feature
14 Jun 2017
Changing lives through improved application performance
Find out how Cure.org improved application performance management to fine tune their website, increase donations, and make a difference around the world. Continue Reading
-
Tip
09 Jun 2017
Improving plant production performance with IT in the agriculture industry
How is big data and IT helping the agriculture industry? By looking at information in new ways, technology is helping to improve plant production performance. Continue Reading
-
Blog Post
19 Apr 2017
Java 9 will finally give the term 'deprecated' meaning
They are finally pruning away deprecated methods out of Java 9. The deprecated value will now have deprecated meaning. Continue Reading
-
Opinion
11 Apr 2017
Is fear-mongering driving the adoption of microservices and containers?
Nobody questions the importance of microservices and containers, but is unfettered advocacy becoming problematic? Continue Reading
-
Opinion
30 Mar 2017
Stop adding web UI frameworks like JSR-371 to the Java EE spec
Java EE's Servlet and JSP API provide a fine foundation for handling a web-based request-response cycle. Adding UI frameworks like JSR-371 to the spec only causes problems. Continue Reading
-
Opinion
24 Mar 2017
Does reading XML while writing JSON make me a bad person?
I'm always writing JSON code, loving its flexibility and forgiveness. But when I call an external service, I want to be reading XML. Does that make me a bad person? Continue Reading
-
Blog Post
22 Mar 2017
Java EE makes best-of-breed software conglomerations a thing of the past
Looking back at some of the Frankenstein-esque applications that were built using different frameworks, it's good to know there's no need for best-of-breed. Continue Reading
-
Blog Post
13 Mar 2017
IoT developers face critical questions when digitally transforming cities
Digitally transformed smart cities are the wave of the future, there’s no doubt about that. But the road to a more connected municipality is far from clear. Although there are some common ... Continue Reading
-
Blog Post
27 Feb 2017
How to win at an IoT hackathon
Unlike most technology hackathons, this event kept a laser focus on the commercial side of technical innovation. What was the outcome of this IoT hackathon? It was a very tight race. Continue Reading
-
Blog Post
22 Feb 2017
Arguing the business case for IoT adoption
As an increasing number of businesses embrace IoT adoption to create more efficiency, reach new market segments, and innovate for the future, they are facing challenges along the way. Continue Reading
-
News
17 Feb 2017
How deep learning and AI techniques accelerate domain-driven design
Is the codebase aligned with the enterprise model? Deep learning and other AI technologies are helping to align domain-driven design with the organization's business objectives. Continue Reading
-
Feature
31 Jan 2017
Industrial IoT the newest hotbed for edge device innovation
As IoT devices saturate the home market, the latest hotbed for edge device innovation is the often overlooked world of industrial IoT (IIOT). Continue Reading
-
Blog Post
26 Jan 2017
IoT entrepreneurship on display at North Texas hackathon
What better way to promote IoT entrepreneurship than by sponsoring a hackathon and awarding prizes that come with business development guidance to the winners? Continue Reading
-
Feature
02 Jan 2017
Top 5 challenges a successful IoT hackathon must overcome
Tahir Hussain, CEO of Collide Village, made it clear that running an IoT hackathon is no easy task. Here's what had to be overcome to make the IoT event successful. Continue Reading
-
Feature
29 Dec 2016
Successful DevOps transitions are literally taking off
With 1,400 systems to integrate, American Airlines had their work cut out for them when they decided to embark upon a DevOps transition. Continue Reading
-
Video
08 Dec 2016
Standardizing app staging a key benefit to a Java configuration API
Payara's Mike Croft talks about the potential benefits of making a Java configuration API a standard part of the Java EE specification. Continue Reading
-
Feature
01 Dec 2016
From chatbots to IBM's Watson: How software deals with conversational language
The next big thing in software development is conquering the conversational language development hurdle. Here's how the big players are currently doing it. Continue Reading
-
News
05 Oct 2016
Pros and cons of a DIY approach to contributing to open source efforts
Everyone wants to contribute to open source projects, but few consider the risks. Salesforce evangelist James Ward outlines the legal and security risks involved. Continue Reading
-
News
21 Sep 2016
Just like last year, JavaOne 2016 showcases Java 9 enhancements
With no particularly new announcements surrounding the Java platform, JavaOne 2016 has a more subdued feel than conferences in years past. Continue Reading
-
News
21 Sep 2016
The future of Java promises a cleaner, more readable syntax
Java has always been derided as being too verbose, especially when compared with languages like Groovy or Scala. But, according to Brian Goetz, that's all about to change after Java 9. Continue Reading
-
Feature
12 Sep 2016
How wearable apps are influencing the future of software design
As new wearable applications are constantly emerging in the marketplace, their development and design are changing how software is being written. Experts discuss the future of apps. Continue Reading
-
Opinion
22 Aug 2016
The reasons the COBOL language is irrelevant -- and why Java's okay
Word in the Java community is that it is slowly becoming outdated. Some beg to differ, including those who suggest that COBOL is the dying language. Continue Reading
-
Feature
25 Jul 2016
Java evolution into a functional programming language reflects demand
Many changes have come to the Java languages over the years, with Project Coin and lambda support making it more of a functional programming language. Continue Reading
-
Definition
14 Jul 2016
bitwise operator
Because they allow greater precision and require fewer resources, bitwise operators, which manipulate individual bits, can make some code faster and more efficient. Applications of bitwise operations include encryption, compression, graphics, communications over ports/sockets, embedded systems programming and finite state machines. Continue Reading
-
Feature
06 Jun 2016
Java's lambda syntax rigidity exposes spoiled programmer's frailties
Consternation over Java's lambda syntax is the perfect example of how Java's evolution and incremental improvements have created a community of spoiled programmers. Continue Reading
-
Feature
24 May 2016
Best programming languages for enterprise development
There's no shortage of choice when selecting the best programming languages for back-end apps. Learn what the ultimate decision depends on. Continue Reading
-
Feature
23 May 2016
Why Java is the most popular programming language
Roger Smith examines why 20 years after its release, Java tops the TIOBE index as the most popular programming language. Continue Reading
-
Feature
28 Apr 2016
Deep machine learning can help clean the mess of big data
Turning a wave of information into something meaningful can be challenging. But that's where deep machine learning can help. Here, expert George Lawton explains how. Continue Reading
-
Feature
31 Mar 2016
Public PaaS and private SaaS offerings accelerate DevOps adoption
Be it an online Git repository, or a private CI server run on OpenStack, a variety of compelling public and private SaaS and PaaS offerings are helping to accelerate DevOps adoption. Continue Reading
-
Feature
30 Mar 2016
Kotlin makes a splash in the crowded pool of peripheral JVM languages
From Groovy to Scala, there is no shortage of peripheral JVM languages from which to choose, but JetBrains' Kotlin provides some compelling features that just might make it right for your next project. Continue Reading
-
Podcast
15 Mar 2016
JVM language Kotlin simplifies Android app development
JetBrains, a company known for its popular IntilliJ and RubyMine IDEs, has released Kotlin, a new JVM language set to simplify both server-side and Android-based development. Continue Reading
-
Tutorial
29 Feb 2016
How to install JDK 8 and write the Java Hello World application
In this tutorial, we look at how to set up a basic Java SE development environment by installing JDK 8, after which we write, compile and run the Java Hello World application. Continue Reading
-
Tutorial
29 Jan 2016
How to use Java conditional statements effectively
Our first tutorial on learning Java left room for improvement. Here are ways to use Java's if, else and switch statements more effectively. Continue Reading
-
Tutorial
29 Jan 2016
Comparing Java and JavaScript: Advanced conditional logic
How do the conditional logic semantics of Java and JavaScript compare? In a browser versus JVM language comparison, this is one place where the two languages are very similar. Continue Reading
-
Tutorial
29 Jan 2016
This Java programming example will help you learn the language
Learning Java in a way that is both fun and effective is possible. In this tutorial, we take a problem-based approach to developing a stand-alone Java application. Continue Reading
-
Tutorial
29 Jan 2016
Learning modern programming languages like Ruby made easy
Interested in learning Scala, Ruby, Java or JavaScript? Do you want to learn one of these modern programming languages quickly? Here's a strategy to help you do just that. Continue Reading
-
Tutorial
29 Jan 2016
Learning Ruby for Java developers: A comparative tutorial
This comparative tutorial helps you learn how to program in Ruby, while also showing differences and similarities with Java. Continue Reading
-
Tutorial
29 Jan 2016
How to perform conditional logic effectively with Ruby
Our first Ruby versus Java tutorial offered some refactoring opportunities. Here we look at using Ruby's if, elsif and case statement more efficiently. Continue Reading
-
Tutorial
29 Jan 2016
Understanding JavaScript for the Java developer
After writing a simple application in a Java tutorial, we now move to the world of JavaScript, contrasting the languages to make the learning process easier. Continue Reading
-
Feature
13 Jan 2016
Why learning Scala, JavaScript and Ruby will make you a better Java developer
Obviously a JVM stack developer is going to know Java. But in this world of polyglot programming, knowing a bit of JavaScript, Ruby and Scala as well is a must. In fact, it might even make you a better Java developer. Continue Reading
-
Feature
03 Jan 2016
Simplified messaging and microservice development with PHP's PSR-7
Here we take a look at PHP's PSR-7, and how this new specification will help simplify microservice development while enhancing application messaging at the same time. Continue Reading
-
Feature
22 Dec 2015
Learn why Azul Zing is the Editors' Choice for Innovation
Azul Zing collects garbage out of enterprise Java workloads. Learn more about this innovative product. Continue Reading
-
News
10 Dec 2015
Payara founder: GlassFish Open Source a great app server
At JavaOne 2015, Steve Millidge discusses expectations for the future and what he and Payara are working on with GlassFish Open Source. Continue Reading
-
Feature
10 Dec 2015
These new features in PHP 7 will convince you to do an upgrade
There have been some significant improvements to the PHP language. In this article we show you how to take advantage of them, and potentially convince you to do an upgrade and migrate to the new version. Continue Reading
-
News
10 Dec 2015
Java turns 20: What's in store for Java programming?
Barry Burd, author and Java expert, discusses how Java programming recently turned 20 years old how it's managed to stick around for so long. Continue Reading
-
News
01 Dec 2015
How to setup a local Maven repository server for artifact hosting
This article looks at how to setup a local Maven repository, along with the functionality a local Maven repository server should provide. Criteria for choosing a private, local Maven repository are listed, along with Maven tutorials on how to setup Artifactory and Nexus. Continue Reading