JavaWorld

· · · · 31 subscribers

Inside views on essential and emerging Java technologies from the developers shaping the future of the Java platform.

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 nesting, Java uses packages to resolve same-name issues in top- level reference types. Using static imports also simplifies access to the static members in packaged top-level reference types. Static imports will save you keystrokes when accessing these members in your …

more...


Tags:

Older Episodes

[Spring MVC](https://www.javaworld.com/article/2078034/spring-framework- mastering-spring-mvc.html) 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 …
The [COVID-19 virus](https://www.infoworld.com/article/3542028/c-programming- language-rises-with-covid-19.html) 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](https://www.infoworld.com/article/3533050/wth-oss-knows-how-to-wfh- irl.html). For the users of GitHub, the COVID-19 pandemic has meant changes in work cadence and collaboration, along with an increased risk …
With [Java 14](https://www.infoworld.com/article/3436795/jdk-14-the-new- features-in-java-14.html) having reached general availability March 17, work has begun on the successor, Java 15, due September 15, 2020. Thus far eight official changes have been slated for the release. Three proposals were added in early May, including replacing the legacy DatagramSocket API, a second preview of …
With all the talk about [open source sustainability](https://www.infoworld.com/article/3528355/open-source-should- learn-from-linux-not-mysql.html), 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 …
For the first time since [March 2015](https://www.infoworld.com/article/2894714/survey-developers-want- javascript-alternatives.html), the [C programming language](https://www.infoworld.com/article/3402023/why-the-c-programming- language-still-rules.html) this month supplanted [Java](https://www.infoworld.com/article/3534133/jdk-15-the-new-features-in- java-15.html) as the most-popular language in the [Tiobe Index of programming language popularity](https://www.tiobe.com/tiobe-index/). Tiobe guessed that the COVID-19 pandemic might be behind C’s rise. While acknowledging that the pandemic may be just one …
[JUnit 5](https://junit.org/junit5/) 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](https://www.javaworld.com/article/2092260/java-programming-with- lambda-expressions.html). In this first half of a two-part introduction to JUnit 5, …
Want to learn to program? These excellent free introductory courses from Codecademy and Coursera will have you coding in no time
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](https://mail.openjdk.java.net/pipermail/discuss/2020-April/005429.html) 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 …
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 …
While [the Google-developed Go (golang) language](https://www.infoworld.com/article/3512622/go-114-improves-runtime- compiler.html) has branched out into industries such as finance and media, much of its usage remains concentrated in the technology industry itself, according to the [Go Developer 2019 Survey](https://blog.golang.org/survey2019-results). A report featuring results of the survey was published on April 20. Forty- three percent …
As the coronavirus pandemic continues to shut down cities and offices around the globe, developers and software engineers are [quickly adapting to operating in remote, distributed teams](https://www.infoworld.com/article/3532286/7-best-practices-for-remote- agile-teams.html). The good news is programmers can quite easily work wherever they have a laptop and a secure internet connection — but the …
As with other aspects of cybersecurity, the level of programming language security depends on what we mean by "secure." It's true that Java has fewer identified vulnerabilities than some other commonly used languages. It's also true that some newer languages appear more secure than Java, at least at first glance. …
There are many good cloud companies that do a perfectly good job. You click and they deliver a root login to a running instance. All of them are good. Some even have areas where they’re the best. None of them, though, manage to measure up to the breadth and depth …
[ECMAScript 2020](https://tc39.es/ecma262/2020/), the next version of the official specification underlying [JavaScript](https://www.infoworld.com/article/3515788/javascript-is-the-most- in-demand-it-skill.html), is expected to be formally adopted in June, subject to approval by ECMA International and the ECMA technical committee overseeing the specification. ECMAScript 2020 introduces multiple features ranging from a new `import()` facility for loading modules to a …
[Agile methodologies](https://www.infoworld.com/article/3237508/what-is-agile- methodology-modern-software-development-explained.html) work best when everyone on the team is together in one location. When teams share a workspace, it’s easy for teammates to ask questions, pair on programming tasks, and solve problems without scheduling meetings. Using technologies like web conferencing, group chats, and email just isn’t as effective …
Amazon Web Services (AWS) has formed a public [AWS COVID-19 data lake](https://dj2taa9i652rf.cloudfront.net/), a centralized repository of datasets related to the spread of the novel coronavirus and associated illnesses. AWS on April 8 said it was working with partners to make the growing collection of COVID-19 datasets freely available and keep …
Pandemics are not the “new normal” for the human race. As with practically every other type of disaster, we’ve survived them countless times in the past. [To read this article in full, please click here](/article/3537391/coding- together-apart-software-development-after-covid-19.html#jump) (Insider Story)
Version 2.1 of the [CheerpJ Java-to-WebAssembly-and-JavaScript compiler](https://www.infoworld.com/article/3202313/cheerpj-converts-java- apps-into-javascript-for-the-web.html), released April 6, brings optimizations to exception handling and native methods. Described as a maintenance release, CheerpJ 2.1 introduces optimizations for exception handling, which are now compiled to “much more efficient” JavaScript code, according to a [bulletin](https://medium.com/leaningtech/cheerpj-2-1-released-java-bytecode- to-webassembly-and-javascript-303fb8dd5d98) on the version 2.1 …
DevOps has been an aspirational goal for many organizations for years. Embroiled in the work-from-home reality of the current COVID-19 pandemic, “All the timelines” for embracing DevOps, generally, and [continuous integration/continuous delivery](https://www.infoworld.com/article/3271126/what-is-cicd-continuous- integration-and-continuous-delivery-explained.html) (CI/CD) “have shrunk,” says [CircleCI](https://circleci.com/) CEO Jim Rose, fresh on the heels of a $100 million Series …