Table of Contents
Java Advaned Level (JA-2d)
Program for Day 1
Program for Day 2
Java Advanced Level day 1 Part A
Aims
Java Architecture Basics
PPT Slide
Architectural Forces
JVM Architecture
Inside the JVM
JVM’s Datatypes
JVM Datatypes
JVM Datatypes
The Classloader System
The Classloader System’s Responsibilities
The ClassLoader Object
The Method Area
The Method Area Needs to Know :
The Heap
The Garbage Collector
The Program Counter Area
The Stack Area
Stack Frame
Constant Pool
The Execution Engine
The Instruction Set
The Instr. Set has commands to:
Simple Example
Using javap & jdb
Summary
Quiz
Exercises
Java, Advanced Level day 1 Part B
Aims
Class Files
The Class Format
Class Format (1-5)
Class Format (6-7)
Class Format (8-9)
Class Format (11-12)
Class Format (13-16)
The Disassembler Example
The Disassembler Class Diagram
The Disassembler Example Program (contd)
The Disassembler Example Program (contd)
The Disassembler Example Program (contd)
Dynamic Execution
Class Loaders
Class Loaders (contd)
Name Spaces
Name Spaces (continued)
Name Spaces (continued)
How to Perform Dynamic Loading
Example With No Dynamic Execution
Example With No Dynamic Execution
Dynamic Execution With forName()
Dynamic Execution With forName()
A Custom Class Loader Part A
A Custom Class Loader Part B
A Custom Class Loader Part C
A Custom Class Loader Part D
A Custom Class Loader
Summary
Quiz
Exercises
Java, Advanced Level day 1 Part C
Aims
Object Orientation & Java
Object Oriented views
Hierarchy View
Interaction View
Module View
Method Invocation in Java
Method Invocation in the JVM
Invoking Instance Methods
Method Tables
From Procedural to OO
Polymorphism
Polymorphism is Implemented in :
How Does Polymorphism Help?
Implications?
Advice 1: Design Using Interfaces
“A System in Time, Decays”
Patterns of Software Design
Patterns
Design Patterns
Summary
Quiz I
PPT Slide
Quiz II
Exercises
Java, Advanced Level day 1 Part D
Aims
Design Patterns
Design Patterns Benefits
Design Patterns
Design Patterns
Composite
Composite
Composite Example (1/3)
Composite Example (2/3)
Composite Example (3/3)
Command
Command
Command Example (1/6)
Command Example (2/6)
Command Example (3/6)
Command Example (4/6)
Command Example (5/6)
Command Example (6/6)
Decorator (Proxy-Wrapper)
Decorator (Proxy-Wrapper)
Decorator Example (1/4)
Decorator Example (2/4)
Decorator Example (3/4)
Decorator Example (4/4)
Adapter
Adapter
Adapter Example
Factory - Abstract Factory
Factory - Abstract Factory
Abstract Factory Example (1/3)
Abstract Factory Example (2/3)
Abstract Factory Example (3/3)
Summary
Quiz I
Exercises
Java Advanced Level day1
|