Friends of OpenJDK Today

Book Review: “OpenJDK Migration for Dummies”

August 04, 2023

Author(s)

  • A N M Bazlur Rahman

    A N M Bazlur Rahman is a Software Engineer with over a decade of specialized experience in Java and related technologies. His expertise has been formally recognized through the prestigious ... Learn more

The subject of Java licensing and OpenJDK migration is complex and vital to many software engineers. I am no different. It's a topic often shrouded in legal jargon and technicalities, making it difficult to approach.

Sponsored Content

Jakarta EE 11: Beyond the Era of Java EE

This user guide provides a brief history of Java EE/Jakarta EE and a detailed overview of some of the specifications that will be updated in Jakarta EE 11.

Get Started

"OpenJDK Migration for Dummies" by Simon Ritter offers a fresh perspective, breaking down these challenges into digestible segments. (Get it for free here.)

The book directly speaks to my core expertise in Java, providing clarity and guidance.

This review below dissects the content, calls out key insights, and highlights reflections connecting with my Java-focused software engineer experiences.

Content Overview

1. Oracle's Licensing Transition

Like many in the industry, I've found myself puzzled by the nuances of Oracle's Java licensing.

The transition from Oracle JDK to alternative distributions has sent ripples across the Java community, affecting professionals like me. This chapter offers an in-depth exploration of Oracle's licensing transition, explaining the Universal Subscription model and how it impacts users.

The details surrounding the legal framework, agreements, and alternative options are presented with utmost clarity.

As someone who has navigated these waters, I feel seen and understood by the words in this chapter. It is not just an academic analysis: it is a reflection of real-world experiences and challenges faced by many Java professionals.

2. Technology Compatibility Kit (TCK)

The Technology Compatibility Kit (TCK) ensures that all implementations of a specification are compatible. The TCK has long been crucial in fulfilling Java's "write once, run anywhere" promise. This part of the book delves into the importance of TCK, its functioning, and how it serves as a validation tool for Java developers.

It is enlightening to read an explanation that connects with my understanding of Java's legalities and compatibility concerns. The author's ability to simplify complex concepts while maintaining accuracy is commendable.

This chapter serves as a valuable resource for any professional working with Java.

3. Preparing for OpenJDK Migration

Migration is rarely simple, and OpenJDK is no exception. It's a process that requires a careful and structured approach.

This chapter breaks down the process into discovery, execution, and validation stages. The description of each stage is filled with insights, examples, and practical tips that are both reassuring and instructive.

This roadmap is invaluable for anyone facing OpenJDK migration.

A significant portion of the chapter is dedicated to understanding the risks associated with older technologies and Oracle JDK-specific features. This includes discussions on very old Java versions, JavaFX, and Applets and how these might impact the migration process.

Furthermore, the book provides valuable information on the available installation formats for different operating systems, including Windows, Linux, macOS, and Docker. This caters to different organizational preferences and technical requirements.

The holistic approach presented about OpenJDK migration makes it an essential read for organizations, offering insights and guidance that are both practical and adaptable to various migration scenarios and goals.

4. Choosing the Right OpenJDK Distribution

Selecting the right OpenJDK distribution is an intricate process that requires careful consideration of several key factors, as detailed in Chapter 4.

Supported versions, platforms, and organizational needs are foundational to the decision. The duration of support and adherence to TCK testing standards ensure a stable Java environment.

The importance of timely availability of updates, including security patches, is emphasized. The chapter also highlights the various binaries available, with providers like Azul offering extensive support.

In short, Chapter 4 offers a comprehensive, structured approach to evaluating and choosing an OpenJDK distribution, making it valuable for decision-makers and technical experts.

5. Addressing Concerns in OpenJDK Migration

Migration to an alternative OpenJDK distribution is often accompanied by uncertainties and questions.

This chapter confirms that most Oracle JDK exclusives pertain to desktop applications, and alternatives are available, reinforcing the stability of Java's "write once, run anywhere" promise.

The chapter also provides practical advice for migrating Oracle-specific applications and insights into potential issues with recompiling using a newer JDK.

