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
Duration: 02:00
Description: Understanding interfaces and inheritance, collections, string processing, error handling, and I/O is vital to learning to program with Java SE 7. This course covers modeling business problems using interfaces, defining a Java interface, choosing between interface and class inheritance, extending an interface, and refactoring code to implement the DAO pattern. In addition, it explores creating a customer generic class, using the diamond operator to create an object, creating a Collection by using an old style syntax and generics, using enumerated types, as well as implementing an ArrayList, a Set, a HashMap, and a Stack using a Deque. It demonstrates how to read data from the command line, create strings using a StringBuilder, and search, parse, and replace strings by using regular expressions. It defines the purpose of Java exceptions, and explains how to use the try and throw statements and the catch, multi-catch, and finally clauses. It covers autoclosing resources with a try-with-resources statement, common exception classes and categories, creating custom exceptions, and testing invariants by using assertions. The basics of input and output in Java, reading data from and writing data to the console, using streams to read and write files, and reading and writing objects by using serialization 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
Duration: 02:00
Description: Java technology applications are written in the Java Programming Language and compiled to Java bytecode. This course introduces the Java platforms, how to obtain a JDK, and commercial support options for Java SE. It describes creating simple Java classes, using Java fields, constructors, and methods, modeling business problems using Java classes, using package and import statements, testing Java classes, and creating Java subclasses. In addition, it explores access levels, override methods, overloading constructors, using the instanceof operator to compare object types, using virtual method invocation, using upward and downward casts, and overriding methods from the Object class. Designing general purpose base classes using abstract classes, constructing abstract java classes and subclasses, modeling business problems using the static and final keywords, implementing the Singleton design pattern, and distinguishing between top-level and nested classes 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
Duration: 02:00