Vi ste ovdje
Java SE7 Professional: File I/O, Concurrency, JDBC, and Localization
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
Expected Duration (hours)
2.0
Lesson Objectivesuse the Path and File classes to work with files and directories
read and change file and directory attributes
perform recursive operations and use the PathMatcher and FileVisitor classes
create and manage threads
use the java.util.concurrent library and multithreading
connect to a database using a JDBC driver and submit queries and get results
use transactions with JDBC
use the JDBC 4.1 RowSetProvider, RowSetFactory and a Data Access Object pattern
create a localized application
use Java and JDBC with the Derby Database
localize Java applications
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
Expected Duration (hours)
2.0
Lesson Objectives
Java SE7 Professional: File I/O, Concurrency, JDBC, and Localization
Trajanje:
2 h
Šifra:
jl_jsep_a03_it_enus