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 need a Java Developer a) Having 4.6 years of I.T experience Java, J2EE, spring, Hibernate, JSF, Swings. b) Analyze, identifying and understanding the client requirements a

The fancy new French restaurant La Food is very popular for its authentic cuisine and high prices. This restaurant does not take reservations. To help improve the efficiency of the

Medical Services Referral System:       Role : Websphere Administrator       Involved in Exposure to load balancing tools (BigIP, WAS plug-ins) and Siteminder.


Payroll Calculator for Both Hourly and Commission Employees In assignment 13, we will create a payroll calculator that calculates   gross pay ,   taxes , and   net pay   fo

API consumer -This application should consume a third party API -You should use more than just one method of the API, I'd like to see at least 3 or 4 -Have some concept

What is Runnable JAR archives You can run a program stored within the JAR archive that has a main() method like this: $ java -cp eharold.jar MainClassName You must use the f

Develop a Supply Chain Management Project Description: Supply Chain Management from HK and China Skills required is Java

A value, the data assigned to a variable, may contain any sort of data. Though, JavaScript considers data to fall into many possible types. Based on the type of data, certain opera