Top Banner
Spring syllabus Introduction of Spring Framework * Why Spring Framework? * Advantages of Spring Framework? * Modules of Spring Framework Spring Core Module * What is Spring IOC? * IOC Container * Configuring metadata * ypes of Spring IOC * !ependen"y #ookup * !ependen"y In$e"tion * ypes of !ependen"y In$e"tion * Setter In$e"tion %SI& * Constru"tor In$e"tion %CI& * SI with 'rimitives * Inner (eans * )ref element * SI with Colle"tions * Set * #ist * Map * 'roperties * Constru"tor In$e"tion * Inde+ attri,ute * ype attri,ute * 'ro,lems of Constru"tor In$e"tion * (ean Autowiring * (ean S"opes * Instantiation(ean and !isposa,le(ean * (ean Instantiation * -sing new operator * -sing stati" fa"tory method * -sing Instan"e fa"tory method * (ean #ife"y"le * Annotations Spring Aspect Oriented Programming (AOP) * Why Spring AO'? * Advantages of Spring AO'? * erminologies of Spring AO' * Weaving * Advi"es A'I * Method(eforeAdvi"e * After.eturningAdvi"e * hrowsAdvi"e * AroundAdvi"e * SI with O,$e"tives * !ependen"y "he"k and !epends on attri,utes
85

Java J2EE Syll

Jul 07, 2018

Download

Documents

chaitu215
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 1/85

Spring syllabus

Introduction of Spring Framework

* Why Spring Framework?

* Advantages of Spring Framework?

* Modules of Spring Framework

Spring Core Module

* What is Spring IOC?

* IOC Container

* Configuring metadata

* ypes of Spring IOC

* !ependen"y #ookup

* !ependen"y In$e"tion

* ypes of !ependen"y In$e"tion

* Setter In$e"tion %SI&

* Constru"tor In$e"tion %CI&

* SI with 'rimitives

* Inner (eans

* )ref element

* SI with Colle"tions

* Set

* #ist

* Map

* 'roperties

* Constru"tor In$e"tion

* Inde+ attri,ute

* ype attri,ute

* 'ro,lems of Constru"tor In$e"tion