It also includes a brief comparison of popular OpenJDK distributions to assist organizations in decision-making.

You're provided with a helpful guide that addresses concerns, provides practical insights, and assists in selecting the right options for a seamless migration experience.

6. Exploring Vulnerabilities and Security

The book notably focuses on common vulnerabilities and exposures (CVEs) in various JDK versions from 2019 to 2023. It emphasizes the importance of backported security fixes and illustrates the frequency and severity of new CVEs.

Commercial support, especially from providers like Oracle and Azul, is highlighted for offering two types of updates: Critical Patch Update (CPU) for security patches, and Patch Set Update (PSU) for all changes. This distinction aids in risk management and emphasizes the role of regular updates and commercial backing in maintaining a secure Java environment.

This chapter serves as a valuable resource for understanding the complex landscape of Java security.

7. Commercial Support for OpenJDK

This chapter discusses the importance and benefits of commercial support for OpenJDK. Without formal support, OpenJDK users can face challenges such as slow bug fixing, waiting for scheduled updates, and limited guarantees. Commercial support provides timely bug fixing, stability and security assurance, help with migration, and delivery of innovation.

Commercial support allows organizations to scale Java teams, protect intellectual property, and maintain bundled technologies. It assists in applying quarterly updates, ensuring regular access to security patches, bug fixes, and enhancements. For organizations that cannot build their own JDK, providers like Azul offer the necessary support.

Moreover, commercial support offers extensive services beyond standard help-desk support, providing essential stability, security, and flexibility to Java users and enterprises. This chapter overall describes the benefits of having commercial support.

8. Questions for Requesting Information

This concise yet impactful chapter presents essential questions for evaluating potential Java partners.

Questions focus on compatibility, support, legal protection, and other crucial factors that influence decision-making.

These questions form a critical checklist that I personally find incredibly useful.

Writing Style

The book's articulate and insightful writing style appeals to the analytical and logical aspects of the professional software engineer.

While exploring complex subjects, the author maintains simplicity and structure, connecting with readers on both an intellectual and emotional level.

Potential Audience

Professionals, students, educators, and anyone interested in the intricacies of Java will find this book engaging and informative.

It's not just a technical manual: it's a companion on a journey through the complexities of OpenJDK migration.

Critique and Considerations

The book appears to be an informative resource for those looking to understand and undertake the migration process to OpenJDK.

It provides an overview of key considerations, stages of migration, and answers to common questions.

  • However, some readers may find potential areas where the content could be expanded or refined. For example, the emphasis on Azul and certain vendor-specific information might limit the book's universal applicability, depending on the reader's preferences or organizational needs.
  • More depth in technical details, including code examples, testing strategies, and handling of legacy systems, might enhance the practicality of the guide. The inclusion of insights from real-world migration projects, including challenges and lessons learned, could add valuable context.
  • Lastly, a more varied selection of tools and frameworks could cater to an even wider audience.

Nonetheless, these potential areas for improvement should be viewed in the context of the book's overall goals and the needs of its intended readership, as it evidently provides a foundational understanding of the subject matter.

Conclusion

"OpenJDK Migration for Dummies" offers a guide to OpenJDK migration.

While the book covers topics such as licensing complexities and security concerns, its relevance may depend on the reader's experiences and needs in Java.

I found it very insightful in many areas, while potential readers should assess their own requirements to determine if this book fits their professional development in Java.

Related Articles

View All

Author(s)

  • A N M Bazlur Rahman

    A N M Bazlur Rahman is a Software Engineer with over a decade of specialized experience in Java and related technologies. His expertise has been formally recognized through the prestigious ... Learn more

Comments (2)

Your email address will not be published. Required fields are marked *

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Save my name, email, and website in this browser for the next time I comment.

Is OpenJDK Just a Drop-In Replacement?

[…] the review from Bazlur I chose to also pick up Simon Ritter’s “OpenJDK Migration for Dummies.” This book has […]

Is OpenJDK Only a Drop-In Substitute? – SmartNewsVC

[…] the review from Bazlur I selected to additionally decide up Simon Ritter’s “OpenJDK Migration for Dummies.” […]

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard