Course syllabus
Course name: java duration: 60 hours.
Chapter 1: Introduction to Java
- oops concept
- What is java?
- History of Java
- Typical Java Environment
- Java Compilation
- Execution of a Java Program
- The Java Platform
- Java Runtime Environment
- API
- Java Virtual Machine
- Just-In-Time Compilation.
- c,c++ vs java
- summary
- exercises
Chapter 2: language fundamentals
- Compiling the Program
- Source File Declaration Rules
- Single Line Comments
- Multiline Comments
- Documentation Comments
- Escape Sequences
- Keywords in Java
- Variables in Java
- Instance Variables
- Class Variables
- Local Variables
- Parameters
- Primitive Types in Java
- Naming Standards
- Camel Casing
- Pascal Casing
- Implicit Casting or Narrow Conversion
- Explicit Casting or Wide Conversion
- Arithmetic Operators
- Relational Operators
- Boolean logical Operators
- Short-Circuit Logical Operators
- Assignment Operator
- If
- Switch
- Jump Statements
- Using break
- Using Continue
- return
- while
- do-while
- for and its variants
- Nested Loops
Chapter 3: oops concept and their implementation in java
- Array Declaration
- Array Instantiation
- Accessing an Array Element
- Copying Arrays
- Array Resizing
- One-Dimensional Array
- Coding Guidelines
- Classes and Objects
- What is Object
- Properties of Object
- Object’s state
- Object’s behavior
- Object’s identity
Declaring Objects
- Assigning Object Reference Variables
- What is Class
- Constructors in Java
- Default Constructor
- Parameterized Constructor
- Overloading Constructor
- Changing constructor using this() super()
- The this() Keyword
- The super() keyword
- The finalize() method
- Rules for Constructors
- Comparison between a Constructor and a function
- Introducing methods
- Recursion
- Overloading Methods
- Overriding methods
- The Garbage Collection
- Why garbage Collection
- Advantages of garbage Collection
- Disadvantages of GC
- Access Modifiers
- public
- protected
- default
- private
- Non Access Modifiers
- final
- abstract
- transient
- synchronized
- native
- strictfp
- The Garbage Collection
- Why garbage Collection
- Advantages of garbage Collection
- Disadvantages of GC
Chapter 4: packages
- Introduction of Package
- Programs related to Packages
Chapter 5: Exceptional handling
- Exceptional handling
- Introduction of exception and Error
- Throwable class
- try, catch and finally blocks
- throw and throws Keywords
- Checked and Unchecked Exception
- User Define Exception
- summary
- exercises
Chapter 6: multithreading
- Multithreading
- What is Program, Process, Thread
- Multiprocessing, multithreading and Multitasking
- Use of sleep() and suspend Methods
- Integrated Thread Synchronization
- Use of wait(), noitify() and notifyAll() Mwthods
- summary
- exercises
Chapter 7: string handling
- string handling
- String class
- StringBuffer class
- StringBuilder class
- StringTokenizer class
Chapter 8: stream based I/O in java
- Introduction to Input Output
- Introduction and Implementation of Byte Stream
- Introduction and Implementation of Character Stream
- Introduction and Implementation of Buffered Stream
- Introduction and Implementation of Data Stream and Object Stream
- Introduction and Implementation of File I/O
- summary
- exercises
Chapter 9: internet program using applets
- Getting Started With Applets
- Defining an Applet Subclass
- Life Cycle of an Applet
- Applet's Execution Environment
- Developing an Applet
- Deploying an Applet
- Deploying With the Applet Tag
- Doing More With Applets
- Displaying Short Status Strings
- summary
- exercises
Chapter 10: collection framework
- Introduction to collection Framework
- Introduction and implementation Array List
- Introduction and implementation Hash Set and Tree Set
- Introduction and implementation Hash Map and Tree Map
- summary
- exercises
Chapter 11: java database connectivity (JDBC)
- Introduction to JDBC
- Example programs
- summary
- exercises
Chapter 12: overview of netbeans
- netbeans concepts:
- installing netbeans
- creating a new project
- importing projects
- working with frame
- Running an application.
- summary
- exercises
J2EE
Chapter 13: Core Java EE
- Introduction to J2EE
J2EE Overview
Why J2EE?
J2EE Architecture
J2EE APIs
J2EE Containers
Chapter 14: Servlet
- Web Application Basics.
Architecture and challenges of Web Application.
Introduction to servlet
Servlet life cycle
Developing and Deploying Servlets
Exploring Deployment Descriptor (web.xml).
Handling Request and Response
Initializing a Servlet
Accessing Database
Servlet Chaining
Session Tracking & Management
Dealing with cookies
Transferring Request
Accessing Web Context
Passing INIT and CONTEXT Parameter
Sharing information using scope object
Controlling concurrent access
User Authentication
Filtering Request and Response
Programming Filter
Filter Mapping
Servlet Listeners
Chapter 15: Java Server Pages Technology (JSP)
- Basic JSP Architecture
Life Cycle of JSP (Translation, compilation)
JSP Tags and Expressions
Role of JSP in MVC-2
JSP with Database
JSP Implicit Objects
Tag Libraries
JSP Expression Language (EL)
Using Custom Tag
JSP Capabilities:
Exception Handling
Session Management
Directives
JSP with Java Bean
RMI (Remote Method Invocation)
RMI overview
RMI architecture
Example demonstrating RMI
Chapter 16: Enterprise JAVA Beans (EJB)
- Enterprise Bean overview
Types of enterprise beans
Advantages of enterprise beans
The Life Cycles of Enterprise Beans
Working with Session Beans
Statefull vs. Stateless Session Beans
Working with Entity Beans
Message Driven Beans
Chapter 17 : JNDI (Java Naming and Directory Interface)
JNDI overview
JNDI API
Context operations
Using JNDI in J2EE applications
Chapter 18 : Struts Framework:
What is Struts?
Struts Architecture
Struts classes - ActionForward, ActionForm,
ActionServlet, Action classes
Understanding struts-config.xml
Understanding Action Mappings
Struts flow with an example application
Struts Tiles Framework.
Struts Validation Framework
Internationalizing Struts Application
Struts with Message Resources
Awareness to Other J2EE Technologies:
Java Mail
JTA
Web Services
Chapter 19 : Hibernate
• Introduction to Hibernate, ORM Overview, Hibernate Environment
• Hibernate Architecture & API, Hibernate Configuration,
Hibernate Sessions, Persistent Class & Mapping Files
• Building Hibernate application, Hibernate Query Language (HQL)
• Hibernate O/R Mappings – Collection & Association Mappings
- Many-to-One
- One-to-One
- One-to-Many
- Many-to-Many
Chapter 20: Log4J