Posts

Showing posts with the label Spring Interview Questions and Answers

Spring Interview Questions and Answers

Image
Q1).  What is a spring? Ans:   Spring  is set to be a framework which helps Java programmer for development of code and it provides IOC container, Dependency Injector, MVC flow and many other APIs for the java programmer. Q2). What are Advices in Spring? Ans:  It is the execution of an aspect. Advice is like making your application learn a new trick. They are usually introduced at joinpoints. Q3). What is the default scope of bean in Spring framework? Ans:  The default scope of bean is Singleton for  Spring  framework. Q4). Name the types of transaction management that are supported by Spring? Ans:  Transaction management supported by Spring are : Declarative transaction management. Programmatic transaction management. Q5). Is Singleton beans are thread safe in Spring Framework? Ans:  No, singleton beans are not thread-safe in  Spring  framework. Q6). What are the benefits of Spring Framework?...