Tuesday, September 4, 2007

Aspect Oriented Programming

Well, to have an overview on AOP, its an 'aspect oriented' extension to the java programming language.

It basically makes your busimess logic more focused and clean.
Firstly need to identify the aspects (like logging, locking, etc). And this aspects can be applied to the normal business logic.

To implement the AOP in Java , we have AspectJ which is developed by Xerox.

All valid Java programs are lso valid AspectJ programs, but AspectJ also allows programmers to define special constructs called aspects.
Aspects can contain several entities unavailable to standard classes.

Those are:
- inter-type decleratons
- pointcuts
- advice

2 comments:

Ameya Aloni said...
This comment has been removed by the author.
Ameya Aloni said...

Hi Pavani,

I found this as, a really helpful blog. In fact, the Sharad is going to conduct a session on AOP shortly. You may also be able to contribute to his work. So think of it. I am waiting for a session from both of you.

Keep up the good work and best of luck.
- Ameya