Overview/Description
Understanding File I/O, concurrency, how to work with data via JDBC, and localization, are crucial to getting the most out of your Java applications. This course covers using the Path class to operate on file and directory paths, using the Files class to check, delete, copy or move a file or directory, reading and changing file and directory attributes, recursively accessing a directory tree, finding a file by using the PathMatcher class, and watching a directory for changes by using WatchService. In addition, it examines operating system task scheduling, defining, creating, and managing threads, synchronizing threads for accessing shared data, identifying potential threading problems, and using the java.util.concurrent library. It explores the layout of the JDBC API, as well as connecting to a database by using a JDBC driver, submitting queries and getting results from the database, specifying JDBC driver information externally, using transactions with JDBC, using the JDBC 4.1 RowSetProvider and RowSetFactory, and using a DAO pattern to decouple data and business methods. The advantages of localizing an application, defining locales, building a resource bundle for each locale, calling a resource bundle from an application, changing the locale for a resource bundle, and formatting text for localization by using NumberFormat and DateFormat are also covered.
Target Audience
Programmers with an understanding of the fundamental workings of Java who want to get started developing real Java 7 applications