Migrating Applications to Java 11

In the previous chapter, we took a close look at the structure of Java modules as specified by Project Jigsaw and examined how Project Jigsaw was implemented to improve the Java platform. We also reviewed key internal changes to the Java platform with a specific focus on the new modular system. We started with a modular primer, where we learned about Java's modular system in terms of benefits and requirements. Next, we explored how the JDK's modularity including a look at how the source code has been reorganized. We also explored the JDK's seven primary tool categories and learned that Java modularity extends to runtime images, resulting in more maintainability, better performance, and increased security. The concept of link time was introduced as an optional phase between compile-time and runtime. We concluded the chapter with a look at the Java Linker and how Java encapsulates internal APIs.

In this chapter, we will explore how to migrate our existing applications to the current Java platform. We will look at both manual and semi-automated migration processes. This chapter aims to provide you with insights and processes to get your non-modular Java code working with the current Java platform.

The topics we will cover in this chapter are the following:

  • A quick review of Project Jigsaw
  • How modules fit into the Java landscape
  • Migration planning
  • Advice from Oracle
  • Deployment
  • Useful tools
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset