- Course Length:
- 5 Days
- Course Description:
- This course teaches students how to develop Java applications. Topics covered include the Java programming language syntax, OO programming using Java, exception handling, file input/output, threads, collection classes, and networking. Students will develop and test Java applications (typically) using Eclipse. This course is a pre-requisite to all Application Server courses, and speciality Java Technology courses such as Struts, Spring, and Hibernate.
- Who Should Attend:
- This course is designed for applications programmers and designers planning to develop applications using the Java Virtual Machine.
- 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.
- Prerequisites:
- Students should have taken the Software Development for Non-Programmers course or have programmed in at least one programming language - preferably C or C++. Some familiarity with Object Oriented Programming is desired but not required.
- Course Outline:
-
- Chapter 1: Introduction
- What is Java?
- History
- Versioning
- The Java Virtual Machine
- Writing a Java Program
- Packages
- Simple Java Programs
- Chapter 2: Language Components
- Primitive Data Types
- Comments
- The for Statement
- The if Statement
- The while and do while Statements
- The switch Statement
- The break Statement
- The continue Statement
- Operators
- Casts and Conversions
- Keywords
- Chapter 3: Object-Oriented Programming
- Defining New Data Types
- Constructors
- The String Class
- String Literals
- Documentation
- Packages
- The StringBuffer Class
- Naming Conventions
- The Date Class
- The import Statement
- Deprecation
- The StringTokenizer Class
- The DecimalFormat Class
- Chapter 4: Methods
- Introduction
- Method Signatures
- Arguments and Parameters
- Passing Objects to Methods
- Method Overloading
- Static Methods
- The Math Class
- The System Class
- Wrapper Classes
- Chapter 5: Arrays
- Introduction
- Processing Arrays
- Copying Arrays
- Passing Arrays to Methods
- Arrays of Objects
- The Arrays Class
- Command Line Arguments
- Multidimensional Arrays
- Chapter 6: Encapsulation
- Introduction
- Constructors
- The this Reference
- Data Hiding
- public and private Members
- Access Levels
- Composition
- Static Data Members
- Chapter 7: Inheritance & Polymorphism
- Introduction
- A Simple Example
- The Object Class
- Method Overriding
- Polymorphism
- Additional Inheritance Examples
- Other Inheritance Issues
- Chapter 8: Abstract Classes and Interfaces
- Introduction
- Abstract Classes
- Abstract Class Example
- Extending an Abstract Class
- Interfaces
- Chapter 9: Exceptions
- Introduction
- Exception Handling
- The Exception Hierarchy
- Checked Exceptions
- Advertising Exceptions with throws
- Developing Your Own Exception Classes
- The finally Block
- Chapter 10: Input and Output in Java
- Introduction
- The File Class
- Standard Streams
- Keyboard Input
- File I/O Using Byte Streams
- Character Streams
- File I/O Using Character Streams
- Buffered Streams
- File I/O Using a Buffered Stream
- Keyboard Input Using a Buffered Stream
- Writing Text Files
- Chapter 11: Threads
- Threads vs. Processes
- Creating Threads by Extending Thread
- Creating Threads by Implementing Runnable
- Advantages of Using Threads
- Daemon Threads
- Thread States
- Thread Problems
- Synchronization
- Chapter 12: Collections
- Introduction
- Vectors
- Hashtables
- Enumerations
- Properties
- Collection Framework Hierarchy
- Lists
- Sets
- Maps
- The Collections Class
- Chapter 13: Networking
- Networking Fundamentals
- The Client/Server Model
- InetAddress
- URLs
- Sockets
- A Time-of-Day Client
- Writing Servers
- Client/Server Example
- Chapter 1: Introduction













