800-413-0939

Java Packages Training

Effectively Using Java Packages And Features

Duration: 5 Days | Price: $2595 *California residents call for pricing. | Class Dates:

Click here for information regarding remote access training.

Students Will Learn:

  • Using Reflection and Introspection with Java Classes (java.lang.reflect package)
  • Writing Type Safe and Reliable Code with the Enhanced Capabilities of Java 5
  • Using the Java Collections Framework (java.util package)
  • Processing Databases Using JDBC (java.sql package)
  • Creating, Controlling, and Synchronizing Threads
  • Creating and Using Inner and Nested Classes
  • Using Networking Related Classes (java.net package)
  • Creating Client/Server Programs

Course Description: This intermediate level course is intended for programmers who already have a fundamental understanding of Java programming and some experience writing code. It provides additional insights and details regarding some of the more advanced and useful capabilities contained in the Java programming language and its associated packages. Topics include reflection and JavaBeans, Java 5 type safety enhancements, the Java Collections Framework, Java Database Connectivity (JDBC), multithreading, inner classes, and networking.

Course Prerequisites: Familiarity with and experience using Java. Completion of either the Learning to Program with Java, Java for COBOL Programmers, or Java Programming course, or equivalent Java programming experience.

Effectively Using Java Packages And Features Course Overview:

JavaBeans, Reflection, and Introspection
  • JavaBean Requirements
  • Determining Type of an Object
  • Reflection Overview and Uses
  • Reflection Issues
  • Reflection Using Class Object
  • Invoking Methods Using Reflection
  • Methods Available on the Class Object
  • Creating A New Instance
  • Introspection
  • Customizing BeanInfo
  • Invoking Methods Using Introspection
  • Using Reflection to Access Properties
  • Review of Equals Method
Type Safety and Java 5 Enhancements
  • Annotations
    • Standard Annotations
    • User Defined Annotations
    • Reflection Annotation Information
  • Enum Data Type
  • Generics
  • Autoboxing
  • Methods Having Variable Parameters
  • Assertions
Collections Framework
  • What is the Collections Framework
  • Simple Arrays and Arrays of Objects
  • Legacy Container Classes
  • Collections Framework Overview
  • Collections Interfaces
    • Lists
    • Sets
    • Queues
  • Map Interfaces
  • Interface Implementations
    • Lists
    • Sets
    • Queues
    • Maps
  • Iterators
JDBC
  • What is JDBC
  • JDBC Drivers
  • Accessing the Database
    • Loading Driver
    • Connecting to Data Source
    • Creating Statements
    • Executing Statements
  • Processing Result Sets
    • Cursor Positioning
    • Column Retrieval
    • Updating Result Sets
  • Connection Pooling
  • Processing Errors and Warnings
  • Using Prepared Statements
  • Using Stored Procedures
  • Metadata
    • Result Set Metadata
    • Database Metadata
  • Transaction Processing
  • Isolation Levels
  • SQL Batches
Threads
  • Definition of Thread
  • Creating Threads
  • Naming Threads
  • Data Sharing Among Threads
    • Local Data
    • Instance Data
    • Class Data
    • Volatile Keyword
  • Thread States
  • Thread Priority
    • Minimum. Maximum, Normal Priorities
    • Preemptive Thread Priority
    • setPriority Method
    • getPriority Method
  • Piping Data Between Threads
  • Coordination and Controlling Threads
  • Synchronizing Threads
    • Why Synchronization is Needed
    • Producer/Consumer Example
    • Synchronized Keyword
    • Thread Synchronization Methods
Networking
  • Overview of java.net Package
  • Format of URL
  • URL Class
  • URLConnection Class
  • InetAddress Class
  • Definitions
    • Client
    • Server
    • Port
    • Socket
  • Socket Class
    • Writing Client Side Applications
    • Read From Socket
    • Write to Socket
  • ServerSocket Class
    • Writing Server Side Applications
    • Daemon Servers
    • Thread Servers
Inner and Nested Classes
  • What Are Inner Classes
    • Benefits of Inner Classes
    • Terminology
    • Restrictions
    • Syntax
  • Types of Inner Classes
    • Member Inner Class
    • Local Inner Class
    • Anonymous Inner Class
    • Nested Top Level Class
 

Student Testimonials

"Instructor very knowledgeable. A lot of material covered in a short time, but this was exactly the depth/breadth of subject coverage I wanted. Worth the week/trip."
– F.B., Alcatel

Multiple Training Locations - Convenience and Cost Control

Regularly Scheduled Courses in more than 75 Cities Across North America and the United Kingdom