Aspect Oriented Programming      XProject Presentation
Aspect Oriented Programming (AOP)•   Motivation•   Usage•   AspectJ•   Benefit•   AOP in .NET•   Demo    – Flight Center  ...
What is AOP?• Motivation  – Complexity  – Crosscutting concerns
AOP Usage•   Logging•   Validation•   Profiling•   Security•   Transaction management - Spring
AOP Concept*.java                                      *.aj*.class bytecode                                      *.class b...
AspectJ• Cross-cutting concern : parallel concern throughout the  modules• Joint point : a point in the execution of a pro...
AOP• So why AOP?  – Encapsulate cross cutting concern  – Better maintenance  – Spring AOP provide schema based or annotati...
AOP in .NET• http://www.springframework.net/• http://www.sharpcrafters.com/aop.net
Demo• Flight Center• Apache Shiro  – Open source security framework• Blog  – mjtoolbox.wordpress.com
Upcoming SlideShare
Loading in …5
×

Summary of Aspect Oriented Programming

1,076 views

Published on

High level summary of AOP

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,076
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Summary of Aspect Oriented Programming

  1. 1. Aspect Oriented Programming XProject Presentation
  2. 2. Aspect Oriented Programming (AOP)• Motivation• Usage• AspectJ• Benefit• AOP in .NET• Demo – Flight Center – Blog – GitHub
  3. 3. What is AOP?• Motivation – Complexity – Crosscutting concerns
  4. 4. AOP Usage• Logging• Validation• Profiling• Security• Transaction management - Spring
  5. 5. AOP Concept*.java *.aj*.class bytecode *.class bytecode .class bytecode
  6. 6. AspectJ• Cross-cutting concern : parallel concern throughout the modules• Joint point : a point in the execution of a program• Pointcut : expression that selects one or more join points• Advice : code to be executed at a join point selected by a pointcut• Aspect ( Pointcut + Advice)• Weaving : Java class bytecode + Aspect class bytecode
  7. 7. AOP• So why AOP? – Encapsulate cross cutting concern – Better maintenance – Spring AOP provide schema based or annotation based AOP.
  8. 8. AOP in .NET• http://www.springframework.net/• http://www.sharpcrafters.com/aop.net
  9. 9. Demo• Flight Center• Apache Shiro – Open source security framework• Blog – mjtoolbox.wordpress.com

×