Home    |    Instructor-led Training    |    Self-Paced Learning    |    Online Training          Email Us   Phone :
Contact Us   -   About Us   -   Clients    
Loading
Courses
A+
ADA
Adobe
AJAX
Android
Apache
AutoCAD
Business Analysis
Business Objects
Business Skills and Technology
C++ programming
Cisco
Citrix
Cloud Computing
COBOL
Cognos
ColdFusion
COM/COM+
CORBA
Corel
Crystal Reports
Datawarehousing
DB2
Desktop Application Software
DNS
Embedded Systems
Google Web Toolkit (GWT)
IPhone
ITIL
Java
JBoss
LDAP
Leadership Development
Legato
Lotus
Macintosh
Mainframe programming
Microsoft technologies
MS Access
MultiMedia and design
.NET
Network+
New Manager Development
Object oriented analysis and design
OpenVMS
Oracle
Oracle VM
Perl
PHP
PowerBuilder
Professional Development
Professional Soft Skills Workshops
Project Management
Quality Center/Quick Test
Rational
Sales Performance
SAP
SAS
Security
SharePoint
SOA
Software Engineering
Software quality and testing
SQL Server
Sybase
Telecommunications
Tivoli
Tomcat
Unix/Linux/Solaris/AIX/
HP-UX
Visual Basic
Visual Foxpro
VMware
Web Development
WebLogic
WebSphere
Websphere MQ (MQSeries)
Windows programming
XML
XML Web Services
Java Thread Programming
Java Training Overview

Threads are commonly used in any non-trivial Java applications. This course is a 2-day class designed to cover all the thread facilities present in the Java JDK, discuss some common thread patterns and strategies to avoid race conditions and deadlocks. The course will illustrate the topics covered with extensive code examples and lab work.

Java Training Prerequisites

Familiarity with the basic Java language and a rudimentary understanding of threads is helpful. An introduction on threads is included to fill the knowledge gaps of those not completely familiar with the topic.

Java Training Course duration

2 Days

Java Training Learning Objectives

After successfully completing this course, you will be able to:

  • Introduce threads and justify their need
  • Illustrate some common situations where threads are helpful
  • Allow students to be comfortable with programming multi-threaded applications
  • Illustrate common thread patterns with code examples
  • Show the tradeoffs of different design choices
Java Training Course outline
  • Introduction to Java Threads
    • Threads are the Answer!
    • What's the Problem?
    • Concurrent Execution
    • Threads to the Rescue!
    • Thread Mechanics
    • Threads and Memory
    • Threads in Java
  • Thread Basics
    • A Non-Threaded App
    • The Thread Class
    • Using the Thread Class
    • Extend Thread
    • Write a Runnable Class
    • Which is Better?
    • Additional Thoughts
    • Thread Control
    • Pausing a Thread
    • Suspend / Resume
    • Stopping a Thread
    • The Current Thread
  • Thread States
    • The Life of a Thread
    • New Thread
    • Runnable State
    • Interrupting a Thread
    • Dead State
    • Testing Thread State
  • Thread Scheduling
    • Thread Priority
    • Thread Scheduling
    • A Scheduling Example
    • Thread Starvation
    • Starvation 1
    • Starvation 2
    • Time Slicing
  • Thread Safety I: Basics
    • Race Conditions
    • Synchronization
    • Synchronized Methods
    • Synchronized Blocks
    • Methods vs. Blocks?
    • Synchronization Tips
  • Thread Safety II: Advanced Techniques
    • Controlling Sequence
    • A Flawed Solution
    • Wait & Notify
    • wait( )
    • notify( ) & notifyAll( )
    • Deadlock Revisited
    • Deadlock Solutions
    • More Thread Safety Tips
  • Other Thread Features
    • Daemon Threads
    • Thread Groups
    • Why ThreadGroups?
    • Creating a ThreadGroup
    • Assigning Threads to Groups
    • Operating on A Group
    • Limiting Priorities
    • Destroying ThreadGroups
    • Listing Contents: Threads
    • Listing Contents: Groups
    • Thread Security
    • Enforcing Security
  • Controlling Threads
    • eprecated Methods
    • stop( )
    • suspend( ) / resume( )
Hardware/Software Requirements
  • Hardware Requirements
    • Intel-based PC Workstation
      • Windows 95, 98 or NT
      • Minimum 486 33Mhz Processor
      • Minimum of 32 MB memory
    OR
    • SUN Solaris/SPARC
      • Minimum of 32 MB memory
  • Software Requirements
    • Java 2 Standard Edition software and documentation*
    • Adobe Acrobat Reader*
    • Student files
    • Text editor*

Contact Information
WINTRAC INC. - the one stop shopping center for IT training.
16523 S.W. McGwire Ct. Beaverton OR -97007
Phone: (503) 259-0312
Fax: 707-598-2268
Email: sales@wintrac.com

Send mail to webmaster@wintrac.com with questions or comments about this web site.
Copyright © 2012 Wintrac Inc.
Copyright © SB