Concern and cross-cutting concern in Spring AOP

0 votes
Can someone explain the differences between concern and cross cutting concerns in Spring Aspect Oriented Programming?
Nov 16, 2018 in Java by 93.lynn
• 1,610 points

1 answer to this question.

0 votes

The concern is the behavior we want to have in a particular module of an application. It can be defined as a functionality we want to implement. 

The cross-cutting concern is a concern which is applicable throughout the application. This affects the entire application. For example, logging, security and data transfer are the concerns needed in almost every module of an application, thus they are the cross-cutting concerns.

cross cutting concern vs concern - Spring Framework Interview Questions - Edureka!

Hope this helps!

answered Nov 16, 2018 by code.reaper12
• 3,500 points
Very nice. The diagram helped a lot to understand the concept.

Very nice definition great job.


Related Questions In Java

0 votes
1 answer

Various Advice in Spring AOP

Below are the various advices available in AOP: Before: These types ...READ MORE

answered Sep 12, 2018 in Java by geek.erkami
• 2,680 points
+1 vote
3 answers

What is the syntax to declare and initialize an array in java?

You can use this method: String[] strs = ...READ MORE

answered Jul 25, 2018 in Java by samarth295
• 2,220 points
0 votes
2 answers

How can I create File and write data in it using Java?

import; import; import java.nio.file.Files; import java.nio.file.Paths; public class WriteFiles{ ...READ MORE

answered Jul 26, 2018 in Java by samarth295
• 2,220 points
0 votes
2 answers

What is the use of toString method in Java and how can I use it ?

Whenever you require to explore the constructor ...READ MORE

answered Aug 23, 2018 in Java by Daisy
• 8,110 points
0 votes
1 answer

Can I help with the gradle code for AspectJ?

You can go to maven repositories ...READ MORE

answered Jan 9, 2019 in Java by Frankie
• 9,810 points
0 votes
1 answer

What are some of the important Spring annotations which you have used?

Some of the Spring annotations that I ...READ MORE

answered Feb 18, 2019 by Frankie
• 9,810 points
+5 votes
4 answers

How to execute a python file with few arguments in java?

You can use Java Runtime.exec() to run python script, ...READ MORE

answered Mar 27, 2018 in Java by DragonLord999
• 8,450 points

edited Nov 7, 2018 by Omkar 49,592 views
+1 vote
1 answer

How to handle drop downs using Selenium WebDriver in Java

First, find an XPath which will return ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,500 points
0 votes
1 answer

Annotation wiring in Spring

By default, Annotation wiring is not turned ...READ MORE

answered Jul 4, 2018 in Java by code.reaper12
• 3,500 points
0 votes
1 answer

Configuration metadata in Spring Framework

Configuration metadata can be provided to Spring container in ...READ MORE

answered Aug 3, 2018 in Java by code.reaper12
• 3,500 points