March 2019
Intermediate to advanced
242 pages
6h 21m
English
The next step in creating a shared archive includes specifying the application classes to be included. Examine the myCDSlog.log file that you created in the preceding section. It doesn't include each class or interface that is defined in the core Java API.
Similarly, even though your application might include a lot of classes, you need not include all of them in the shared archive file, simply because not all of them are required at startup. This also reduces the size of the shared archive file.
Here's an example to find the application classes that should be added to the shared archive. To start with, create a jar file of your application files.
Let's create four skeleton class files in the com.ejavaguru.appcds ...
Read now
Unlock full access