Learn your way! Get started

Java SE, Part 3 of 4: JDBC, Reflections, and Threading

with expert Gene Van Sant


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 9/30/2010
Level Beginner
Runtime 12h 48m
Closed captioning N/A
Transcript N/A
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

Java was introduced many years ago not for the internet but has since expanded to be an industry standard for web pages. This course goes beyond the introduction to the advanced Java programming language and how to develop Java applications using Eclipse. You will learn how to use JavaBeans, JDBC, Internationalization, Reflection, Threads and Networking.

Prerequisites

This course is intended for programmers who are familiar with Java and want to learn about the advanced features of Java. Students should have a good understanding object-oriented programming using Java.

Learning Paths

This course will help you prepare for the following certifications and exams:
Java SE 6 Developer
Java SE 7 Programmer I
1Z0-855: Java SE 6 Developer Certified Master Assignment
1Z0-857: Java SE 6 Developer Certified Master Assignment for Resubmission
1Z0-803: Java SE 7 Programmer I

This course is part of the following LearnNowOnline SuccessPaths™:
Java Development

Meet the expert

Gene Van Sant has over two decades of experience as a software/systems implementer and solutions integration architect. He has experience as a contractor and maintains instructor certifications from IBM and others. Gene balances his career between implementing and automating full blown real world solutions and teaching classes/workshops on emerging technologies and products. This allows Gene to gain valuable extensive real world experience while also staying ahead of the wave with cutting-edge expertise.

Course outline



JavaBeans

JavaBeans: Overview (30:39)
  • Introduction (01:17)
  • Overview: JavaBeans (01:59)
  • JavaBeans Specification (04:50)
  • Why JavaBeans? (00:58)
  • Demo: Simple JavaBean (06:45)
  • Demo: Consume the JavaBean (08:48)
  • Demo: Test the JavaBean (05:57)
  • Summary (00:02)
JavaBeans: Structure (51:09)
  • Introduction (00:15)
  • JavaBean Structure (03:33)
  • JavaBean Life Cycle (03:36)
  • JavaBean Properties (02:30)
  • Demo: Bound Property (08:49)
  • Demo: View JavaBean in GUI (20:05)
  • Demo: Add Events (12:17)
  • Summary (00:02)
JavaBeans: Events (50:21)
  • Introduction (00:15)
  • Events (03:35)
  • Demo: Add/Remove Listeners (13:56)
  • Demo: Add Views in Model (01:28)
  • Demo: Use Views in App (07:14)
  • Demo: Create Wrapper Model (11:53)
  • Demo: Test Wrapper Model (04:31)
  • Demo: Copy Constructor (06:42)
  • Summary (00:45)

JDBC

JDBC: Overview (41:41)
  • Introduction (00:48)
  • Overview (03:42)
  • Demo: Interface (05:51)
  • Types of Drivers (03:17)
  • Making a Connection (01:06)
  • Demo: Making a Connection (19:02)
  • Demo: Implementing a Connection (07:50)
  • Summary (00:02)
JDBC: Statements (35:50)
  • Introduction (00:15)
  • Statements (00:34)
  • Execute, Update & ResultSets (04:24)
  • SQLException (02:09)
  • Demo: Programming Statements (28:24)
  • Summary (00:02)
JDBC: ResultSet & Iterators (30:30)
  • Introduction (00:15)
  • ResultSet and Iterators (01:13)
  • Demo: Iterators (16:52)
  • Prepared Statements (02:22)
  • Demo: Prepared Statement (09:45)
  • Summary (00:02)
JDBC: Stored Procedures (37:11)
  • Introduction (00:15)
  • Stored Procedures (02:16)
  • Demo: Stored Procedures (25:01)
  • Transactions (03:13)
  • Demo: Transactions (06:23)
  • Summary (00:02)
Connection Pooling (41:27)
  • Introduction (00:15)
  • Connection Pooling (06:52)
  • Demo: Connection Pooling (33:51)
  • Summary (00:28)

Localization

Localization: Overview (22:52)
  • Introduction (00:57)
  • Overview:Internationalization (01:46)
  • Locale (00:38)
  • Demo: Built in Locales (04:25)
  • Demo: Default Locale (00:59)
  • Demo: More Locale Information (05:52)
  • Dates (02:15)
  • Demo: Dates (05:55)
  • Summary (00:02)
Localization: Resource Bundles (36:37)
  • Introduction (00:15)
  • User Interface Design (03:08)
  • Resource Bundles (06:22)
  • Demo: Add Resource Bundle (15:15)
  • Other Local Customs (02:00)
  • Demo: Currencies (03:17)
  • Demo: Message Format (06:15)
  • Summary (00:02)
