In this chapter we have re-examined the overall structure of a Java application. We examined the use of the import
and package
statements and discussed the relationship between a package library and its supporting directory/file underpinnings. We learned how to use the asterisk wildcard with the import
statement. In addition, we saw the use of the static import statement.
We discussed the use of the initializer list and how garbage collection works in Java. This process results in the automatic recovery of objects once they are no longer needed.
The support provided for internationalization was explored starting with the Locale
class and then with resource bundles. Both, property resource bundles and the ListResourceBundle
class were covered. We learned how inheritance works with property resource bundles when organized using a consistent naming convention.
Finally, we covered the use of JDBC. We saw how a driver is needed to establish a connection to a database and how to use the Statement...