Differences between AOP and OOP, JAVA Programming

Assignment Help:


     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.

 


Related Discussions:- Differences between AOP and OOP

What is the set interface, What is the Set interface? A Set interface i...

What is the Set interface? A Set interface is collection of element that can't be duplicated. Set interface comprise methods inherited from collection. It provides method

How much cpu time does an applet get, How much CPU time does an applet get?...

How much CPU time does an applet get? One of the few legitimate concerns about hostile applets is excessive use of CPU time. It is possible on a non-preemptively multitasking s

Java collection framework., #question.Write a program that computes the edi...

#question.Write a program that computes the edit distance (also called the Levenshtein distance, for its creator Vladimir Levenshtein) between two words. The edit distance between

Windows registry, need a java program that can read and display the values ...

need a java program that can read and display the values from a windows registry

Creating applications based on soa, Creating applications based on SOA ...

Creating applications based on SOA Select your implementation technologies carefully. Carefully check if Web services are suitable. Sometimes using traditional methods suc

What are the steps of working of tcp and ip protocols, What are the steps o...

What are the steps of working of TCP and IP protocols within internet transmission? TCP divide messages in several packets (capsulation) and sent these messages over the internet

Difference between static and non-static variable, What is the difference b...

What is the difference between static and non-static variables? A static variable is associated with the class as a whole rather than with specific instances of a class. Non-st

Preventing applet based social engineering attacks, Preventing Applet Based...

Preventing Applet Based Social Engineering Attacks To help avoid this, Java applet windows are specifically labeled as such along with an ugly bar that says: "Warning: Applet W

Develop a supply chain management, Develop a Supply Chain Management Pro...

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

Please help, please help please help please help please help please help pl...

please help please help please help please help please help please helpplease help please help

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd