What you'll learn?

·     Use threads to improve performance of Java programs.

·     Store and retrieve a serialized Java object.

·     Define applets and the applet life cycle.

·     Use streams.

·     Create network applications in Java.

·     Learn to use Java multi-threading and exception handling features.

·     Gain an in-depth understanding of database programming in Java using JDBC.

·     Use JavaBeans

·     Create client/server Java applications using sockets.

Description

Most production programs will need to interface with technologies such as threading, applets and networking. This course explores advanced Java Standard Edition language features and packages. Multi-threaded applications will be covered in detail including concepts such as deadlocks and race conditions. Trainees will also learn how to utilize more advanced I/O capabilities with object serialization. client/server Java applications using sockets and JAR files are covered. There is also an introduction to JavaBeans.

Audience :

Java programmers who wish to increase their depth of knowledge in Java programming and explore the uses of the various advanced packages.

Topics :

Course Introduction

o  Course Objectives

o  Overview

o  Suggested References

Applets

o  Programming Applets

o  Applets and Web Browsers

o  Converting an Application into an Applet

o  Converting an Applet into an Application

o  Review Questions

Introduction to Threads

o  Non-Threaded Applications

o  Threaded Applications

o  Creating Threads

o  Thread States

o  Runnable Threads

o  Coordinating Threads

o  Interrupting Threads

o  Runnable Interface

o  ThreadGroups

o  Review Questions

Thread Synchronization and Concurrency

o  Race Conditions

o  Synchronized Methods

o  Deadlocks

o  Synchronized Blocks

o  Thread Communication — wait()

o  Thread Communication — notify()

o  Review Questions

Introduction to JDBC

o  The JDBC Connectivity Model

o  Database Programming

o  Connecting to the Database

o  Creating a SQL Query

o  Getting the Results

o  Updating Database Data

o  Review Questions

JDBC SQL Programming

o  Error Checking and the

o  SQLException Class

o  The SQLWarning Class

o  Updatable Result Sets

o  Review Questions

Advanced JDBC

o  Using a PreparedStatement

o  Parameterized Statements

o  Stored Procedures

o  ResultSets from Stored Procedures

o  The execute() Method

o  Batch Updates

o  RowSets

o  DatabaseMetaData

o  The DriverManager Class

o  Types of JDBC Driver

o  Review Questions

Streams

o  What Is a Stream?

o  InputStream, OutputStream, Reader and Writer

o  Files

o  Stream Classes of java.io.*

o  Review Questions

    o  Transient Key Word

Advanced I/O - Object Serialization

o  What is Serialization?

o  Serializable Objects

o  Writing an Object

o  Reading an Object

o  Handling Exceptions

o  Review Questions

Networking with Sockets

o  Clients and Servers

o  Ports, Addresses and Protocols

o  The Socket Class

o  Communication Using I/O

o  Servers

o  The ServerSocket Class

o  Concurrent Servers

o  Review Questions

JAR Files

o  The Jar Utility

o  Manifest Files

o  Signed JARs

o  Review Questions

JavaBeans

o  The Basic Bean

o  Bean Properties

o  Bound Properties

o  Constrained Properties

o  Visual Beans

o  Packaging Beans

o  Review Questions 

Collection

o   The Collection API.

o   HashSet and TreeSet.

o   ArrayList ,LinkedList and Vector .

o   HashMap, Hashtable and TreeMap.

o   Enumeration ,Iterator and entrySet.

o   Autoboxing and Unboxing.

o  Enhanced For.

Prerequisities :

Recommended Knowledge :

Trainees should have a good knowledge of Java programming language fundamentals and basic knowledge of Standard Query Language (SQL) before taking this course.

Recommended Course(s) :

Category :

  • Programming

Labs :

This course includes several labs to ensure you will gain the targeted skills and experience.

Credential :

This Course is a credit towards Sun Certified Java Programmer (SCJP)

Related Courses