Differences between AOP and OOP, JAVA Programming

     Objec t Orie nte d Programm i ng (O OP)


         A sp ec t Orie nte d Programm i ng (A OP)

OOP   defines     an   application a s   a   set   of   co lla borating objects. OOP code scatters sy ste m level code like security, logging etc w i th the business logic code.

AOP   defines   at   t he   complex   softw a re   s y stem   a s   combined implementation of multiple concerns like data persistence, busine ss logic,    logging,    securit y  multithread    s afet y  e rro r handling, and so on. Separ ates business rules code from t he sy stem level program . In fact one concern remains una w are o f other rule s.

OOP nomenclatu re has o bjects, classes, interfaces etc.

AOP nomenclatu re has advice, point cuts, join points, and aspects.

Gives benefits such as code reuse, flex ibility , im proved maintainability , modular architect ure, red uced development time etc w i th th e hel p of e ncapsulation, inheritance and pol y mo rphism.

AOP implementa tion exists w i th the OOP b y cho osing OOP as the base language. E.g : Aspect uses Java as the base languag e.

AOP give s be nefits p rovided by OOP plus som e additional benefits.


Posted Date: 7/26/2012 5:31:41 AM | Location : United States

Related Discussions:- Differences between AOP and OOP, Assignment Help, Ask Question on Differences between AOP and OOP, Get Answer, Expert's Help, Differences between AOP and OOP Discussions

Write discussion on Differences between AOP and OOP
Your posts are moderated
Related Questions
We may use the java.net.URL and java.net.URLConnection classes to start a standard HTTP connection and "tunnel" to a Web server. The server then gives this information to the s

Implement a class  Book  (Book.java). A book will have three instance variables: a  title  (a String, for example: "Big Java" or "The Hitchhiker's Guide to the Galaxy"), an  author

Are you real? I dont want to get help from a computer

cocos2d-x puzzle game for kids Project Description: I am seeking a skilled, reliable, and not very expensive cocos2d-x developer (with experience with iOS, Android, and prefe

WebSphere - Weblogic and Apache: Building/Installation  and maintenance of Solaris and Linux machines. Exposure to Sun Hardware : Sunfire v880,v890.V440,X4600

student are required to construct classes for circle,triangle,trapezium and kite.

write a program to find the area under the curvey y=f(x) between x=a and x=b.integrate y=f(x) between the limits of a and b. the area under a curve between two points can be found

Project Description: I am planning to prepare a website which caters the services to online internet users. I have already prepared most HTML5 pages by own and wanted to impl

Test Driven Development (TDD) TDD process gives your confidence in the delivered code for the following things. 1. TDD can remove duplication of code and also disciplines t

Writing a report