J2EE: Introduction to Java: Level 1
- 1.0 INTRODUCTION TO DATABASES
- 1.1 Introduction to Databases
- 1.2 What is an RDBMS?
- 1.3 Why are RDBMSs Used?
- 1.4 RDBMS Choices
- 1.5 Structure of a Relational Database
- 1.6 Tables
- 1.7 Related Data
- 1.8 Structured Query Language
- 1.9 SQL Language Types
- 1.10 Proprietary SQLs
- 1.11 IDEs with Database Support
- 1.12 RDBMSs and Java
- 2.0 GETTING STARTED IN JAVA
- 2.1 Java Development Platforms
- 2.2 System Requirements
- 2.3 Obtaining the SDK
- 2.4 Installing the SDK
- 2.5 SDK Directory Structure
- 2.6 Development Environment
- 2.7 The Compiler and Interpreter
- 2.8 Program Requirements
- 2.9 Common Problems
- 3.0 BLUE JAY TUTORIAL
- 3.1 What is BlueJ?
- 3.2 Obtaining BlueJ
- 3.3 Installing BlueJ
- 3.4 Using BlueJ
- 3.5 Compiling a Class With Errors
- 3.6 Configuring BlueJ
- 3.7 Java Documentation
J2EE: Introduction to Java: Level 2
- 1.0 JAVA FUNDEMENTALS
- 1.1 Styles
- 1.2 Comments
- 1.3 Identifiers
- 1.4 Reserved Keywords
- 1.5 Separators
- 1.6 Literals
- 1.7 Escape Sequences
- 2.0 VARIABLES OC SI
- 2.1 What is a Variable?
- 2.2 What is a Data Type?
- 2.3 Declaring Variables
- 2.4 Initializing Variables
- 2.5 Accessing Variables
- 2.6 Constants
- 2.7 Automatic Conversion
- 2.8 Explicit Conversion
- 3.0 OPERATORS
- 3.1 What are Operators?
- 3.2 Arithmatic Operators
- 3.3 Comparison Operators
- 3.4 Assignment Operators
- 3.5 Conditional Operators
- 3.6 Bitwise Operators
- 3.7 Bit Manipulations
- 3.8 Boolean Operators
- 3.9 Operator Precedence
- 4.0 CONTROL STATEMENTS
- 4.1 The IF Statement
- 4.2 Code Blocks
- 4.3 Variable Scope
- 4.4 The ELSE Statement
- 4.5 The ELSE IF Statement
- 4.6 Conditional Operators
- 4.7 The SWITCH Statement
- 4.8 The WHILE Statement
- 4.9 The BREAK Statement
- 4.10 The CONTINUE Statement
- 4.11 The DO Statement
- 4.12 The FOR Statement
- 5.0 METHODS OC SI
- 5.1 What are Methods
- 5.2 Method Header
- 5.3 Method Body
- 5.4 Calling Methods
- 5.5 Return Values
- 5.6 Method Arguments
- 5.7 Passing Arguments
- 5.8 Overloading Methods
J2EE: Introduction to Java: Level 3
- 1.0 OVERVIEW OF OBJECT ORIENTED PROGRAMMING
- 1.1 What is OOP?
- 1.2 OOP vs. Procedural
- 1.3 What is a Class?
- 1.4 Inheritance
- 1.5 Relationships
- 1.6 What is an Object?
- 1.7 Development Cycle
- 1.8 Analyzing a Card Game
- 1.9 Class Examples
- 1.10 Using GUI Classes
- 2.0 BUILDING CLASSES
- 2.1 Class Template
- 2.2 Defining Fields
- 2.3 Automatic Initialization
- 2.4 Object References
- 2.5 Instantiating Classes
- 2.6 Using Object References
- 2.7 The . {Dot) Operator
- 2.8 Accessing Fields
- 2.9 Defining Methods
- 2.10 Calling Methods
- 3.0 WORKING WITH CLASSES
- 3.1 Data Encapsulation
- 3.2 Access Control
- 3.3 The THIS Keyword
- 3.4 Constructors
- 3.5 Using Constructors
- 3.6 Why Use Constructors
- 3.7 Chaining Constructors
- 3.8 Class Variables
- 3.9 Accessing Class Variables
- 3.10 Class Methods
- 3.11 Initialization Blocks
- 3.12 Passing and Returning Objects
- 3.13 Garbage Collection
- 3.14 Finalize Method
- 3.15 Object Life Cycle
- 4.0 PACKAGING CLASSES
- 4.1 Packages
- 4.2 Creaing Packages
- 4.3 Directory Structure
- 4.4 Package Access
- 4.5 Compiling with Packages
- 4.6 Executing Classes and Packages
- 4.7 Using Classes and Packages
- 4.8 Importing Classes
- 4.9 Java Archives
- 4.10 The Jar Utility
- 4.11 Creating a Java Archive File
- 4.12 Creating an Executable Java Archive File
- 4.13 Manifest.mf
- 4.14 Executing a Java Archive File
- 4.15 Viewing and Extracting Java ArchiVe Files
- 4.16 Managing Packages with BlueJ
J2EE: Introduction to Java: Level 4
- 1.0 WORKING WITH STRINGS
- 1.1 Overview of Strings
- 1.2 Creating Strings
- 1.3 Using Escape Characters
- 1.4 String Concatenation
- 1.5 String Length
- 1.6 Case Toggling
- 1.7 String Comparison
- 1.8 Sorting Strings
- 1.9 String Extraction
- 1.10 Searching Strings
- 1.11 Modifying Strings
- 1.12 StringBuffer Class
- 2.0 FORMATTING STRINGS & NUMBERS
- 2.1 Formatting Strings in Java
- 2.2 Using a Formatter
- 2.3 Formatting a Number
- 2.4 Customizing a Number Formatter
- 2.5 Eliminating Commas
- 2.6 Right Alignment
- 2.7 Left Alignment
- 2.8 Rounding
- 2.9 Formatting Currencies
- 2.10 Formatting Percentages
- 3.0 ARRAYS
- 3.1 What is an Array?
- 3.2 Creating an Array Variable
- 3.3 Creating an Array
- 3.4 Default Values
- 3.5 Accessing Array Elements
- 3.6 Inserting Values
- 3.7 Array Length
- 3.8 Multi-Dimensional Arrays
- 3.9 Creating a Multi-dimensional Array
- 3.10 Multi-dimensional Array View
- 3.11 Multi-dimensional Array Length
- 3.12 Accessing Array Elements
- 4.0 USING VECTORS OC SI
- 4.1 Overview of Vectors
- 4.2 Vector Constructor
- 4.3 Adding Elements
- 4.4 Inserting Elements
- 4.5 Changing an Element
- 4.6 Obtaining Capacity and Size
- 4.7 Ensuring the Capacity
- 4.8 Setting the Size
- 4.9 Retrieving Objects
- 4.10 Removing Elements
- 4.11 Searching in a Vector
- 5.0 DOCUMENTING YOUR CODE
- 5.1 Documentation Comments
- 5.2 Standard Documentation
- 5.3 Documentation Example
- 5.4 Generating Documentation
J2EE: Java GUI Programming: Level 1
- 1.0 Introduction to GUI Programming
- 1.1 What is a GUI?
- 1.2 OC History of GUI
- 1.3 OC What is AWT?
- 1.4 OC What is Swing?
- 1.5 OC AWT and Swing Differences
- 1.6 OC GUI Fundamentals
- 1.7 OC What is a Component?
- 1.8 OC What is a Container?
- 1.9 OC Heavyweight vs. Lightweight
- 1.10 OC Model View Controller
- 1.11 OC Layout Management
- 1.12 OC Containers
- 1.13 OC AWT Components
- 1.14 OC Swing Components
- 2.0 Getting Started with AWT
- 2.1 Creating a GUI
- 2.2 OC What is a Frame?
- 2.3 OC The Frame Class
- 2.4 OC Frame Examples
- 2.5 OC The Label Class
- 2.6 OC Adding Components
- 2.7 OC Label Example
- 2.8 OC Te Button Class
- 2.9 OC Button Example
- 2.10 OC The Text Field Class
- 2.11 OC Text Field Example
- 3.0 Getting Started With Swing
- 3.1 The J Frame Class
- 3.2 OC Frame Example
- 3.3 OC Closing Frames
- 3.4 OC The J Label Class
- 3.5 OC Window Panes
- 3.6 OC Adding Components
- 3.7 OC Label Example
- 3.8 OC Marking Up Labels
- 3.9 OC J Button Class
- 3.10 OC The J Textfield Class
- 3.11 OC Pluggable Look and Feels
J2EE: Java GUI Programming: Level 2
- 1.0 Layout Management
- 1.1 Managing the Layout
- 1.2 OC Layout Managers
- 1.3 OC Swing Layout Managers
- 1.4 OC Setting a Layout Manager
- 1.5 OC Flow Layout Manager
- 1.6 OC Border Layout Manager
- 1.7 OC Grid Layout Manager
- 1.8 OC Grid Bag Layout Manager
- 1.9 OC Box Layout Manager
- 1.10 OC Component Spacing
- 1.11 OC Managing Extra Space
- 1.12 OC Sectioning Frames
- 1.13 OC Card Layout Manager
- 1.14 OC J Scroll Pane Class
- 1.15 OC The J Tabbed Pane Class
- 1.16 Using Borders
- 1.17 OC Example Tittle Borders
- 2.0 OC Event Handeling
- 2.1 Introduction to Events
- 2.2 OC Event Delegation Model
- 2.3 OC Event Handler Example
- 2.4 OC Register an Event Handler
- 2.5 OC Low Level Event Classes
- 2.6 OC Swing Event Classes
- 2.7 OC Event Listener Interfaces
- 2.8 OC Adapter Classes
- 2.9 OC Listener Register Methods
- 2.10 OC Common Event Methods
- 2.11 OC Components
- 2.12 OC Even Handeling Example Using Inner Classes
- 2.13 OC Creating a Custom Event Class
J2EE: Java GUI Programming: Level 3
- 1.0 Text Components
- 1.1 The J Component Class
- 1.2 OC Password Fields
- 1.3 OC Text Areas
- 1.4 OC J Text Area Example
- 1.5 OC Working With Editor Panes
- 1.6 OC J Editor Pane Example
- 1.7 OC The J Text Pane Class
- 2.0 General Components
- 2.1 Check Boxes
- 2.2 OC Radio Buttons
- 2.3 OC Combo Boxes
- 2.4 OC Selection Lists
- 2.5 OC Tool Bars
- 2.6 OC Tool Tips
- 2.7 OC Slider Bars
- 2.8 OC Progress Indicators
- 2.9 OC Menus 4 takes
- 3.0 OC Tables
- 3.1 Working With Tables
- 3.2 OC The J Table Class
- 3.3 OC Creating a Basic Table
- 3.4 OC Column Widths
- 3.5 OC User Selections
- 3.6 OC User Interaction
- 3.7 OC Retrieving Selected Data
- 3.8 OC Selection Editors
J2EE: Java GUI Programming: Level 4
- 1.0 Growing Trees
- 1.1 Visual Tree Elements
- 1.2 Tree Classes and Interfaces
- 1.3 Building a Tree
- 1.4 Connection Lines
- 1.5 Scrolling Trees
- 1.6 Selection Modes
- 1.7 Selection Events
- 1.8 Sell Editors
- 1.9 Custom Sell Editors
- 2.0 Dialogs and Pop- Ups
- 2.1 What is a Dialog?
- 2.2 Dialog Classes
- 2.3 Factory Dialogs
- 2.4 J File Chooser Class
- 2.5 Pop-Up Menu
- 3.0 Graphical Programming
- 3.1 Coordinates
- 3.2 Painting
- 3.3 The Graphics Class
- 3.4 The Color Class
- 3.5 The Font Class
- 3.6 Drawing
- 3.7 Working With Images
- 4.0 Writing Applets
- 4.1 What is an Applet?
- 4.2 Applet Methods
- 4.3 Applet Life Cycle
- 4.4 A Basic Applet
- 4.5 Embedding Applets
- 4.6 Passing Parameters to Applets
- 4.7 Using Components
- 4.8 Application to Applet
- 4.9 The Applet Viwer Utility
J2EE: Java JDBC & Servlets: Level 1
- 1.0 INTRODUCTION TO DATABASES
- 1.1 Introduction to Databases
- 1.2 What is an RDBMS?
- 1.3 Why are RDBMSs Used?
- 1.4 RDBMS Choices
- 1.5 Structure of a Relational Database
- 1.6 Tables
- 1.7 Related Data
- 1.8 Structured Query Language
- 1.9 SQL Language Types
- 1.10 Proprietary SQLs
- 1.11 IDEs with Database Support
- 1.12 RDBMSs and Java
- 2.0 LEARNING SQL
- 2.1 About MySQL?
- 2.2 Installing and Running MySQL
- 2.3 MySQL Syntax
- 2.4 Database Structure
- 2.5 Creating and Droping Databases
- 2.6 Accessing a Database
- 2.7 Creating Tables
- 2.8 Common SQL Data Types
- 2.9 Column Attributes
- 2.10 Obtaining Database Information
- 2.11 Altering Table Structure
- 2.12 Saving Data
- 2.13 Dropping Tables
- 2.14 Inserting Data into Tables
- 2.15 Queries
- 2.16 SQL Operators
- 2.17 Ordering Data
- 2.18 Limiting Results
- 2.19 Query Summary
- 2.20 Updating Data
- 2.21 Selecting Data from Multiple Tables
- 2.22 Deleting Data
J2EE: Java JDBC & Servlets: Level 2
- 1.0 JDBC FUNDAMENTALS
- 1.1 What is JDBC?
- 1.2 Multi-tier Models
- 1.3 JDBC Drivers and URLs
- 1.4 Classes and Interfaces
- 1.5 Java to SQL Data Type Mapping
- 1.6 JDBC Environment
- 1.7 Statements and Results
- 1.8 Installing and Loading the JDBC Driver
- 1.9 Making the Connection
- 1.10 Creating a Statement
- 1.11 Executing a Query
- 1.12 Freeing Resources
- 1.13 Debugging
- 1.14 Working with Result Sets
- 1.15 Updating a Database
- 2.0 ADVANCED JDBC
- 2.1 Handling Exceptions
- 2.2 Working with Dates
- 2.3 Inserting and Retrieving Dates
- 2.4 Performing Table Joins
- 2.5 Prepared Statements
- 2.6 Transactions
- 2.7 Stored Procedures
- 2.8 Scrollable Result Sets
- 2.9 Updatable Result Sets
- 2.10 Updatable Result Set Interaction
- 2.11 Database Meta Data
- 2.12 Result Set Meta Data
J2EE: Java JDBC & Servlets: Level 3
- 1.0 INTRODUCTION TO HTML
- 1.1 What is a Markup Language?
- 1.2 How Does the Web Work?
- 1.3 Documentation
- 1.4 HTML Components
- 1.5 HTML Colors
- 1.6 Changing the Background Color
- 1.7 Adding Text and Structure
- 1.8 Fonts
- 1.9 Comments
- 1.10 Character Entities
- 1.11 Working with Links
- 1.12 Lists
- 1.13 Tables
- 1.14 Forms
J2EE: Java JDBC & Servlets: Level 4
- 1.0 INTRODUCTION TO SERVLETS
- 1.1 What are Servlets?
- 1.2 The CGI Model
- 1.3 The Servlet Model
- 1.4 How are Servlets Efficient?
- 1.5 Servlet Containers
- 1.6 Support from IDEs
- 1.7 Request / Response Model
- 1.8 HTTP GET and POST Methods
- 1.9 Servlet Context
- 1.10 Servlet Packages
- 1.11 Servlet Containers
- 1.12 Creating a Servlet Context
- 1.13 HTTP Servlet Rules
- 1.14 A Basic Servlet
- 1.15 Accessing Servlets
- 2.0 WORKING WITH SERVLETS
- 2.1 HTTP Response Codes
- 2.2 Form Processing
- 2.3 Saving State
- 2.4 Cookies
- 2.5 Session Management
- 2.6 Sending Data
- 2.7 Writing to the Log
J2EE: Java Advanced Programming: Level 1
- 1.0 Inheritance Fundamentals
- 1.1 What is Inheritance?
- 1.2 Why Use Inheritance?
- 1.3 Inheritance Rules
- 1.4 Inheritance Examples
- 1.5 Extending a Class
- 1.6 Defining Subeat:s Constructors
- 1.7 Constructor Call Chain
- 1.8 Calling Parent Constructors
- 1.9 Passing Values to Parent Constructors
- 1.10 Overriding Methods
- 1.11 The Object Class
- 1.12 The to String Method
- 2.0 Advanced Inheritance
- 2.1 Preventing Inheritance
- 2.2 Abstract Classes
- 2.3 Defining an Abstract Class
- 2.4 The Instance of Operator
- 2.5 Casting Objects
- 2.6 Casting Upwards
- 2.7 Casting Downwards
- 2.8 Polymorphism
- 2.9 Dynamic Method Dispatch
- 2.10 Using Dynamic Method Dispatch
- 2.11 Comparing Objects
- 3.0 Interfaces & Inner Classes
- 3.1 What is an Interface?
- 3.2 Defining an Interface
- 3.3 Implementing an Interface
- 3.4 Interface References
- 3.5 The Enumeration Interface
- 3.6 Cloning Objects
- 3.7 Example Clone Method
- 3.8 Inner Classes
- 3.9 Inner Class Scope
- 3.10 Inner Class Examples
- 3.11 Anonymous Inner Classes
J2EE: Java Advanced Programming: Level 2
- 1.0 Exception Handling
- 1.1 Overview of Exception Handling
- 1.2 Types of Exceptions
- 1.3 The Try/Catch Model
- 1.4 Why Throw an Exception?
- 1.5 Throwing Exceptions
- 1.6 Why Catch an Exception?
- 1.7 Exception Class Hierarchy
- 1.8 Problematic Code
- 1.9 The Catch All
- 1.10 Examining Exceptions
- 1.11 Re-trying Problematic Code
- 1.12 Specifying Possible Exceptions
- 1.13 Throwing an Exception
- 1.14 Exception Handling Example
- 1.15 Custom Exceptions
- 1.16 Cleaning Up
- 2.0 Introduction to java I/O
- 2.1 Overview of Input & Output
- 2.2 Data Sinks
- 2.3 Streams
- 2.4 Data & Character Streams
- 2.5 Sink Classes
- 2.6 Filter Classes
- 2.7 I/O Exception Class Hierarchy
- 2.8 Handling I/O Exceptions
- 2.9 The Abstract Input Stream Class
- 2.10 The Abstract Output Stream Class
- 2.11 Standard Input Example
- 2.12 Stacking Streams
- 2.13 Filtering Standard Input
- 3.0 Working with Files
- 3.1 The File Class
- 3.2 File Class Examples
- 3.3 Directory Listing Example
- 3.4 Filtered Directory Listings
- 3.5 File Writer Example
- 3.6 File Reader Example
- 3.7 Simple File Input Example
- 3.8 Line Number Reader Example
- 3.9 Random Access Files
- 3.10 Random Access File Class
- 3.11 Random Access Example
- 4.0 Advanced Java I/O
- 4.1 Overview of Object Serialization
- 4.2 Writing Objects to a File
- 4.3 Reading Objects from a File
- 4.4 Working with Zip Files
- 4.5 Zip File Structure
- 4.6 Zip Entry Structure
- 4.7 Extracting Files
- 4.8 Extracting Files Example
- 4.9 Compressing Files
- 4.10 Compressing Files Example
J2EE: Java Advanced Programming: Level 3
- 1.0 Java Classes
- 1.1 Overview of Wrapper Classes
- 1.2 Wrapper Classes
- 1.3 Boolean Class
- 1.4 The Byte Class
- 1.5 The Character Class
- 1.6 The Short Class
- 1.7 The Integer Class
- 1.8 The Long Class
- 1.9 The Float Class
- 1.10 The Double Class
- 1.11 The Big Decimal Class
- 1.12 The Big Integer Class
- 1.13 The Math Class
- 1.14 Working with Delimited Files
- 2.0 Java Dates
- 2.1 Overview of Dates
- 2.2 Date Formats
- 2.3 The Date Class
- 2.4 The Date Example
- 2.5 Gregorian Calendar Class
- 2.6 Gregorian Calendar Examples
- 2.7 Comparing Calendars
- 2.8 The Date Format Class
- 2.9 Formatting Dates
- 2.10 Formatting International Dates
- 2.11 Parsing Dates
- 3.0 Storage Collections
- 3.1 Collections Framework
- 3.2 Types of Collections
- 3.3 Data Examples
- 3.4 Set Collection Classes
- 3.5 List Collection Classes
- 3.6 Map Collection Classes
- 3.7 Collection Interfaces
- 3.8 The Collection Interface
- 3.9 The List Interface
- 3.10 The Map Interface
- 3.11 The Collections Class
- 3.12 Sorting Vectors
- 3.13 Working with Stacks
- 3.14 Linked Lists
- 3.15 Working with Maps
- 4.0 Multi-Threading
- 4.1 Overview of Threads
- 4.2 Why Use Threads?
- 4.3 Thread Example
- 4.4 Threat Lifecycle
- 4.5 Creating Threads
- 4.6 Extending the Thread Class
- 4.7 Spawning Threads
- 4.8 Using the Runable Interface
- 4.9 Changing Priorities
- 4.10 Exclusive Data Locking
- 4.11 Synchronized Methods
- 4.12 Synchronized Blocks
- 4.13 Thread Communication
- 4.14 The Producer Consumer Model
J2EE: Java Advanced Programming: Level 4
- 1.0 Java Networking
- 1.1 Why Network?
- 1.2 Overview of Networking
- 1.3 Common Ports
- 1.4 Making a Connection
- 1.5 Networking Classes
- 1.6 The InetAddress Class
- 1.7 The URL Class
- 1.8 Overview of Sockets
- 1.9 Creating a Server
- 1.10 Server Example
- 1.11 Creating a Client
- 1.12 Client Example
- 1.13 Transferring Objects
- 1.14 Object Server Example
- 1.15 Object Client Example
- 2.0 Sending E-Mail with Java
- 2.1 Why E-Mail
- 2.2 Overview of JavaMail
- 2.3 Mail Protocols
- 2.4 JavaMail Architecture
- 2.5 Obtaining & Installing JavaMail
- 2.6 JavaBeans Activation Framework
- 2.7 Downloading & Installing JAF
- 2.8 Overview of Packages
- 2.9 Overview of Classes
- 2.10 Message Structure
- 2.11 Sending a Message
- 2.12 Sending Attachments
- 2.13 Listing Messages
- 2.14 Displaying Messages
- 2.15 Saving Attachments
- 3.0 Remote Java Objects
- 3.1 Remote Objects
- 3.2 Relationships
- 3.3 RMI Environment
- 3.4 Overview of Classes & Interfaces
- 3.5 Setting up RMI
- 3.6 Creating the Interface
- 3.7 Creating the Server Class
- 3.8 Example Server Class
- 3.9 Generating the Stub Object
- 3.10 Registry Server
- 3.11 Creating the Client Class
- 3.12 Example Client Class