Home » #annotations

#annotations

Spring AOP

Introduction Spring AOP (Aspect Oriented Programming) compliments OOPs as it also provides modularity. But The key unit of modularity in OOP is the class, whereas in AOP the unit of modularity is the aspect.  AOP breaks the program logic into distinct parts (called concerns). It is used to increase modularity by cross-cutting concerns such as transaction management, […]

Spring AOP Read More »

Spring

41. Differentiate between WebClient and WebTestClient?The difference between the Web client and Webtestclient can be stated as follows. Web client Webtestclient Web client acts as a reactive client who performs non-blocking HTTP requests.  Webtestclient also acts as a reactive client that can be used in tests. It can handle reactive streams with backpressure. It can

Spring Read More »

Spring

21. What is Annotation based Container configuration? How can we turn on annotation wiring in Spring framework?Annotation-based container configuration is an alternative to XML setups. Rather than using XML for describing a bean wiring, the developer moves the configuration to the component class by using annotations on the appropriate class, field, or method declaration.Because annotation

Spring Read More »

Spring

1. What is Spring Framework? Spring is one of the most widely used Java EE frameworks. Spring framework core concepts are “Dependency Injection” and “Aspect-Oriented Programming”.Spring framework can be used in normal java applications also to achieve loose coupling between different components by implementing dependency injection. We can perform cross-cutting tasks such as logging and

Spring Read More »

Scroll to Top