6. Libraries, Packages, and Modules
Overview
This chapter will introduce you to the various ways of packaging and bundling Java code, as well as the tools required to help build your own Java projects. The first step is learning how to organize your code into packages, so that you can build a Java ARchive (JAR) file from those packages. From there, you will practice creating an executable JAR file using Java build tools like Maven and Gradle, which will further help you to include third-party open source libraries in your projects. By the end of this chapter, you will be well equipped to create your own Java module to group your packages together.
Introduction
Any sophisticated Java application will require many separate Java classes. ...
Get The Java Workshop 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.