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
Medical Services Referral System:       Role : Websphere Administrator       Involved in Exposure to load balancing tools (BigIP, WAS plug-ins) and Siteminder.

Differentiation between if statement and a switch statement ?

Explain Code and Document Bases ? If you don't know the exact URL of the image, but you do know its name and in which it's in the similar directory as the applet, you can use

Write a program in Javascript that will read in an XML file. This file will contain details of devices maintained by the IT department of an organisation including an ID number, de

Write code in JavaScript to display the odd numbers among 20 to 100 using FOR statement? Note: No required to write whole HTML program. Just JavaScript code of require elemen

write a program in java which enters name,roll #,and shows the sum of students english and maths marks?

A servey is done in M.P. by forest department finding different types of species of birds the servey data covered four major cities indore,Bhopal,Gwalior,vidhisa. The result they o

Explain the term - Garbage Collection Java  performs  garbage  collection  and  eliminates  the  need  to  free  objects  explicitly.  When an object  has  no references   to

How can we involve images within a web page using HTML and Java script? Images can be included in HTML through employing tag, below is the format of

What does the " abstract " keyword mean in front of a method and a class ?