9 Migration and modularization strategies

This chapter covers

  • Preparing a migration to Java 9 and beyond
  • Continually integrating changes
  • Incrementally modularizing projects
  • Generating module declarations with JDeps
  • Hacking third-party JARs with the jar tool
  • Publishing modular JARs for Java 8 and older

Chapters 6, 7, and 8 discuss the technical details behind migrating to Java 9+ and turning an existing code base into a modular one. This chapter takes a broader view and looks at how to best compose these details into successful migration and modularization efforts. We’ll first discuss how to perform a gradual migration that cooperates well with the development process, particularly build tools and continuous integration. Next, we’ll look at ...

Get The Java Module System now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.