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,600 points
18,349 views

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!

Enroll in Spring course online to learn more about it.

Thanks!

answered Nov 16, 2018 by code.reaper12
• 3,500 points

edited Mar 4, 2022 by Sarfaraz
Very nice. The diagram helped a lot to understand the concept.

Thanks...
Very nice definition great job.

Robinson

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,362 views
+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
3,578 views
0 votes
2 answers

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

import java.io.BufferedWriter; import java.io.IOException; 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
2,923 views
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,140 points
4,103 views
0 votes
1 answer

Can I help with the gradle code for AspectJ?

You can go to maven repositories https://mvnrepository.com/artifact/org.aspectj/aspectjtools/1.9.2 ...READ MORE

answered Jan 9, 2019 in Java by Frankie
• 9,830 points
1,423 views
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,830 points
521 views
+1 vote
1 answer
0 votes
1 answer

Failed to Build and deploy JAR app to Azure Web App

You don't need @EnableJpaRepositories because your package ...READ MORE

answered Mar 29, 2022 in Azure by Edureka
• 12,690 points
799 views
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
1,143 views
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
12,550 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP