• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

What is AOP in general ?

 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
New to spring Framework , I am trying to learn this .
This is from a site
In Spring, AOP is a little different than other AOP frameworks in that it brings with it a consistent AOP infrastructure that can be applied for other AOP technical solutions.

I just wanted to know what is AOP in general
 
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In short the intention is to solve cross-cutting concerns (concerns that cut across many functionality).
Examples of cross-cutting concerns are logging, transaction management, security. Some of us just don't want to put similar or nearly identical logging code in 200 methods.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,I just want to add some few words , on this . Logging, transaction management, security are implemented in various technologies but there are differences in implementing one with another, which leads to concern wich to use and whether one can be enhanced to another.

Such concerns are cut down by spring framework, so that it can fit into all persistant technologies, and transaction related issues and as well as security issues

please guide me If I go wrong
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

rajabhayya Sekharbhayya wrote:
Such concerns are cut down by spring framework, so that it can fit into all persistant technologies, and transaction related issues and as well as security issues


I don't think so. We use AOP because we want to separate concerns. For example, business logic, transaction, security are separated concerns, but in traditional programming we have to mix it together.
Using AOP solves this problem, the code looks cleaner, business logic, transaction, security are clearly separated.
 
CLUCK LIKE A CHICKEN! Now look at this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic