Benefits of aop (aspect oriented programming), JAVA Programming

Assignment Help:

Benefits of AOP (Aspect Oriented programming)

OOP can give the system level code like transaction management, logging, security etc to scatter throughout the business logic. AOP helps overcome this cause by centralizing these cross-cutting concerns.

2. AOP addresses each aspect separately in a modular fashion with duplication of code and minimal coupling. This modular approach also gives code reuse by using a business rules concern with a separate logger aspect.

3. It is also simpler to add newer functionalities by adding new aspects and weaving principles and subsequently recreating the final code. This ability to add newer functionality as separate aspects enable application designers to defer or delay some design decisions without the dilemma of over designing the program.

4. Promotes rapid development of evolutionary prototypes using OOP by considering only on the business rule by omitting cross-cutting concerns such as auditing, security, logging etc. Once the prototype is accepted, additional concerns like logging, security, auditing etc can be weaved into the prototype code to send it into a production standard application.

5. Developers can concentrate on one prospect at a time rather than having to think simultaneously about logging, performance, security, business logic, multithread safety etc. Different prospects can be developed by different developers based on their key powers.

 


Related Discussions:- Benefits of aop (aspect oriented programming)

Describe general approaches to solve statelessness problem, Problem : (...

Problem : (a) One problem encountered when designing web applications is that HTTP is a "stateless" protocol. Describe two general approaches to solve the statelessness probl

String concatenation and comparison, String concatenation and comparison ...

String concatenation and comparison public class StringTest { public static void main(String[] args) { int i = 4; int j = 5; System.out.println ("Hello" + i); // wi

Difference between object state and behavior, What is difference between ob...

What is difference between object state and behavior? Ans) If you change the state of an object, you ask it to perform a behavior. An object kept its states in a field e.g. vari

Java script, var temp =14; var y = 2; temp document.write(temp);

var temp =14; var y = 2; temp document.write(temp);

What is jms consumer, JMS consumer is a JMS client that receives messages.

JMS consumer is a JMS client that receives messages.

Develop a graphical display framework, Develop a Graphical Display Framewor...

Develop a Graphical Display Framework Project Description: The intent of this project is to prepare a web based graphical display framework that will display many data points

Three ways in which a thread can enter the waiting state, What are three wa...

What are three ways in which a thread can enter the waiting state ?

Javascript, Write a JavaScript program to prompt the user for the radius of...

Write a JavaScript program to prompt the user for the radius of a sphere and call function sphereVolume to calculate and display the volume of the sphere in the status bar.

What is runnable jar archives, What is Runnable JAR archives You can ru...

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

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