Watch “Spring Part-5 | Aspect Oriented Programming (AOP) and Application Context (Gujarati)” on YouTube

Aspect Oriented Programming (AOP)
✔️ AOP complements OOP by providing another way of thinking about program structure.
✔️ The key unit of modularity in OOP is the class.
✔️ In AOP the unit of modularity is the aspect (piece/portion/module)
✔️ Aspects enable the modularization of concerns such as transaction management that cut across multiple types and objects, such concerns are often termed crosscutting concerns in AOP
✔️ Breaking down program logic into distinct parts called so-called concerns in AOP.
✔️ The functions that span multiple points of an app are called cross-cutting concerns.
✔️ These cross-cutting concerns are conceptually separate from the application’s business logic.
✔️ There are various common good examples of aspects like logging, auditing, declarative transactions, security, and caching etc.

Follow me @
✍️ https://raviroza.blogspot.com/
✍️ https://www.facebook.com/ravi.oza.it
✍️ https://twitter.com/raviozaIT
📹 https://www.youtube.com/user/ravioza101

#RaviROza #SpringFramework #AdvanceJava #Jdk #Java #Gujarati

Watch “Spring Part-4 | Modules of Spring Framework and IoC (Gujarati)” on YouTube

Dependency Injection (IoC)
✔️ Objects can be added and tested independently of other objects.
✔️ Because they don’t depend on anything other than what you pass them.
✔️ To test an object you have to create an environment where all of its dependencies exist and are reachable before you can test it.
✔️ With DI, it’s possible to test the object in isolation passing it mock objects for the ones you don’t want or need to create.
✔️ Likewise, adding a class to a project is facilitated because the class is self-contained.
✔️ DI frameworks are often driven by XML files that help specify what to pass to whom and when.
✔️ IoC describes that a dependency injection needs to be done by an external entity instead of creating the dependencies by component itself.
✔️ Dependency injection is a process of injecting (pushing) the dependencies into an object

Follow me @
✍️ https://raviroza.blogspot.com/
✍️ https://www.facebook.com/ravi.oza.it
✍️ https://twitter.com/raviozaIT
📹 https://www.youtube.com/user/ravioza101

#RaviROza #SpringFramework #AdvanceJava #Jdk #Java #Gujarati