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
What is Overloading explain with an example? Overloading is while the similar method or operator can be used on several different kinds of data. For example the + sign is used

YES. JSP technology is extensible by the development of custom actions, or tags, which are encapsulated in tag libraries. #question..

ANDROID APK for 3G dongles support Project Description: We want someone who will modify this Android app or code a similar one. The App function is to let Android tablet P

What is bandwidth? In a general way Bandwidth is a capacity of communication channel of carrying data.

I have a GUI assignment due Friday noon and i can''t get my hand on it will anyone be able to solve it to me and what is the cost?

What is hash Map

In  order  to  provide  portable  and  reliable  EJB  elements,  the  following  restrictions  apply  to  EJB  code implementation: 1. Avoid using static non-final fields. Defin

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

Relate in brief - Microsoft vs Java Microsoft hates Java, as a Java program (portable) isn't tied to any particular operating system. If Java is popular, then programs written

I need PS1 emulator for android Project Description: There is an open source app called psx4droid i need a developer to solve problems and bugs and doing performance improvem