* (ean Autowiring

* (ean S"opes

* Instantiation(ean and !isposa,le(ean

* (ean Instantiation

* -sing new operator

* -sing stati" fa"tory method

* -sing Instan"e fa"tory method

* (ean #ife"y"le

* Annotations

Spring Aspect Oriented Programming (AOP)

* Why Spring AO'?

* Advantages of Spring AO'?

* erminologies of Spring AO'

* Weaving

* Advi"es A'I

* Method(eforeAdvi"e

* After.eturningAdvi"e

* hrowsAdvi"e

* AroundAdvi"e

* SI with O,$e"tives

* !ependen"y "he"k and !epends on attri,utes

Page 2: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 2/85

* 'oint"ut

* Stati" 'oint"ut

* !ynami" 'oint"ut

* Stati" 'oint"ut

* /ameMat"hMethod'oint"ut

* 0dk.ege+p/ameMat"hMethod'oint"ut

* 'oint"utAdvisor

* /ameMat"hMethod'oint"utAdvisor

* 0dk.ege+p/ameMat"hMethod'oint"utAdvisor

* !efault'oint"utAdvisor

* Annotations ,ased Spring AO'

Spring JDC

* Introdu"tion of Spring 0d,"

* Advantages of Spring 0d,"

* !ataSour"e

* Centerali1ed Classes of Spring 0d,"

* 0!(Cemplate

* /amedparameter0d,"emplate

* Stored'ro"edure

* Simple0d,"emplate

* 0!(C emplate

* Constru"tors2Configurations

* A'I Methods

* /amed'arameter0d,"emplate

* Constru"tors2Configurations

* A'I Methods

* S3l'arameterSour"e

* Map

* Stored'ro"edure

* Invoking 'ro"edure from !(

* Invoking Fun"tion from !(

* Call,a"k Interfa"es

* .owMapper

* .esultSet4+tra"tor

* 'reparedStatementSetter

* Spring 0d," (at"h-pdates

Spring O!M 

* Integrating Spring with 5i,ernate

Spring M"C

* M6C !esignpattern

* FrontController!esign'attern

* Spring 789 Features

* Spring M6C Ar"hite"ture

* !ispat"herServlet

* 5anderMappings

* ControllersSpring M6C Internationali1ation

* Controller

* A,stra"tCommandController

Page 3: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 3/85

* SimpleFormController

* MultiA"tionController

* A,stra"tWi1ardFormController

* 6alidationFramework

* 5andlerInter"eptors

* Spring M6C ilesFramework

* Spring M6C hemes

Page 4: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 4/85

Page 5: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 5/85

Page 6: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 6/85

5i,ernate raining Course Overview

Advantages of 5i,ernate "ompared to 0!(C

Introdu"tion

O.M %O,$e"t .elational Mapping&

5i,ernate .esour"es

* Configuration file

* Mapping file* 'ersistent "lass or 'O0O

* Client appli"ation8

5i,ernate Ar"hite"ture

Installation and !ire"tory Stru"ture

5i,ernate !ata ypes

First Appli"ation using 5i,ernate

5i,ernate A'I

* Configuration

* SessionFa"tory

* Session* ransa"tion

O,$e"t #ife"y"le in 5i,ernate

O,$e"t #ife"y"le in 5i,ernate

* 'ersistent o,$e"t

* !eta"hed o,$e"t

C.-! operations using Session methods8

* save: persist: SaveOr-pdate

* update: merge: delete

* load: get

* flush: evi"t: "lear et"

6ersioning

'rimary key ;enerators

* Assigned

* In"rement

* Se3uen"e

* 5ilo

* Se3hilo

* Identity

* Foreign

* /ative

* --I!

* Custom generator

5i,ernate <uery #anguage %5<#&

0oins in 5i,ernate

(at"h pro"essing and /ative S<#

Criteria A'I

Criteria with pro$e"tions

Inheritan"e Mapping

Page 7: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 7/85

* a,le per "lass

* a,le per su, "lass

* a,le per "on"rete "lass

Component Mapping

Custom Mapping

Colle"tion Mapping

* )list* )set

* )map

* ),ag

* Mapping array

* Sorting "olle"tions

Asso"iation Mapping

* one to one

* one to many

* many to one

* many to many* -ni dire"tional

* (i dire"tional

* 4+planation on inverse and "as"ade attri,utes

Ca"hing

* First level Ca"he%Session "a"he&

* Se"ond level Ca"he%SessionFa"tory "a"he&

* <uery level "a"he

Conne"tion 'ool

* !efault "onne"tion pool

* Server supplied pool

* hird party vendor "onne"tion pool

ransa"tions and Con"urren"y

* 'rogrammati" transa"tions with 0A

* Optimisti" Con"urren"y "ontrol

* 'essimisti" Con"urren"y "ontrol

5i,ernate 'agination

5i,ernate Filter

5i,ernate Inter"eptor

Integrating 5i,ernate with Servlet

Integrating 5i,ernate with Struts

Working with 5i,ernate Annotations

Conne"ting with Multiple !ata,ases%Ora"le: 5ypersoni"S<#&

Page 8: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 8/85

Page 9: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 9/85

Page 10: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 10/85

Page 11: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 11/85

S.-S = >8+

!ifferent types of Appli"ations

!ifferent #ayers in Appli"ation

* 'resentation 'ro"essing #ayer

* (usiness 'ro"essing #ayer

* !ata Storage and A""ess #ayer

We, Appli"ation !esigning Models* Model>Ar"hite"ture

* Model@Ar"hite"ture%M6C&

* !esigning we, appli"ation using M6C ar"hite"ture

Struts Introdu"tion

Struts Ar"hite"ture

Struts .esour"es

* 0S'

* A"tionServlet

* we,8+ml

* A"tionForm* A"tion "lass

* Struts Configuration File

* 4+planation a,out Struts"onfiguration File

* !etailed e+planation of struts re3uest pro"essing flow

* Customi1ing .e3uest'ro"essor

6alidations in Struts

Client 6alidations

Server side 6alidations

* (y using validate%& method = programmati" approa"h

* (y using 6alidator Framework = de"larative approa"h

* Com,ination of programmati" approa"h and de"larative approa"h

!ifferent types of A"tionForms and !ynami" A"tionForms

* A"tionForm

* !ynaA"tionForm

* 6alidatorForm

* !ynavalidatorForm

* 6alidatorA"tionForm

* !yna6alidatorA"tionForm

4+"eption5andling in Struts

* 'rogrammati" Approa"h

#o"al Forwards ;lo,al Forwards

#o"al 4+"eptions ;lo,al 4+"eptions

Struts predefined ag li,raries

* 5M# ag #i,rary

* (ean ag #i,rary

* #ogi" ag #i,rary

* /ested ag #i,rary

* !e"larative Approa"h

Page 12: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 12/85

* iles ag #i,rary

'redefined A"tion Classes

* ForwardA"tion

* In"ludeA"tion

* !ispat"hA"tion

* #ookup!ispat"hA"tion

* Mapping!ispat"hA"tion* Swit"hA"tion

* #o"aleA"tion

* !ownloadA"tion

* 4vent!ispat"hA"tion

Internationali1ation%I>B/& in Struts >8+

Struts with A$a+ 4+ample

'reventing !ou,le Su,mits

!ataSour"e

File -ploading and !ownloading in Struts

iles FrameworkI!4s 4"lipse: /et,eans

S.-S = @8+

(asi" Components of Struts @

* Struts @ Features

!ifferen"es ,etween Struts >8+ @8+

Steps to Create Struts @ Appli"ation

Core Components in Struts @

* Filter!ispat"her

* Inter"eptors

* 6alue Sta"k

* A"tion Conte+t

* A"tion Invo"ation

* O;/#%O,$e"t ;raph /otation #anguage&

Struts @ Work Flow

Struts @ A"tion

Struts @ Configuration

* Multi Configuration

* Multi/ameSpa"e

Struts @ ag #i,rary

Inter"eptors

* 'arams Inter"eptor

* Model !riven Inter"eptor

* Custom Inter"eptor

* 4+"eption 5andling

Struts @ 6alidation

* Custom 6alidation

* Input 6alidation

Aware Interfa"es

Page 13: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 13/85

* Appli"ation Aware

* Session Aware

* .e3uest and .esponse Awares

Internationali1ation%I>B/& in Struts @8+

Dero Configuration

* (y Convention

Files -ploading and !ownloading

Se"uring struts appli"ation

!e,ugging and profiling

'rogress Meters

Custom inter"eptors

!ata store using struts @

0Free"hart plugins

Struts@ with iles@

* (y Annotation

Page 14: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 14/85

Servlets 78E

* /eed of Server side 'rogramming

* Introdu"tion to Servlets

* Servlet #ife Cy"le

* $ava+8servlet pa"kage

* ServletConfig: ServletConte+t: Servlet.esponse

* Supplying initiali1ation parameters to Servlets* 'erforming data,ase operations in Servlets

* In"lude and forward me"hanisms

* Applying filters to Servlets

* $ava+8servlet8http 'a"kage

* 5ttpServlet #ife Cy"le

* 5ttp re3uest methods ;4 vs 'OS

* 5ttpServlet.e3uest: 5ttpServlet.esponse

* !ealing with 5ttp headers error "odes

* Session ra"king: purpose

* 5idden form fields: Cookies* 5ttp Session: -.# rewriting

* 4vent listeners

* We, appli"ation se"urity

Page 15: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 15/85

0!(C 8E

* Introdu"tion to 0!(C

* 0!(C ar"hite"ture

* $ava8s3l 'a"kage

* Conne"tion: Statement: .esultSet

* 'repared Statement* Calla,le Statement

* S"rolla,le and -pdata,le .esultSet

* (at"h -pdates

* .esultSetMeta!ata

* Simple ransa"tion Management

* Four #evels of 0!(C drivers: their pros "ons

* Features of 0!(C 78E

Page 16: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 16/85

0S' @8@

* !isadvantages of Servlets

* Introdu"tion to 0S'

* 0S' #ife Cy"le

* Creating dynami" We, "ontent with 0S'

* S"ripting elements

* S"riptlet* !e"laration

* 4+pression

* 9M# synta+ for 0S' elements

* 0S' dire"tives page: in"lude and tagli,

* 0S' impli"it o,$e"ts

* 0S' s"opes

* In"lude and forward me"hanism

* -sing a 0ava ,ean in a $sp

* 0S' Model > ar"hite"ture

* 0S' Model @ %M6C& ar"hite"ture* Custom ag !evelopment

* Classi" ags: Simple ags

* 4rror 5andling in a $sp

* 0S#

* 4+pression #anguage

* 'ro"essing 9M# in a 0S'

Page 17: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 17/85

Page 18: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 18/85

Page 19: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 19/85

Page 20: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 20/85

Page 21: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 21/85

Page 22: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 22/85

9M# We, Servi"es raining Course Overview

A8 9M#

* What is 9M#?

* What is markup? %Markup G agging&

* What are the similarities ,etween 5M# and 9M#?* Is 9M# is .epla"ement for 5M#?

* What are the differen"es ,etween 5M# and 9M#?

* What is the purpose of 9M#?

* What 9M# !oes?

* Who invented +ml tags?

* What is an 9M# do"ument?

* What is +ml appli"ation?

9M# Synta+

* An e+ample 9M# do"ument

* All 9M# elements must have a "losing tag* 9M# tags are "ase sensitive

* All 9M# elements must ,e properly nested

* All 9M# do"uments must have a root tag

* Attri,ute values must always ,e 3uoted

* 4ntity .eferen"es

* Comments in 9M#

* Whitespa"e is 'reserved in 9M#

What is a wellformed 9M# do"ument?

What is an 9M# 4lement?

What are the 9M# /aming .ules?

What are the (est /aming 'ra"ti"es?

9M# Attri,utes

* 9M# Attri,utes Must ,e <uoted

* -se of 4lements vs8 Attri,utes

* Avoid using attri,utes? %I say yesH&

* 9M# Attri,utes for Metadata

* 9M# !o"uments Form a ree Stru"ture

5ow to view 9M# files?

5ow to develop an 9M# do"ument?

5ow to "he"k the wellformedness of 9M# do"ument?

5ow to validate 9M# do"ument?

What is an 9M# parser? What are its fun"tions?

What is !!?

What are the "onstituents of !! file? %Contains&

* 4lements

* Attri,utes

* 4ntities

* 'C!AA = 'arsed Chara"ter !ata

A8 9M#

(8 We, Servi"es

Page 23: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 23/85

* C!AA = %-nparsed& Chara"ter !ata

!! = 4lements

* !e"laring an 4lement

* 4mpty elements

* 4lements with data

* 4lements with "hildren %se3uen"es&

What is "ardinality operator in !!?* !e"laring only one o""urren"e of the same element

* !e"laring minimum one o""urren"e of the same element

* !e"laring 1ero or more o""urren"es of the same element

* !e"laring 1ero or one o""urren"es of the same element

* !e"laring mi+ed "ontent

!! = Attri,utes

* !e"laring Attri,utes

* Attri,ute de"laration e+ample

* !efault attri,ute value

* Implied attri,ute* .e3uired attri,ute

* Fi+ed attri,ute value

* 4numerated attri,ute values

!! = 4ntities

* 4ntities as varia,les used to define short"uts to "ommon te+t8

* 4ntity referen"es are referen"es to entities8

* 4ntities "an ,e de"lared internal8

* 4ntities "an ,e de"lared e+ternal

5ow to asso"iate a !! with 9M#?

* Inside an 9M# do"ument

* 4+ternal referen"e8

What do you know a,out SS4M keyword in !OC'4 de"laration?

What are the limitations of !!?

What is an 9S!?

What 9S! defines?

Compare and "ontrast !!s and 9S!s?

!ata ypes

* Simple ypes

* Comple+ ypes

5ow to give !efault and Fi+ed 6alues to Simple 4lements ?

5ow to !efine an Attri,ute?

5ow to define fi+ed and default values to attri,utes?

5ow to spe"ify an attri,ute as optional2 re3uired?

* .estri"tions on 6alues

* .estri"tions on a Set of 6alues

* .estri"tions on a Series of 6alues

* /um,er of !igits

9S! .estri"tions2Fa"ets

Page 24: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 24/85

* .estri"tions on Whitespa"e Chara"ters

* .estri"tions on #ength

* .estri"tions for !atatypes

/onatomi" ypes

* #ists

* -nions

* 4lements with attri,utes

* 4lements with su, elements

* 4lements with su, elements and te+t

4mpty 4lements

Indi"ators

Order indi"ators

* All

* Choi"e

* Se3uen"eO""urren"e indi"ators

* ma+O""urs

* minO""urs

;roup indi"ators

* ;roup name

* attri,ute;roup name

Annotating 9M# S"hemas

.efer a S"hema in an 9M# !o"ument

Import2in"lude S"hemas

(8 We, servi"es

* Spe"ifi"ation

* A'I

* Implementation

* Approa"h

* M4'

* M4F

Communi"ation in distri,ute te"hnology

* Stu,

* Skeleton

Comple+ ypes

* 4lements with attri,utes and te+t

9M# /amespa"es

We, servi"es Introdu"tion

We, servi"es ar"hite"ture

We, Servi"es !evelopment 'arameters

SOA'

WS!#

Soap -I

C' I' Monitor

0A9.'C: 0A9.'CSI we, servi"e development

Page 25: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 25/85

* Servi"e development

* Contra"t first approa"h

* Contra"t last approa"h

* Client development

* Stu,,ased

* !ynami"pro+y ,ased

* !ynami"Invo"ationInterfa"e* !evelopment using "ommand line tools

* !evelopment using I!4 support

0A9.'C: A+is We, servi"e development

* Servi"e !evelopment

* Contra"t first approa"h

* Contra"t last approa"h

* Client !evelopment

* !evelopment using "ommand line tools

* !evelopment using I!4 support

0A9.'C 5andlers* Applying 5andlers to Servi"e

* Applying 5andlers to Client

* ra"king Input: Output SOA' message

0A9WS

* Introdu"tion

* !ifferen"es ,etween 0A9.'C and 0A9WS

* Ar"hite"ture

0A9WS: Metro We, servi"e development

* Servi"e development

* Contra"t first approa"h

* Contra"t last approa"h

* Client development

* Stu, ,ased "lient

* !ynami" pro+y ,ased "lient

* Annotation ,ased "lient

* !evelopment using "ommand line tools

* !evelopment using I!4 tools

* 5andlers

* Atta"h handlers at "lient side handler

* Atta"h handlers at server side handler

* ra"k soap message using handlers

* Adding soap headers

* Adding http headers

* !eveloping se"ured we, servi"es

* We, servi"e development using stand alone server

0A9WS: A+is@ We, servi"e development

* Servi"e development

* Client development

Page 26: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 26/85

0A9.S

* Introdu"tion

* !ifferen"es among 0A9.'C: 0A9WS and 0A9.S

0A9.S: 0ersey We, servi"e development

* Servi"e development

* 5M#

* 9M#* 0SO/

* 'lain te+t

* Images

* !ownloads

* -ploads

* Client development

* 5ttp "lient

* ;4

* 'OS

* 0ersey Client* ;4

* 'OS

* 5andlers for restful servi"es

* 4+"eption 5andlers in restful servi"es

0A9.S: .4S 4asy We, servi"e development

* Servi"e development

* Client development

Page 27: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 27/85

Page 28: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 28/85

Page 29: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 29/85

Page 30: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 30/85

Page 31: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 31/85

Page 32: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 32/85

Page 33: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 33/85

Page 34: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 34/85

Core java

6olume > 0ava #anguage: OO'S: 'rogramming

>8 Introdu"tion to 0ava and OO'S

@8 0ava okens Comments: Identifiers: Jeywords: Separators

78 Working with 0ava 4ditor Softwares = 4ditplus: /et(eans: 4"lipse

K8 Working with $ar

L8 Modifiers = File level: A""ess level and /ona""ess level

8 !atatypes: #iterals: 6aria,les: ype Conversion: Casting 'romotion

B8 .eading runtime values from key,oard and 'roperties File

N8 Operators and Control Statements

>E8 Method and ypes of methods

>>8 6aria,le and ypes of 6aria,les

>@8 Constru"tor and ypes of "onstru"tors

>78 (lo"k and ypes of (lo"ks

>8 !e"larations: Invo"ations and 4+e"utions

>K8 Compiler 06M Ar"hite"ture with .efle"tion A'I

>L8 Stati" Mem,ers and their e+e"ution "ontrol flow

>8 /onStati" Mem,ers and their e+e"ution "ontrol flow

>B8 Final 6aria,les and their rules

>N8 Classes and ypes of "lasses

@E8 OO'S Fundamentals: Models: .elations and 'rin"iples

@>8 Coupling and Cohesion %M6C and #C.' Ar"hite"tures&

@@8 ypes of o,$e"ts ;ar,age Colle"tion

@78 Arrays and 6ararg types

@8 4num and Annotation

@K8 !esign 'atterns

6olume @ 0ava A'I and 'ro$e"t

>8 A'I A'I !o"umentation

@8 Fundamental Classes = O,$e"t: Class: System: .untime

78 String 5andling

8 4+"eption 5andling and Assertions

K8 Multithreading with 06M Ar"hite"ture

L8 IO Streams %File IO&

8 /etworking %So"ket 'rogramming&

B8 Wrapper Classes with Auto ,o+ing un,o+ing

N8 Colle"tions with ;eneri"s

>E8 0ava K: L: : B new features

>>8 Inner "lasses

>@8 AW: Swings: Applet

>78 .egular 4+pressions

>8 Formatting date: time %$ava8te+t pa"kage&

Advanced Java Training Outline

Generics

Using Generics

Type Erasure

Type Boundaries

Wildcards

Page 35: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 35/85

Generic Methods

Strengths and Weaknesses of Generics

Legacy Code and Generics

Threads

Java Thread Model

Creating and unning Threads

Manipulating Thread State

Thread Synchroni!ation

"olatile #ields vs$ Synchroni!ed Methods

%ait and notify

 &oin and sleep

The Concurrency '()

'to*ic +perations

Thread (ools

eflection

Uses for Meta,-ata

The eflection '()

The Class.T/ Class

The &ava$lang$reflect (ackage

eading Type )nfor*ation

0avigating )nheritance Trees

-yna*ic )nstantiation

-yna*ic )nvocation

eflecting on Generics

'nnotations

'spect,+riented (rogra**ing and Java

The 'nnotations Model

'nnotation Types and 'nnotations

Built,)n 'nnotations

'nnotations vs$ -escriptors 12ML3

Sockets

The +S) eference Model

0et%ork (rotocols

The Socket Class

The ServerSocket Class

Connecting Through UL +4&ects

5TT( and +ther TC( Servers

-atagra* Clients and Servers

0on,Blocking Sockets

Multi,Threading in Servers

Review of Java Fundamentals

The Java 'rchitecture

#or*s for Java Soft%are

Three (latfor*s

The Java Language

0u*eric Types

Characters and Booleans

Enu*erations

Page 36: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 36/85

+4&ect eferences

Strings and 'rrays

Conditional Constructs

Looping Constructs

"arargs

+4&ect,+riented Soft%are

Co*ple6 Syste*s

'4straction

Classes and +4&ects

esponsi4ilities and Colla4orators

UML

elationships

"isi4ility

Classes and +4&ects

Java Classes

Constructors and Gar4age Collection

0a*ing Conventions and JavaBeans

elationships Bet%een Classes

Using this

"isi4ility

(ackages and )*ports

+verloading Methods and Constructors

J's

)nheritance and (oly*orphis* in Java

UML Speciali!ation

E6tending Classes

Using -erived Classes

Type )dentification

Co*pile,Ti*e and un,Ti*e Type

(oly*orphis*

+verriding Methods

The 7+verride 'nnotation

Superclass eference

Using Classes Effectively

Class Loading

Static Me*4ers

Statics and 0on,Statics

Static )nitiali!ers

Static )*ports

(rohi4iting )nheritance

Costs of +4&ect Creation

Strings and StringBuffers

Controlling +4&ect Creation

Understanding Enu*erated Types

Stateful and Behavioral Enu*erations

)nterfaces and '4stract Classes

Separating )nterface and )*ple*entation

UML )nterfaces and eali!ation

Page 37: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 37/85

-efining )nterfaces

)*ple*enting and E6tending )nterfaces

'4stract Classes

Collections

-yna*ic Collections vs$ 'rrays

UML (ara*eteri!ed Type

Generics

Using Generics

The Collections '()

The Collection.E/ and List.E/ )nterfaces

The 'rrayList.E/ and LinkedList.E/ Classes

Looping +ver Collections8 )tera4le.E/

Collecting (ri*itive "alues8 'uto,Bo6ing

Using Wildcards %ith Generic Types

)terators and the )terator.E/ )nterface

Maps and the Map.9:"/ )nterface

Sorted Collections

The SortedSet.E/ and SortedMap.9:"/ )nterfaces

The Collections Class Utility

'lgorith*s

Conversion Utilities

E6ception 5andling and Logging

eporting and Trapping Errors

E6ception 5andling

Thro%ing E6ceptions

-eclaring E6ceptions per Method

Catching E6ceptions

The finally Block

Catch,and,elease

Chaining E6ceptions

The J;SE Logging '()

Severity Levels

Log 5ierarchies

)nner Classes

(assing Behavior

)nner Classes in GU) (rogra**ing

0a*ed )nner Classes

+uter +4&ect eference

Static )nner Classes

'nony*ous )nner Classes

The Java Strea*s Model

-elegation,Based Strea* Model

)nputStrea* and +utputStrea*

Media,Based Strea*s

#iltering Strea*s

eaders and Writers

Working %ith #iles

#ile Class

Page 38: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 38/85

Modeling #iles and -irectories

#ile Strea*s

ando*,'ccess #iles

'dvanced Strea* Techni<ues

Buffering

-ata Strea*s

(ush,Back (arsing

Byte,'rray Strea*s and String eaders and Writers

Java Seriali!ation

The Challenge of +4&ect Seriali!ation

Seriali!ation '()

Seriali!a4le )nterface

+4&ect)nputStrea* and +4&ect+utputStrea*

The Seriali!ation Engine

Transient #ields

read+4&ect and %rite+4&ect

E6ternali!a4le )nterface

'uto*ated Unit Testing %ith JUnit

'uto*ated Testing

JUnit and elated Tools

The 7Test 'nnotation

The 'ssert Class Utility

Test unners

Lifecycle Methods

)ntroduction

' #irst Look

' Si*ple Java Class

Java=s >5ello World? (rogra*

Java Basics

Language and (latfor* #eatures

(rogra* Life Cycle

The Java SE -evelop*ent 9it 1J-93

Working %ith the -evelop*ent Environ*ent

Class and +4&ect Basics

The +4&ect Model and +4&ect,+riented (rogra**ing

Classes: eferences: and )nstantiation

'dding -ata to a Class -efinition

'dding Methods 1Behavior3

More on Classes and +4&ects

'ccessing data: the @this@ varia4le

Encapsulation and 'ccess Control: pu4lic and private 'ccess

Constructors and )nitiali!ation

static Me*4ers of a Class

Scopes: Blocks: eferences to +4&ects

#lo% of Control

Branching8 if: if,else: s%itch

)teration8 %hile: do,%hile: for: 4reak: continue

Page 39: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 39/85

Strings and 'rrays

String: StringBuffer: StringBuilder

'rrays: (ri*itive 'rrays: 'rrays of eference Types

"arargs

(ackages

(ackage +vervie% , Using (ackages to +rgani!e Code

i*port state*ents

Creating (ackages: package State*ent: e<uired -irectory Structure

#inding Classes: (ackages and Classpath

Co*position and )nheritance

Using Co*position to -eal With Co*ple6ity

Co*positionA5'S,': -elegation

Using )nheritance and (oly*orphis* to share co**onality

)S,': e6tends: )nheriting #eatures: +verriding Methods: Using (oly*orphis*

Class +4&ect

'4stract Classes

)nterfaces

Using )nterfaces to -efine Types

)nterfaces and '4stract Classes

-efault Methods and static Methods 1Java $ or later only3

Using )nterfaces to e*ove )*ple*entation -ependencies

E6ceptions

E6ceptions and the E6ception 5ierarchy

try and catch

5andling E6ceptions

(rogra* #lo% %ith E6ceptions

#inally

Java Collections and Generics

The Collections #ra*e%ork and its '()

Collections and Java Generics

Collection: Set: List: Map: )terator

'uto4o6ing

Collections of +4&ect 1non,generic3

Using 'rrayList: 5ashSet: and 5ashMap

for,each Loop

(rocessing )te*s With an )terator

More '4out Generics

-ata4ase 'ccess %ith J-BC and J('

J-BC +vervie%

Using -riverManager: Connection: State*ent and esultSet

J-BC 'rchitecture and '()

J(' +vervie%

J(' 'rchitecture and (rogra**ing "ie%

Entity Classes and 'nnotations

Mapping an Entity Class

EntityManager#actory and EntityManager

Working %ith J(' 1#ind 4y pri*ary key and inserts3

'dditional Java #eatures

Page 40: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 40/85

'ssertions

Type,safe Enu*s

'nnotations

La*4da E6pressions and Method eferences 1Java $ or later only3

'dditional #eatures

)A+ Strea*s 1+ptional3

eaders and Writers

#ilter Strea*s

Byte Strea*s

#or*atted +utput

0e% )A+ 10)+3 '()s

Page 41: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 41/85

Page 42: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 42/85

Page 43: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 43/85

Page 44: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 44/85

Page 45: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 45/85

Page 46: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 46/85

Page 47: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 47/85

Ora"le raining Course Overview

* Approa"h to !ata Management

* Introdu"tion to prere3uisites

* File and File system

* !isadvantages of file

* .eview of !ata,ase Management erminology* !ata,ase Models

* 5ierar"hal Model

* /etwork Model

Introdu"tion to .!(MS

* Feature of .!(MS

* Advantages of .!(MS over FMS ad !(MS

* he >@ rules %48F Codds .ules =.!(MS&

* /eed for !ata,ase !esign

* Support of /ormali1ation 'ro"ess for !ata Management* Client server e"hnology

* Ora"le Corporation 'rodu"ts

* Ora"le 6ersions

* A,out S<#S<#*'#-S

* !ata .etrieval #anguage %!.#&

* !ata Manipulation #anguage %!M#&

* ransa"tion Control #anguage %C#&

Introdu"tion to S<# !ata,ase O,$e"t

* Ora"le 're !efined !ata types

* !!# Commands

* Create: Alter %add: modify: rename: drop&Columns: .ename: trun"ate: drop

* !M#Insert: update: delete

* !<#S4#4C Statements using W54.4"lause

* Comparison and Conditional Operators

* Arithmeti" and #ogi"al Operators

* Set Operators %-/IO/: -/IO/ A##: I/4.S4C: MI/-S&

* Spe"ial Operators = I/ %/O I/&: (4W44/ %/O (4W44/&: #IJ4 %/O#IJ4&: IS /-## %

* Working with !M#: !.# Commands

(uilt in Fun"tions

* Arithmeti" Fun"tions: Chara"ter Fun"tions: !ate Fun"tions: Conversion Fun"tions

;rouping the .esult of a <uery

* -sing ;roup ,y and 5aving Clause of !.# Statement

Introdu"tion to !(MS

* .elational Model

Su, #anguage Commands

* !ata !efinition #anguage %!!#&

* !ata,ase Se"urity and 'rivileges %!C#&

* Operators Support

* Aggregate Fun"tions: O#A' Fun"tions ;eneral Fun"tions

* -sing Order ,y "lause

Page 48: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 48/85

Working with Integrity Constraints

* Importan"e of !ata Integrity

* Support of Integrity Constraints for .elating a,le in .!(MS

* /O /-## "onstraint

* -/I<-4 "onstraint

* '.IMA. J4 "onstraint

* FO.4I;/ J4 "onstraint* C54CJ "onstraint

* -nderstanding O/ !4#44 "lause in referential integrity "onstraint

* Working with "omposite "onstraint

* Applying !4FA-# option to "olumns

* Working with multiple "onstraints upon a "olumn

* Adding "onstraints to a ta,le

* !ropping of "onstraints

* 4na,ling 2 !isa,le "onstraints

<uerying Multiple a,les %0oins&

* 43ui 0oin2Inner 0oin2Simple 0oin

* Cartesian 0oin

* /on43ui 0oin

* Outer 0oins

* Self 0oin

Working with Su, <ueries

* -nderstanding the pra"ti"al approa"h to Su, <ueries2/ested Sele"t2Su, Sele"t2Inne

* What is the purpose of a Su, <uery?

* Su, <uery 'rin"iple and -sage

* ype of Su, <ueries

* Single .ow

* Multiple .ow

* Multiple Column

* Applying ;roup Fun"tions in Su, <ueries

* he impa"t of 5aving Clause in Su, <ueries

* I/: A/2SOM4: A## Operators in Su, <ueries

* 'AI. WIS4 and /O/ 'AI. WIS4 Comparison in Su, <ueries

* (e P Aware of /-##s

* Correlated Su, <ueries

Working with !C#: C# Commands

* ;rant: .evoke

* Commit: .oll,a"k: Savepoint

* S<# 4ditor Commands

Maintaining !ata,ase O,$e"ts

* Working with different types of integrity Constraints

.4F "onstraint

* <uerying for "onstraints information

* 5andling !ata .etrieval with 49ISS and /O 49ISS Operators

* S<# 4nvironment settings

Page 49: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 49/85

6I4WS in Ora"le

* -nderstanding the Standards of 6I4WS in Ora"le

* ypes of 6I4WS

* .elational 6iews

* O,$e"t 6iews

* 'rere3uisites to work with views

* 'ra"ti"al approa"h of SIM'#4 6I4WS and COM'#49 6I4WS* Column definitions in 6I4WS

* -sing 6I4WS for !M# Operations

* In#ine 6iew

* For"ed 6iews

* 'utting C54CJ Constraint upon 6I4WS

* Creation of .4A! O/# 6I4WS

* -nderstanding the I/ #I/4 6I4WS

* A,out Materiali1ed 6iews

* 6iew riggers

'seudo Columns in Ora"le

* -nderstanding 'seudo Columns in Ora"le

* ypes of 'seudo Columns in Ora"le

* C-..6A# and /496A#

* #464#

* .OWI!

!ata 'artitions 'arallel 'ro"ess

* ypes of 'artitions

* .ange 'artitions

* 5ash 'artitions

* #ist 'artition

* Composite 'artition

* 'arallel <uery 'ro"ess

#o"ks

* .ow level #o"ks

* a,le #evel #o"ks

* Shared #o"k

* 4+"lusive #o"k

* !ead #o"k

S<# * #oader

* S<# * #oader Ar"hite"ture

* !ata file %Input !atafiles&

* Control file

* (ad file

Working with Se3uen"esWorking with Synonyms

Working with Inde+ and Clusters

Creating Cluster a,les: Implementing #o"ks: working with roles

* .OW/-M

Page 50: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 50/85

* !is"ard file

* #og file

* 8t+t to ,ase ta,le

* 8"sv to ,ase ta,le

* Introdu"tion to 'rogramming #anguages* Introdu"tion to '#2S<#

* he Advantages of '#2S<#

* '#2S<# Ar"hite"ture

* '#2S<# !ata types

* 6aria,le and Constants

* -sing (uiltQin Fun"tions

* Conditional and -n"onditional Statements

* Simple if: ifP else: nested if88else: if88else #adder

* Iterations in '#2S<#

* S<# within '#2S<#

* Composite !ata types %Complete&

* Cursor Management in '#2S<#

* Impli"it Cursors

* 4+pli"it Cursors

* Cursor Attri,utes

* Cursor with 'arameters

* Cursors with #OO's /ested Cursors

* Cursors with Su, <ueries

* .ef8 Cursors

Advan"ed '#2S<#

* 'ro"edures in '#2S<#

* SO.4! '.OC4!-.4S

* 'OSIIO/A# /otation and /AM4! /otation

* 'ro"edure with Cursors

* !ropping a 'ro"edure

* Fun"tions in '#2S<#

* !ifferen"e ,etween 'ro"edures and Fun"tions

* -ser !efined Fun"tions

* /ested Fun"tions

* -sing stored fun"tion in S<# statements

* 'a"kages in '#2S<#

* 'rivate and 'u,li" O,$e"ts in 'ACJA;4

* From more than one file to single ta,le

P#$S%# (Procedure #anguage & S%#)

* Sele"tion Case: Simple Case: ;OO #a,el and 49I

* Simple #OO':W5I#4 #OO':FO. #OO' and /4S4! #OO'S

* .e"ord and '#2S<# a,le ypes

* '.OC4!-.4 with 'arameters %I/:O- and I/ O-&

* Creating 'ACJA;4 Spe"ifi"ation and 'ACJA;4 (ody

49C4'IO/S in '#2S<#

Page 51: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 51/85

* -ser !efined 4+"eptions

* 're !efined 4+"eptions

* .AIS4QA''#ICAIO/Q4..O.

* '.A;MAQA-O/OMO-SQ.A/SACIO/

* S<# 4rror Code 6alues

!ata,ase riggers in '#2S<#* ypes of riggers

* .ow #evel riggers

* Statement #evel riggers

* !!# riggers

* rigger Auditing

File Input2Output

* '#2S<# file I2O %Input2Output&

* -sing -#QFI#4 'a"kage

Implementing O,$e"t e"hnology

* What is O,$e"t e"hnology ?* OO'SO,$e"t Instan"es

* Creation of o,$e"ts

* Creating -ser !efined !ata ypes

* Creating O,$e"t a,les

* Inserting rows in a ta,le using O,$e"ts

* .etrieving data from O,$e"t ,ased a,les

* Calling a Method

* Inde+ing A,sta"t !ata type Attri,utes

-sing #O(S

* #arge O,$e"ts %#O(S&

* Creating a,les#O(

* Working with #O( values

* Inserting: -pdating !eleting 6alues in #O(s

* 'opulating #o,is !(MSQ#O( .outines

* -sing (FI#4

-sing Colle"tions

* Advantages of "olle"tion

* .ef "ursor %!ynami" Cursor&

* Weak ref "ursor

* Strong ref "ursor

* /ested a,les 6A..AS or 6A.I/; arrays

* Creating ta,les using nested ta,les

* Inserting: updating deleting /ested

* a,le re"ords

* /ested ta,le in '#2S<#

Ora"le !ata,ase Ar"hite"ture

* Introdu"tion to Ora"le !ata,ase Ar"hite"ture

* 'hysi"al stru"tures #ogi"al stru"tures

* ypes of e+"eptions

Page 52: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 52/85

* !( Memory Stru"tures (a"kground 'ro"ess

* @ ire: 7 ire: /ier Ar"hite"ture

Advan"ed Features

* Ni 0oines

* /ew !ate fun"tion

* .ename "olumn

* Inner 0oin2/atural 0oin* #eft Outer 0oin2.ight Outer 0oin

* Full Outer 0oin

* Multiple Inserts

* Insert All Command

* Merge statement

* /6#@%&: /-##IF%&: COA#4SC4%&

* CAS4 e+pression of Sele"t Command

* emporary a,les2;lo,al a,les

* /ew Fun"tion 49.AC%&

* Autonomous ra"tion* 'ragma Q AutonomousQ ransa"tion%&

* (ulk Colle"t

* A,out Flash (a"k <ueries

* !ynami" S<#

* /ew data types: Flash ,a"k Command

* 'urge Command: .e"y"le,in

* .egular e+pressions: !M# 4rror #ogging

* !ata 'ump: 6irtual Columns

* .ead only ta,les: Cross ta, 6iews using

* 'ivot2-npivot operators: Follows Clause

* Compound triggers: /ew data types

!(A CO/C4'S

* !ata,ase

* a,lespa"e

* ypes of a,lespa"es

* !ata files 2Se

Page 53: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 53/85

`

Page 54: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 54/85

Page 55: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 55/85

Page 56: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 56/85

Page 57: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 57/85

Page 58: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 58/85

Page 59: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 59/85

Page 60: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 60/85

Page 61: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 61/85

Introdu"tion to Colle"tions

* What is Colle"tion?

* What Is a Colle"tions Framework?

* (enefits of the 0ava Colle"tions Framework

* !ifferen"e ,etween arrays and "olle"tions

* ypes of Colle"tions

#ist

* What is #ist?

* Advantages of #ist

* !isadvantages of #ist

* Appli"ations

* #ist Methods

* Array#ist

* 6e"tor

* Sta"k* #inked#ist

* Con"urrent #ists

* CopyOnWriteArray#ist

* !ifferen"e ,etween Array#ist and #inked#ist

* !ifferen"e ,etween Array#ist and CopyOnWriteArray#ist

4+amples on a,ove lists

.eading 4lements from "olle"tions

* -sing getter methods

* 4nhan"ed for loop

* Cursors!ifferen"e ,etween Iterator and #istIterator

* Iterator

* #istIterator

* 4numeration

* !ifferen"e ,etween Iterator and 4nueration

* What is failfast iterator and failsafe iterator

Working with Compara,le and Comparator

Set

* What is Set?

* Advantages of Set

* Appli"ations of Set

* Set methods

* ypes of Sets

* 5ashSet

* #inked5ashSet

* SortedSet

* /aviga,leSet

* reeSet

* Con"urrent sets

* ypes Of #ist!ifferen"e ,etween Array#ist and 6e"tor

Page 62: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 62/85

* CopyOnWriteArraySet

* Con"urrentSkip#istSet

4+amples on ea"h type of set

<ueue

* What is <ueue?

* Advantages of <ueue

* Appli"ation of <ueue* Methods of <ueue

* ypes of <ueueCon"urrent <ueues

* 'riority<ueue

* #inked(lo"king<ueue

* Array(lo"king<ueue

* 'riority(lo"king<ueue

* !elay<ueue

* Syn"hronous<ueue

* #inked(lo"king!e3ue

* #inkedransfer<ueue4+amples on ea"h type of <ueue

Map

* What is Map?

* Advantages of Map

* Map methods

* ypes of Maps

* 5ashMap

* #inked5ashMap

* SortedMap

* /aviga,leMap

* reeMap

* Identity5ashMap

* Weak5ashMap

* 5ashta,le

* 'roperties

Con"urrent Maps

* Con"urrent5ashMap

* Con"urrentSkip#istMap

Page 63: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 63/85

Java Concurrency 

 Java Concurrency / Multithreading Tutorial

Multithreading Benefts

Multithreading Costs

Creating and Starting Java Threads

Race Conditions and Critical Sections

 Thread Saety and Shared Resources

 Thread Saety and Immutability

 Java Memory Model

 Java Synchronied Bloc!s

 Java"s #olatile $ey%ord

 Java Thread&ocal

 Thread Signaling

'eadloc!

'eadloc! (revention

Starvation and )airness

*ested Monitor &oc!out

Sli++ed Conditions

&oc!s in Java

Read / ,rite &oc!s in Java

Reentrance &oc!out

Sema+hores

Bloc!ing -ueues

 Thread (ools

Com+are and S%a+.natomy o a Synchronier

Page 64: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 64/85

ANGULAR JS

INTRODUCTION

Ex!essions

Di!e"tives

Cont!olle!s

Filte!s

#T$L DO$

Events

$odules

Sin%le &a%e Ali"ations

•  'ngularJS E6pressions

•  'ngularJS 0u*4ers

•  'ngularJS Strings

• 

'ngularJS +4&ects

•  'ngularJS 'rrays

•  -irectives

o  ng,app

o  ng,init

o  ng,*odel

o  ng,repeat

o  ng,Class

o  ng,Te*plate

o  ng,)nclude

•  -ata Binding

•  (roperties

• 

Methods

•  )n E6ternal #iles

•  'dding #ilters to E6pressions

•  The currency #ilter

•  'dding #ilters to -irectives

•  #iltering )nput

•  ng,disa4led

•  ng,sho%

•  ng,hide

•  ng,click

•  5iding 5TML Ele*ents

• 

Controllers (ollute the Glo4al 0a*espace•  'ngularJS 'pplication #iles

An%ula!JS '$L#ttRe(uest•  'ngularJS Dhttp

An%ula!JS Ta)les

An%ula!JS Fo!ms

An%ula!JS Inut *alidation

Page 65: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 65/85

An%ula!JS Se!vi"e T+es

•  Multiple Controllers: Multiple "ie%s

•  outing and Controllers

•  Constants 'nd "alues

•  #actories

•  Services

•  (roviders

•  -ependency )n&ection

Page 66: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 66/85

Page 67: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 67/85

Page 68: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 68/85

Introduction

What You Should Already Know

What is jQuery ?

 Adding the jQuery Library to Your Pages

Basic jQuery Exa!le

"ownloading jQuery

 Alternati#es to "ownloading

 jQuery Syntax

$he "ocuent %eady &unction

'ow to use (usto Scri!ts?

)sing *ulti!le Libraries

 jQuery + no(on,lict-. *ethod

 jQuery – Basics

String/

0ubers/

Boolean/

1bjects/

 Arrays/

&unctions/

 Arguents/

Sco!e/

Built2in &unctions/

 jQuery – Selectors

How to use Selectors?

 jQuery + (SS Eleent Selector 

 jQuery + (SS Eleent 3" Selector 

 jQuery + (SS Eleent (lass Selector 

 jQuery + (SS )ni#ersal Selector 

 jQuery + (SS *ulti!le Eleents E4 &4 5 Selector 

 jQuery (allbac6 &unctions

 jQuery – DO Attri!utes

5et Attribute 7alue/

Set Attribute 7alue/

 jQuery – DO Traversing

&ind Eleents by index/

&iltering out Eleents/

Locating "escendent Eleents /

 jQuery Training Course Overview

Page 69: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 69/85

 A!!ly (SS Pro!erties/

 A!!ly *ulti!le (SS Pro!erties/

Setting Eleent Width 9 'eight/

8Query (SS *ethods/

 jQuery – DO ani#ulation et"ods

(ontent *ani!ulation/

"1* Eleent %e!laceent/

%eo#ing "1* Eleents/

3nserting "1* eleents/

"1* *ani!ulation *ethods/

 jQuery – $vents Handling

Binding e#ent handlers/

%eo#ing e#ent handlers/

E#ent $y!es/

$he E#ent 1bject/

$he E#ent Attributes/

 jQuery – $%%ects

8Query E,,ect *ethods/

 jQuery 'ide and Show

 jQuery $oggle

 jQuery Slide + sl ide"own4 slide)!4 slide$oggle

 jQuery &ade + ,ade3n4 ,ade1ut4 ,ade$o

 jQuery (usto Aniations

 jQuery – AJA&

load-.

get-.

!ost-.

ajax-.

 jQuery – JSO'

get8S10-.

Page 70: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 70/85

Page 71: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 71/85

Page 72: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 72/85

Page 73: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 73/85

Page 74: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 74/85

Page 75: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 75/85

Page 76: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 76/85

Page 77: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 77/85

Oracle Training Course Overview

 A!!roach to "ata *anageent

3ntroduction to !rere:uisites

&ile and &ile syste

"isad#antages o, ,ile

%e#iew o, "atabase *anageent $erinology

"atabase *odels

Introduction to (DBS

&eature o, %"B*S

 Ad#antages o, %"B*S o#er &*S ad "B*S

$he ;< rules -E=& (odd>s %ules +%"B*S.

0eed ,or "atabase "esign

Su!!ort o, 0oraliation Process ,or "ata *anageent

(lient ser#er $echnology

1racle (or!oration Products

1racle 7ersions

 About SQL9SQL@PL)S

"ata %etrie#al Language -"%L.

"ata *ani!ulation Language -"*L.

$ransaction (ontrol Language -$(L.

Introduction to SQ) Data!ase O!ject

1racle Pre "e,ined "ata ty!es

""L (oands

(reate4 Alter -add4 odi,y4 renae4 dro!.(oluns4 %enae4 truncate4 dro!

"*L23nsert4 u!date4 delete

"QL2SELE($ Stateents using W'E%Eclause

(o!arison and (onditional 1!erators

 Arithetic and Logical 1!erators

Set 1!erators -)03104 )0310 ALL4 30$E%SE($4 *30)S.

S!ecial 1!erators + 30 -01$ 30.4 BE$WEE0 -01$ BE$WEE0.4 L3KE -01$L3KE.4 3S 0)LL -3S 01$ 0)LL.

Wor6ing with "*L4 "%L (oands

Introduction to DBS+

•  'ierarchal *odel

•  0etwor6 *odel

•  %elational *odel 

Su! )anguage Co,,ands+

"ata "e,inition Language -""L.

"atabase Security and Pri#ileges -"(L. 

Page 78: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 78/85

 Arithetic &unctions4 (haracter &unctions4 "ate &unctions4 (on#ersion &unctions

-rou#ing t"e (esult o% a Query

)sing 5rou! by and 'a#ing (lause o, "%L Stateent

.or/ing wit" Integrity Constraints

3!ortance o, "ata 3ntegrity

Su!!ort o, 3ntegrity (onstraints ,or %elating $able in %"B*S

)nderstanding 10 "ELE$E clause in re,erential integrity constraint

Wor6ing with co!osite constraint

 A!!lying "E&A)L$ o!tion to coluns

Wor6ing with ulti!le constraints u!on a colun

 Adding constraints to a table

"ro!!ing o, constraints

Enabling "isable constraints

Querying ulti#le Ta!les 0Joins1

E:ui 8oin3nner 8oinSi!le 8oin

(artesian 8oin

0on2E:ui 8oin

1uter 8oins

Sel, 8oin

.or/ing wit" Su! Queries

)nderstanding the !ractical a!!roach to Sub Queries0ested SelectSub Select3nner Select1uter Select

What is the !ur!ose o, a Sub Query?

Sub Query Princi!le and )sage

$y!e o, Sub Queries

Single %ow

*ulti!le %ow

 Aggregate &unctions4 1LAP &unctions 9 5eneral &unctions 

)sing 1rder by clause 

•  01$ 0)LL constraint

•  )03Q)E constraint

•  P%3*A%Y KEY constraint

•  &1%E350 KEY constraint

•  ('E(K constraint

Wor6ing with di,,erent ty!es o, integrity (onstraints 

($* constraint

Querying ,or constraints in,oration 

Page 79: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 79/85

304 A0YS1*E4 ALL 1!erators in Sub Queries

PA3% W3SE and 010 PA3% W3SE (o!arison in Sub Queries

Be Aware o, 0)LL>s

(orrelated Sub Queries

.or/ing wit" DC)2 TC) Co,,ands

5rant4 %e#o6e

(oit4 %ollbac64 Sa#e!oint

SQL Editor (oands

aintaining Data!ase O!jects

3I$.S in Oracle

)nderstanding the Standards o, 73EWS in 1racle

$y!es o, 73EWS

%elational 7iews

1bject 7iews

Prere:uisites to wor6 with #iews

Practical a!!roach o, S3*PLE 73EWS and (1*PLEC 73EWS

(olun de,initions in 73EWS

)sing 73EWS ,or "*L 1!erations

3n2Line 7iew

&orced 7iews

Putting ('E(K (onstraint u!on 73EWS

(reation o, %EA" 10LY 73EWS

)nderstanding the 30 L30E 73EWS

 About *aterialied 7iews

7iew $riggers

4seudo Colu,ns in Oracle

)nderstanding Pseudo (oluns in 1racle

$y!es o, Pseudo (oluns in 1racle

()%%7AL and 0EC$7AL

LE7EL

%1W3"

Data 4artitions 5 4arallel 4rocess

'andling "ata %etrie#al with EC3S$S and 01$ EC3S$S 1!erators  

SQL En#ironent settings 

.or/ing wit" Se6uences

.or/ing wit" Synony,s

.or/ing wit" Inde7 and Clusters

Creating Cluster Ta!les2 I,#le,enting )oc/s2 wor/ing wit" roles

%1W0)* 

Page 80: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 80/85

'ash Partitions

List Partition

(o!osite Partition

Parallel Query Process

)oc/s

%ow le#el Loc6s

$able Le#el Loc6s

Shared Loc6

Exclusi#e Loc6

"ead Loc6

SQ) 8 )oader 

SQL @ Loader Architecture

"ata ,ile -3n!ut "ata,iles.

(ontrol ,ile

Bad ,ile

"iscard ,ile

Log ,ile

=txt to base table

=cs# to base table

3ntroduction to Prograing Languages

3ntroduction to PLSQL

$he Ad#antages o, PLSQL

PLSQL Architecture

PLSQL "ata ty!es

7ariable and (onstants

)sing BuiltDin &unctions

(onditional and )nconditional Stateents

Si!le i,4 i, else4 nested i,==else4 i,==else Ladder 

3terations in PLSQL

&ro ore than one ,ile to single table 

4)9SQ) 04rocedure )anguage – SQ)1

Selection (ase4 Si!le (ase4 51$1 Label and EC3$

•  Si!le L11P4W'3LE L11P4&1% L11P and 0ES$E" L11PS

•  SQL within PLSQL

•  (o!osite "ata ty!es -(o!lete.

•  (ursor *anageent in PLSQL

•  3!licit (ursors

• 

Ex!licit (ursors

•  (ursor Attributes

Page 81: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 81/85

Advanced 4):SQ)

4rocedures in 4):SQ)

S$1%E" P%1(E")%ES

P1S3$310AL 0otation and 0A*E" 0otation

Procedure with (ursors

"ro!!ing a Procedure

)ser "e,ined Exce!tions

Pre "e,ined Exce!tions

%A3SEDAPPL3(A$310DE%%1%

P%A5*ADA)$101*1)SD$%A0SA($310

SQL Error (ode 7alues

Data!ase Triggers in 4):SQ)

$y!es o, $riggers

%ow Le#el $riggers

Stateent Le#el $riggers

""L $riggers

$rigger Auditing

*ile In#ut:Out#ut

PLSQL ,ile 31 -3n!ut1ut!ut.

)sing )$LD&3LE Pac6age

I,#le,enting O!ject Tec"nology

What is 1bject $echnology ?

11PS21bject 3nstances

(reation o, objects

•  %e,= (ursors

•  %ecord and PLSQL $able $y!es 

P%1(E")%E with Paraeters -3041)$ and 30 1)$.

•  *unctions in 4):SQ)

•  "i,,erence between Procedures and &unctions

•  )ser "e,ined &unctions

•  0ested &unctions

•  )sing stored ,unction in SQL stateents

•  4ac/ages in 4):SQ)

•  (reating PA(KA5E S!eci,ication and PA(KA5E Body

•  Pri#ate and Public 1bjects in PA(KA5E

$&C$4TIO'S in 4):SQ)

Ty#es o% e7ce#tions

Page 82: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 82/85

%etrie#ing data ,ro 1bject based $ables

(alling a *ethod

3ndexing Abstact "ata ty!e Attributes

;sing )OBS

Large 1bjects -L1BS.

(reating $ables2L1B

Wor6ing with L1B #alues

3nserting4 )!dating 9 "eleting 7alues in L1Bs

Po!ulating Lobis "B*SDL1B %outines

)sing B2&3LE

;sing Collections

 Ad#antages o, collection

%e, cursor -"ynaic (ursor.

Wea6 re, cursor 

Strong re, cursor 

0ested $ables 7A%%AYS or 7A%Y305 arrays

(reating tables using nested tables

3nserting4 u!dating 9 deleting 0ested

$able records

0ested table in PLSQL

Oracle Data!ase Arc"itecture

3ntroduction to 1racle "atabase Architecture

Physical structures Logical structures

"B *eory Structures Bac6ground Process

< $ire4 $ire4 02$ier Architecture

Advanced *eatures

Fi 8oines

0ew "ate ,unction

%enae colun

3nner 8oin0atural 8oin

Le,t 1uter 8oin%ight 1uter 8oin

&ull 1uter 8oin

*ulti!le 3nserts

3nsert All (oand

*erge stateent

07L<-.4 0)LL3&-.4 (1ALES(E-.

(ASE ex!ression o, Select (oand

$e!orary $ables5lobal $ables

Page 83: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 83/85

Bul6 (ollect

 About &lash Bac6 Queries

"ynaic SQL

0ew data ty!es4 &lash bac6 (oand

Purge (oand4 %ecyclebin

%egular ex!ressions4 "*L Error Logging

"ata Pu!4 7irtual (oluns

%ead only tables4 (ross tab 7iews using

Pi#ot)n!i#ot o!erators4 &ollows (lause

(o!ound triggers4 0ew data ty!es

DBA CO'C$4TS

"atabase

$ables!ace

$y!es o, $ables!aces

"ata ,iles Se

Page 84: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 84/85

JA*ASCRI&T)ntroduction to &avascript

Synta6

State*ents

Co**ents

Ena4ling in various 4ro%sers

(opup Bo6es

'lert

Confir*

(ro*pt

"aria4les

+perators

'rith*etic

'ssign*ent

Co*parison

LogicalConditional

Conditional State*ents

if 

if$$$else

if$$$else if$$$else

S%itch

Loops

%hile

do$$$%hile

for

for$$$in State*ent

Break

Continue

#unctions

User,defined #unctions

#unction Synta6

#unction %ith 'rgu*ents

eturning "alues fro* #unctions

Local and Glo4al "aria4lesBuilt,in #unctions

parase)nt and parse#loat

Events

)ntroduction

Mouse Events

9ey4oard Events

#or* Events

-ocu*entAWindo% Events

Page 85: Java J2EE Syll

8/19/2019 Java J2EE Syll

http://slidepdf.com/reader/full/java-j2ee-syll 85/85

Cookies

(age redirection

(age (rinting

Built,in +4&ects

)ntroduction

0u*4er

Strings

Math

'rrays

'ssociative

'rray (roperties and Methods

-ate

Boolean

ege6p

5TML -+M

'dvanced &avascript

Error handling#or* "alidations

Basics of #or* "alidation

"alidating adio Buttons

"alidating Check4o6es

"alidating Select Menus

"alidating Te6tareas

-e4ugging

Bro%sers