While you are reading the latest articles in Java Magazine, we are busy cooking up some interesting goodies to celebrate the 25th anniversary of Java itself. Can you believe it’s been nearly a quarter-century? Like many of you, I remember when Java was first demonstrated. Write once, run anywhere? What a concept! And yet, soon we’ll celebrate 25 years of success.
Please enjoy the latest articles in Java Magazine, and if you’d like some multimedia entertainment, check out my new “welcome” video.
To stay up to date on everything from Java Magazine, follow us on Twitter and on Facebook as well. Please send feedback to us via social media or directly to javamag_us@oracle.com.
Five Code Review Antipatterns Code reviews are essential but are not always done correctly. In this article, Trisha Gee points out, and rants about, particular antipatterns we’ve all experienced while being subjected to code reviews or submitting pull requests. It’s time we all do better.
JUnit 5.6 Makes Testing Easy with New Features Here are a few of Mert Çalışkan’s favorite things in the latest update to JUnit—the ability to explicitly define an execution order, define declarative timeouts, and condition test executions based on JRE versions, environment variables, and specific system properties. You can even run tests in parallel, if you choose.
The Unsafe Class: Unsafe at Any Speed From time to time, you might need to break the rules. One technique for doing so is to use Unsafe, which is potentially dangerous, because it provides a way to do certain things that are otherwise impossible and that break well-established rules of the platform. Ben Evans tells you everything.
Other Recent Articles
Testing Java Microservices with Pact A microservices architecture involves a lot of communications between the services, which effectively form a contract. Those contracts cover expectations for input and output data, as well as preconditions and postconditions. Alex Soto Bueno, Jason Porter, and Andy Gumbrecht teach how to test those contracts.
HTML5 Server-Sent Events with Micronaut.io and Java HTML5 SSE is a push technology that lets an implementing application receive updates from a server over HTTP or HTTPS. Eric Bruno shows how to implement HTML5 SSE messaging with the Micronaut.io framework.
In Addition
Book Review: Java EE 8 Application Development Andrew Binstock found David Heffelfinger’s new book to be a useful and surprising pleasant read—ideal for Java enterprise developers who want to understand the latest Java EE platform.
Quiz Corner Visit Java Magazine or follow us on social media to try the latest challenges from Simon Roberts and Mikalai Zaikin.
Subscribe to Java Magazine
Java Magazine is a deep dive into Java and the JVM. Find detailed explanations about the language and the platform written by experts and members of the Java development team.
Join a quarter of a million subscribers in getting useful, authoritative programming information delivered directly to your inbox.