Creating Java Applications
Introduction to Java Applications, Using the javac command to compile Java applications, Using the java command to run Java applications, Displaying Text with printf, Variables and Introducing Arithmetic Operators, Equality and Relational Operators.
Using Classes and Objects
Classes, Objects, Methods and Instance Variables, Declaring Class and Methods, Instantiating an Object of a Class, Declaring a Method with a Parameter, Instance Variables, set Methods and get Methods, Primitive Types vs. Reference Types, Initializing Objects with Constructors, Floating-Point Numbers and Type double.
if Single-Selection Statement, ifelse Double-Selection Statement, while Repetition Statement, Counter-Controlled Repetition, Sentinel-Controlled Repetition, Nested Control Statements, Compound Assignment Operators, Increment and Decrement Operators, Primitive Types, Essentials of Counter-Controlled Repetition, for Repetition Statement, do Ö while Repetition Statement, switch Multiple-Selection Statement, break and continue Statements, Logical Operators.
Static Methods, static Fields and Class Math, Declaring Methods with Multiple Parameters, Notes on Declaring and Using Methods, Method-Call Stack and Activation Records, Argument Promotion and Casting, Java API Packages, Generalized Scaling and Shifting of Random Numbers, Scope of Declarations, Method Overloading.
Declaring and Creating Arrays, Examples Using Arrays, Enhanced for Statement, Passing Arrays to Methods, Multidimensional Arrays
Classes and Objects
Class Case Study, Controlling Access to Members, Referring to the Current Object's Members with the this Reference, Overloaded Constructors, Default and No-Argument Constructors, Composition, Enumerations, Garbage Collection and Method finalize, static Class Members, static Import, final Instance Variables, Creating Packages
Superclasses and Subclasses, protected Members, Relationship between Superclasses and Subclasses, Creating an Inheritance Hierarchy, Using protected Instance Variables, Using private Instance Variables, Constructors in Subclasses, Software Engineering with Inheritance
Polymorphism Examples, Demonstrating Polymorphic Behavior, Abstract Classes and Methods, Polymorphic Processing, Operator instanceof and Downcasting, Allowed Assignments Between Superclass and Subclass Variables, final Methods and Classes, Creating and Using Interfaces, Declaring Constants with Interfaces, Common Interfaces of the Java API
Exception-Handling Overview, Handling ArithmeticExceptions and InputMismatchExceptions, When to Use Exception Handling, Java Exception Hierarchy, finally Block, Stack Unwinding, printStackTrace , getStackTrace and getMessage, Chained Exceptions, Declaring New Exception Types, Assertions
Database and JDBC
Structured Query Language (SQL), Basic SELECT Query, WHERE Clause, ORDER BY Clause, Merging Data from Multiple Tables Joining, INSERT INTO Statement, UPDATE Statement, DELETE FROM Statement, Creating Database books in Cloudscape, Manipulating Databases with JDBC, Connecting to and Querying a JDBC Data Source, PreparedStatements, Transaction Processing, Stored Procedures, Batch Processing, Processing Multiple ResultSets or Update Counts, Updatable ResultSets, JDBC, DataSource, Connection Pooling, RowSets
Executing an Applet in the appletviewer, Executing an Applet in a Web Browser, Applet Life-Cycle Methods, Initializing an Instance Variable with Method init, Sandbox Security Model
Loading, Displaying and Scaling Images, Animating Images, Image Maps, Loading and Playing Audio Clips, Playing Video and Other Media with Java Media Framework XHTML Editing XHTML, First XHTML Example, XHTML Validation Service, Headings, Linking, Images, Lists, Tables, Forms, Internal Linking, meta Elements.
Inline Styles, Embedded Style Sheets, Conflicting Styles, Linking External Style Sheets, Positioning Elements, Backgrounds, Element Dimensions, Box Model and Text Flow, Media Types, Building a CSS Drop-Down Menu, User Style Sheets
Servlet Overview and Architecture, Interface Servlet and the Servlet Life Cycle, HttpServlet Class, HttpServletRequest Interface, HttpServletResponse Interface, Handling HTTP get Requests, Setting Up the Apache Tomcat Server, Deploying a Web Application, Handling HTTP get Requests Containing Data, Handling HTTP post Requests, Redirecting Requests to Other Resources, Session Tracking, Cookies, Session Tracking with HttpSession, Multi-tier Applications Using JDBC from a Servlet, HttpUtils Class
Java Server Pages
JavaServer Pages Overview, A First JavaServer Page Example, Implicit Objects, Scripting, Scripting Components, Scripting Example, Standard Actions, Action, Action, Action, Action, Directives, page Directive, include Directive, Custom Tag Libraries, Createing a Custom Tag, Tag Attributes, Evaluating the Body of a Custom Tag
Java Server Faces
Java Web Technologies, Servlets, JavaServer Pages, JavaServer Faces, Web Technologies in Netbeans, Creating and Running a Web Application in Netbean, Examining a JSP File, Examining a Page Bean File, Event-Processing Life Cycle, Relationship Between the JSP and Page Bean Files, Examining the XHTML Generated by a Java Web Application, Building a Web Application in Netbeans
Ajax Enabled Java Server Faces
Accessing Databases in Web Applications, Building a Web Application That Displays Data from a Database, Modifying the Page Bean File for the AddressBook Application, Ajax-Enabled JSF Components, AutoComplete Text Field and Virtual Forms, Configuring Virtual Forms, JSP File with Virtual Forms and an AutoComplete Text Field, Providing Suggestions for a AutoCompleteText Field, Google Maps Map Viewer Component
XML and RSS
XML Basics, Structuring Data, XML Namespaces, Document Type Definitions (DTDs), W3C XML Schema Documents, XML Vocabularies, MathMLTM, Other Markup Languages, Extensible Stylesheet Language and XSL Transformations, Document Object Model (DOM)
Java RSS Utilities
The RSS Utilities Package, Installing the RSS Taglib, Using the RSS taglib, Extracting Data From RSS Feed, Java RSS Parser.