Localization: File Data (25:47)
  • Introduction (00:15)
  • Character Sets (00:36)
  • Text Files (01:54)
  • Demo: Default File Encoding (00:57)
  • Demo: Read/Write UTF-16 Files (01:31)
  • Demo: InputStreamReader (01:36)
  • Demo: OutputStreamWriter (06:25)
  • Demo: Using a Normalizer (12:01)
  • Summary (00:29)

Reflection

Reflection: Overview (37:54)
  • Introduction (00:36)
  • Dynamic Facilities (01:15)
  • Dynamic Aspect Implications (01:50)
  • The Class class (02:14)
  • Reflection Allows (02:13)
  • When not to use Reflection (01:48)
  • Examining Classes (01:36)
  • Demo: Inspect w/Reflection (02:01)
  • Demo: Inspect Constructors (02:14)
  • Demo: Inspect Fields/Methods (08:46)
  • Demo: Access Super class (13:13)
  • Summary (00:02)
Reflection: Objects (38:31)
  • Introduction (00:15)
  • Manipulating Objects (02:47)
  • Demo: Introspection API (10:40)
  • Demo: Couple Bean w/Model (06:20)
  • Demo: Create Object Reference (06:18)
  • Demo: Use Any Type of Bean (03:01)
  • Demo: Remove Dependicies (09:05)
  • Summary (00:02)
Reflection API (28:45)
  • Introduction (00:15)
  • Creating Objects (02:25)
  • Demo: Reflection API (00:00)
  • Demo: Invoke Class Members (07:23)
  • Demo: Create Instance (05:46)
  • Demo: Interact w/Instances (09:17)
  • Demo: Create Instance w/Args (03:33)
  • Summary (00:02)
Reflection: Field Values/Arrays (47:00)
  • Introduction (00:15)
  • Getting Field Values (01:28)
  • Setting Field Values (00:39)
  • Arrays (00:27)
  • Demo: Invoke Instance w/Args (09:47)
  • Demo: Create List of Types (15:46)
  • Demo: Create UI Calls (11:41)
  • Demo: Arrays (05:57)
  • Summary (00:55)

Threads

Threads: Overview (46:05)
  • Introduction (01:03)
  • Overview: Threads (01:28)
  • Why Threads (08:18)
  • Threads in Java (02:00)
  • Two Ways to Create a Thread (01:01)
  • Thread Lifetime (04:02)
  • JVM Scheduler (02:19)
  • Demo: Create a Runnable Class (02:56)
  • Demo: Schedule/Control Threads (06:41)
  • Demo: Change Thread Priority (02:18)
  • Demo: Sleep/Wait (05:40)
  • Demo: Stopping a Thread (03:58)
  • Demo: Create a Daemon Thread (04:12)
  • Summary (00:02)
Threads: Synchronization (44:49)
  • Introduction (00:15)
  • Executor Interface (00:36)
  • Using the Executor (01:00)
  • Callable <V> (01:19)
  • ExecutorService Object (00:39)
  • Future<T> Object (00:57)
  • Demo: Callable <V> (05:26)
  • Demo: ExecutorService (06:18)
  • Coordinate Thread Cooperation (01:40)
  • Synchronization (03:25)
  • Object Lock Flag (01:56)
  • Synchronized keyword (01:22)
  • Summary: Synchronization (01:04)
  • Synchronization: Producer/Consumer (01:43)
  • Demo: Synchronization Producer (10:04)
  • Demo: Synchronization Consumer (06:59)
  • Summary (00:02)
Thread: Coordination (33:05)
  • Introduction (00:15)
  • Coordinate Thread Cooperation (00:34)
  • wait() and notify() (00:57)
  • Coordination: Producer/Consumer (00:59)
  • Demo: Coordination (00:21)
  • Demo: wait() and notify() (07:44)
  • Deadlock (01:13)
  • Demo: Deadlock (19:55)
  • Summary (01:01)

Networking

Networking: Overview (38:34)
  • Introduction (00:38)
  • Overview: Networking (01:20)
  • URL Connections (01:34)
  • InetAddress (00:57)
  • Demo: InetAddress Class (03:45)
  • Demo: Simple Browser (06:13)
  • Socket Classes (05:27)
  • Demo: ServerSocket (12:24)
  • Demo: Simple Client (06:10)
  • Summary (00:02)
Networking: Multithreaded (49:09)
  • Introduction (00:15)
  • Multithreaded Servers (00:54)
  • Demo: Multithreaded Servers (01:23)
  • Demo: Multithreaded Client (02:10)
  • Demo: Implement Runnable (03:01)
  • Demo: Add ExecutorService (02:07)
  • Demo: Test Multithreaded Server (02:59)
  • Demo: Object Streams Server (09:23)
  • Demo: Object Streams Client (08:28)
  • Demo: Test Object Streams (03:52)
  • UDP Sockets (02:39)
  • Demo: Datagram Server (05:17)
  • Demo: Datagram Client (03:59)
  • Demo: Test Datagram (01:58)
  • Summary (00:37)