Notes

Spring 01 – Introduction

Spring Framework – Overcome tightly-coupled
Dependency of Injection – Inversion of Control
Install Spring Framework (Two ways)
-> Dependency Management Tool – Maven downloads spring jars from central repository
-> download jars directly
Spring project recommends 1st way
Java Beans or Beans

Log4 j
Library for logging functionality
Speed and thread safety
Allows to set different logging levels
Download log 4 j
https://logging.apache.org/log4j/2.x/download.html
Levels
ALL<DEBUG<INFO<WARN<ERROR where advice is actually applied
Aspect = Advice + Pointcut
Introduct/Mixin -> introduce new methods to a class
Weaving – process of creating proxies
4 main components
 Application context
 A configuration class
 The beans
 Aspect that advice beans

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s