In this chapter, you will learn:
How to write modular Java programs
How to compile modular programs
How to package the artifacts of a module into a modular JAR file
How to run a modular program
In this chapter, I explain how to work with a module—from writing the source code to compiling, packaging, and running the program. This chapter is divided into two parts. The first part shows you all the steps to write and run a module program using the command line. The second part repeats the same steps using the NetBeans IDE.
At the time of this writing, the NetBeans IDE is still under development and it ...