Email Us   Phone : 503-259-0312   
  Home    |    Instructor-led Training    |    Online Training     


Contact Us   -   Why Choose Wintrac   -   Clients    

Courses
ADA
Adobe
Agile
AJAX
Android
Apache
AutoCAD
Big Data
BlockChain
Business Analysis
Business Intelligence
Business Objects
Business Skills
C/C++/Go programming
Cisco
Citrix
Cloud Computing
COBOL
Cognos
ColdFusion
COM/COM+
CompTIA
CORBA
CRM
Crystal Reports
Data Science
Datawarehousing
DB2
Desktop Application Software
DevOps
DNS
Embedded Systems
Google Web Toolkit (GWT)
IPhone
ITIL
Java
JBoss
LDAP
Leadership Development
Lotus
Machine learning/AI
Macintosh
Mainframe programming
Microsoft technologies
Mobile
MultiMedia and design
.NET
NetApp
Networking
New Manager Development
Object oriented analysis and design
OpenVMS
Oracle
Oracle VM
Perl
PHP
PostgreSQL
PowerBuilder
Professional Soft Skills Workshops
Project Management
Rational
Ruby
Sales Performance
SAP
SAS
Security
SharePoint
SOA
Software quality and tools
SQL Server
Sybase
Symantec
Telecommunications
Teradata
Tivoli
Tomcat
Unix/Linux/Solaris/AIX/
HP-UX
Unisys Mainframe
Visual Basic
Visual Foxpro
VMware
Web Development
WebLogic
WebSphere
Websphere MQ (MQSeries)
Windows programming
XML
XML Web Services
Other
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*

 
About us
Contact us
Careers at Wintrac
Our Clients
Why Wintrac


Register for a free training CD-ROM drawing
Refer a client or instructor and earn $$$


Wintrac Inc.
16523 SW McGwire Ct.
Beaverton OR 97007
 
© Wintrac, Inc. All rights reserved.                                                                               Site Map   |   Terms of Use   |   Privacy Policy
Copyright © SB