| Course Number: | | J100 |
| Duration: | | 5 days |
| Standard Price: | | $11,000 for up to 10 students |
| Government Price: | | $9,900 for up to 10 students |
| Location: | | on-site |
Description
This intensive, hands-on course emphasizes becoming productive quickly as a
Java 2 programmer. Students learn how to use Java 2 to implement real-world
solutions, including both Web applets and server-side applications.
Outline
Getting Started
- Java Definition
- Getting Java
- First Java Program
- Compiling and Interpreting Applications
- Applets
- Compiling and Interpreting Applets
- JDK Directory Structure
Java 2 Language Fundamentals
- Java Program
- Conditional Statements
- Loop Statements
- Syntax Details
- Portable Data Types
- Expressions in Java
- Strings
- Arrays
Objects and Classes
- Defining a Class
- Creating an Object
- Instance Data and Class Data
- Methods
- Constructors
- Visibility Modifiers
- Methods and Messages
- Parameter Passing
- Comparing and Identifying Objects
- Destroying Objects
- Primitive-Type Wrappers
- Documenting Classes
Inheritance in Java
- Inheritance
- Casting
- Method Overriding
- super
- Interfaces
- Abstract Classes
- object
- Introspection
Packages
- Packages
- import Statement
- CLASSPATH and import
- Defining Packages
- Package Scope
Inner Classes
- Inner Classes
- Member Classes
- Local Classes
- Anonymous Classes
- Instance Initializers
- Inheritance vs. Containment
Exception Handling
- Exceptions Overview
- Catching Exceptions
- finally Block
- Exception Methods
- Declaring Exceptions
- Defining and Throwing Exceptions
- Errors and RuntimeExceptions
Getting Started with Swing
- AWT and Swing
- Displaying a Window
- GUI Programming in Java
- Handling Events
- Arranging Components
- Configuring Components
- Menus
- JFileChooser
- Heavyweight vs. Lightweight Components
Event Handling
- Event Delegation Model
- Implementing a Listener
- Semantic Events
- List Selection Events
- Event Objects
- Low-Level Events
- Popup Menu
- Adapters
Components
- Controlling Component Appearance
- Component Hierarchy
- Fonts
- Color
- Text Components
- Scrolled Components
- JTable
- MVC
Laying Out a Container
- Containment Hierarchy
- Layout Managers
- Top-Level Containers
- General Purpose Containers
- FlowLayout
- Box and BoxLayout
- CardLayout
- JTabbedPane
- GridLayout
- GridBagLayout and GridBagConstraints
- Non-Managed Containers
Specialized Components
- Compound Components
- Dialogs
- Extending Dialog
- Using JOptionPane
- Choosers
Input/Output Streams
- Overview of Streams
- Bytes vs. Characters
- PrintWriter
- Reading and Writing Objects
- Streams Streams Streams
Networking with Sockets
- Clients and Servers
- Ports, Addresses and Protocols
- Socket Class
- Communication Using I/O
- Servers
- ServerSocket Class
- Concurrent Servers
- URL Class
- URLConnection Class
Applets
- Loading Applets
- <APPLET> Tag
- GUI Applets
- HTML Parameters
- Browser Interaction
- Applet Methods
- Applet vs. Application
- Security
Introduction to Threads
- Non-Threaded Applications
- Threaded Applications
- Creating Threads
- Thread States
- Runnable Threads
- Coordinating Threads
- Runnable Interface
- Interrupting Threads
Who should attend
Programmers who need to design and develop Java applets and applications.
Prerequisites
Programming in a language such as C or C++. Knowledge of OO concepts recommended.