Email Icon   Forward to a Friend
Java Mag Banner
Java Mag Issue Image
Testing, Testing—This Is Not Only a Test.
The latest articles in Java Magazine cover several aspects of testing. This month, we also have a deep dive into server-sent events. And quizzes, yes! We are trying something new: We will release quizzes every week, generally on Tuesdays (we are calling it “Quiz Tuesday”). Keep an eye on our Twitter account @OracleJavaMag and on the Java Magazine home page. And please let me know what you think at javamag_us@oracle.com.

Stay safe, everyone.

Alan Zeichick
Editor in Chief, Java Magazine
The Newest Articles
Testing Java Microservices with Pact
Microservices involve a lot of communication between the services, which effectively form a contract. Those contracts cover expectations for input or output data, as well as for preconditions and postconditions. Alex Soto Bueno, Jason Porter, and Andy Gumbrecht teach how to test those contracts.

Migrating from JUnit 4 to JUnit 5: Important Differences and Benefits
Brian McGlauflin demonstrates that JUnit 5 can be quick and easy—and he also points out where the transition to it requires a little more effort, such as when package names change unexpectedly.

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:

Quiz Corner
A new quiz will be posted each week. The newest offerings from Simon Roberts and Mikalai Zaikin will cover core functional interfaces, the Java Platform Module System (JPMS), overriding operator precedence, method overloading, and switch/case statements.
Book Review
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.
Get the latest from Java Magazine
Subscribe cta-arrow
Stay Connected
Facebook Twitter