ATI's Java Programming Course
Summary
Java is a complete programming language, which can be used to write applets that enhance existing HTML pages, or embedded Web based applications. Through lecture and hands-on labs, this course introduces students to all aspects of this high level language. Topics are presented at an intermediate level.
PREREQUISITES: Students should have programmed in a t least one
programming language - preferably C or C++. Some familiarity with Object
Oriented Programming is desired but not required.
WHO SHOULD ATTEND? This course is designed for applications
programmers and designers planning to develop applications running in Java
enabled Browsers or as standalone executables
COURSE DESCRIPTION: Java is a complete programming language which can
be used to write applets that enhance existing Web pages, or embedded Web based
applications. Through lecture and hands on labs, this course introduces students
to all aspects of this high level programming langugage.
BENEFITS OF ATTENDANCE: Upon completion of this course, students will
be able to:
- Compile and run a Java application
- Understand the role of the Java Virtual Machine in achieving platform
independence
- Navigate through the API docs
- Use the Object Oriented paradigm in Java programs
- Understand the division of classes into Java packages
- Use Exceptions to handle run time errors
- Select the proper I/O class among those provided by the JDK
- Use threads in order to create more efficient Java programs
- Create Java applets and run them either through a Java enabled browser or
the appletviewer
- Develop Graphical User Interfaces
- Use combinations of Layout Managers in developing complex graphical
interfaces
- Understand the Java Event Model and thus be able to write programs which
process data via a Graphical User Interface
- Be able to write simple Network programs using TCP/IP
- Write programs using both Swing and AWT components
Course Outline
Chapter 1: INTRODUCTION
- What is Java
- History
- The Java Virtual Machine
- Simple Java Programs
Chapter 2: LANGUAGE COMPONENTS
- Primitive Data Types
- Unicode
- Documentation
- Arrays
- if
- else if
- for
- while
- switch
- break
- continue
- Multi-Dimensional Arrays
- Strings
- StringBuffer
- Operator
- Methods
- Argument Passing - Primitives
- Argument Passing - Arrays
Chapter 3: OBJECT ORIENTED PROGRAMMING
- Defining New Data Types
- Constructors
- this
- Data Hiding
- Public and Private Members
- Defining New Data Types revisited
- Sending an Object to a Function
- Composition
- toString
- Inheritance
- Protected Members
- Polymorphism
- The Object Class
- Abstract classes
- Interfaces
- Class Members
- Inner Classes
Chapter 4: JAVA PROGRAM STRUCTURE
- Downloading the JDK and the API Doc
- Packages
- Importing packages
- Java Standard Libraries
- java.lang
- java.lang.Number
- java.lang.String
- java.lang.Math
- java.lang.System
- java.util
- java.util.Vector
- java.util.Stack
- java.util.Date
- java.util.BitSet
- java.util.Hashtable
- java.util.Enumeration (interface
-
- java.util.Properties
- Other packages
Chapter 5: EXCEPTIONS
- Introduction
- An Example of Exception Handling
- Inheritance and Exceptions
- Exception Methods
- Developing Your Own Exception classes
- The finally clause
Chapter 6: I/O IN JAVA
- Introduction
- The File Class
- Listing Files in a directory
- I/O Classes
- InputStreams
- File Streams
- Data Streams
- Line Input
- Print Streams
- Buffered Streams
- Random Access Files
- Reading and Writing Objects
- Readers and Writer Classes
- File Reader/Writer
- String Reader/Writer
- Tokenizer Classes
- PrintWriter
- Deprecated Methods
Chapter 7: THREADS
- Threads vs Processes
- Thread Creation by Implementing Runnable
- Creating Threads by subclassing
- Advantages of using Threads
- Thread States
- Using join()
- Synchronization
- wait()and notify()
Chapter 8: APPLETS
- Introduction
- Applet Behavior
- Applets vs. Applications
- Life Cycle of an Applet
- Applet Tags
- Reading Parameters
- Displaying Images
- Applet Information
- Applets and Threads
- A Threaded Applet with wait() and notify()
- Distinguishing Threads
- Multiple Applets on the same Web Page
Chapter 9: GRAPHICS
- Introduction
- The Graphics Coordinate System
- Lines, Rectangles, and Ovals
- Polygons
- Text and Fonts
- Images
Chapter 10: LAYOUT MANAGERS
- Introduction
- Layout Managers
- FlowLayout Manager
- Managing Your Own Layout
- BorderLayout Manager
- GridLayout Manager
- Combining Layout Managers
- CardLayout Manager
- Summary of Layout Managers
Chapter 11: COMPONENTS
- Introduction
- The AWT Hierarchy
- Graphics context
- Buttons
- Labels
- Text Fields
- Text Areas
- Panels
- Canvases
- Checkboxes
- Choices
- Lists
- Scrollbars
- Menus
Chapter 12: EVENT HANDLING
- Introduction
- The Java 1.1 Event Model
- The Event Hierarchy
- Event Classes
- Listener Interfaces
- Button Events
- Text Events
- Focus Events
- Item Events (CheckBox, Choice, and List
-
- Key Events
- Mouse Events
- Window Events
- Scrollbar Events
- Other Events
- Event Handling Styles
Chapter 13: THE SWING COMPONENTS
- Introduction to Swing
- Model View Controller Architecture
- JFrame
- JApplet
- JButton
- JLabel
- JTextField
- JTextArea
- JScrollBar, JScrollable, JScrollPane, JViewPort
- JList
- JMenuBar, JMenu, JMenuItem
- Pluggable Look-and-Feel
Chapter 14: NETWORK PROGRAMMING IN JAVA
- Networking Fundamentals
- The Client/Server Model
- Internet Addresses
- URLs
- Sockets
- Sample Client Programs
- Writing Servers
Appendix A: JAVA Tools
- javadoc
- javah
- javap
- jar
Appendix B: Sample Programs
- User Interaction
- Scribble
- Printing
- Locales
- Dialogs
Return to
ATI's Schedule
Return to ATI
Homepage
ATICourses - Applied Technology Institute Training
Seminars ·
349 Berkshire Drive Riva, Maryland 21140-1433
Phone:
410-956-8805 or toll free 1-888-501-2100; Fax 410-531-1013
E-mail: ati@ATIcourses.com
Copyright 1999-2007
ATI - Applied Technology Institute Training Seminars - All Rights reserved