Introduction to Java Programming Server Side
Course
Inhouse
Description
-
Type
Course
-
Methodology
Inhouse
After completing this course, the student should be able to: (1) Apply OOP principles. (2) Design OO applications using abstraction, encapsulation, modularity, and hierarchy. (3) Create applications; (4) Use Java Exceptions to guarantee graceful error recovery of your application; (5) Do input/output using Java; (6) Use JDBC to access data base tables. (7)Create.
About this course
Students should have some basic-level knowledge of programming in any programming language, preferably C or C++, or other OOP languages.
Reviews
Course programme
After completing this course, the student should be able to: (1) Apply OOP principles; (2) Design OO applications using abstraction, encapsulation, modularity, and hierarchy; (3) Create applications; (4) Use Java Exceptions to guarantee graceful error recovery of your application; (5) Do input/output using Java; (6) Use JDBC to access data base tables; (7)Create Servlets, JSPs, and Java Beans.
Pre-requisites:
Students should have some basic-level knowledge of programming in any programming language, preferably C or C++, or other OOP languages.
Course Includes:
A comprehensive set of reference notes covering course topics, follow-up telephone support and, for training on Transmedia premises, lunch and refreshments.
Course Outline
Introduction
· Overview; History of Java; Goals of Java; Java Virtual Machine
· Garbage Collection
· Hello World Example
· Source File Layout
Java Basics
· Overview; Comments
· Semicolon and White Spaces; Blocks; Keywords
· Primitive Data Types
· Identifier; Variables; Literals
· Arithmetic Operators; Bitwise Operator; Assignment Operators; Miscellaneous Operators
· Scope of a Variable
· Arrays; Multi-dimensional Arrays
· Reading from the Keyboard
Branching and Looping
· Overview; Conditions
· The If Statement; the If ... Else Statement; Logical Operators and If...Else Statement
· The Switch Statement; the While Statement; the Do...While Statement
· The For loop; Break and Continue
Objects
· Overview; Object-Oriented Programming; Methods; Overloading
· Creating an Instance of a Class; Constructors; Inheritance
· The Super Keyword; the This Keyword
· Overriding
· Using == vs. equals()
· The toString() Method; Static Initialises; Access Modifiers
· Creating Constructors/Methods
Advanced Class Concepts
· Overview; Abstract Classes; Interfaces
· Working with Interfaces for Java; creating Interfaces; implementing Interfaces
Exceptions
· Overview; Benefits; Exceptions
· The Try... Catch... Finally Statement
· Flow of Program Control
· Checked/Unchecked Exceptions; Multiple Exceptions; Rethrowing Exceptions; the Exception Class; creating your Own Exceptions
Stream I/O
· Overview; File I/O; the File Class; Methods; Input and Output Stream
· DataInputStream; DataOutputStream; FileInputStream; FileOutputStream
· Reader and Writer; Example
JDBC Overview
· Using JDBC to Access a RDBMS; Loading a driver; connecting; retrieving records; coding to access a D/B; working with ResultSets
· Updating; batch processing; prepared statements; transactional processing
· Scrollable and Updateable ResultSets
Servlets
· Overview; Servlet responsibilities; Hello World Servlet; Retrieving Form Fields; Session Tracking
JavaServer Pages (JSPs)
· Overview; Benefits; Implicit Objects; Hello JSP World - an Example
· JSP Directives; attributes of Page Directive; retrieving Form Fields
· Session Tracking; Servlet to JSP Communication; Invoking a JSP
Java Beans
· Overview; Create JB; get Properties; set Properties
· Use with Servlets & JSPs
Threads (Optional)
· Overview; using Thread class vs implementing Runnable
· Use of synchronized, waite, notify, etc.
Introduction to Java Programming Server Side