JavaWorld

Latest articles

Packages and static imports in Java

In my previous Java 101 tutorial, you learned how to better organize your code by declaring reference types (also known as classes and interfaces) as members of other reference types and blocks. I also showed you how to use nesting to avoid name conflicts between nested reference types and top-level reference types that share the same name.Along with...

JUnit 5 tutorial, part 2: Unit testing Spring MVC with JUnit 5

Spring MVC is one of the most popular Java frameworks for building enterprise Java applications, and it lends itself very well to testing. By design, Spring MVC promotes the separation of concerns and encourages coding against interfaces. These qualities, along with Spring's implementation of dependency injection, make Spring applications very testable.This...

Open source projects take all kinds — well, some do

Not every open source project lead agrees with Rich Felker, founder of the Musl project. As I covered recently, Felker puts a premium on users of Musl, even more than those that contribute code: “The users, the testers, the adopters, the bug reporters [are] so much more valuable than writing any code.”But don’t misunderstand him. Felker adds that even...

GitHub usage analysis measures COVID-19 impact

The COVID-19 virus has prompted a sudden, global need for people to stay home. Software developers, like everyone else, have had to transition to a work-from-home world. For the users of GitHub, the COVID-19 pandemic has meant changes in work cadence and collaboration, along with an increased risk of burnout, a GitHub study of usage patterns on the...

The most important part of an open source project

With all the talk about open source sustainability, it’s easy to focus on “hard currency” contributions to a project. You know, code or cash or documentation or something that the project maintainers can see or touch. But in a conversation with Rich Felker, the founder of the musl libc project, he said something that initially seemed provocative, even...

C programming language rises with COVID-19

For the first time since March 2015, the C programming language this month supplanted Java as the most-popular language in the Tiobe Index of programming language popularity. Tiobe guessed that the COVID-19 pandemic might be behind C’s rise.While acknowledging that the pandemic may be just one of many reasons, Tiobe said some languages could see an...

JUnit 5 tutorial, part 1: Unit testing with JUnit 5, Mockito, and Hamcrest

JUnit 5 is the new de facto standard for developing unit tests in Java. This newest version has left behind the constraints of Java 5 and integrated many features from Java 8, most notably support for lambda expressions.In this first half of a two-part introduction to JUnit 5, you'll get started with testing with JUnit 5. I'll show you how to configure...

The best free programming courses during quarantine

Want to learn to program? These excellent free introductory courses from Codecademy and Coursera will have you coding in no time(Insider Story)

Project Leyden addresses Java pain points

Long-term Java pain points including slow startup time, slow time to peak performance, and large footprint would be addressed by a proposal being floated in the OpenJDK community by Mark Reinhold, chief architect of Oracle’s Java platform group.Called Project Leyden, the proposal would deal with these pain points by introducing the concept of static...

Remember when open source was fun?

Much of the conversation about the sustainability of open source has revolved around how to ensure VC-backed companies can turn millions in investment into hundreds of millions in return. But talking with early pioneers of open source projects like Curl, Fio, and Wireshark, it’s clear that a critical component is missing from such conversations: fun.In...

Discover, share and read the best on the web

Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters! Get unfiltered news feeds or filter them to your liking.

Get Inoreader
Inoreader - Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters!