Illustrate the features of Spring
Illustrate the features of Spring ?
Expert
1.) Lightweight: Spring is lightweight whenever it comes to transparency and size. The simple version of spring framework is of around 1MB. And processing overhead is approx negligible. 2.) Inversion of control (IOC): Loose coupling is reached in spring using method Inversion of Control. The entities give their dependencies instead of looking for dependent objects. 3.) Aspect oriented (AOP): The Spring supports an Aspect oriented programming and allows cohesive development by separating application business logic from system services. 4.) Container: Spring holds and manages the life cycle and configuration of application objects. 5.) MVC Framework: Spring comes with MVC web application framework, built on the core Spring functionality. This framework is very configurable by strategy interfaces, and accommodates multiple view tools as JSP, Tiles, Velocity, iText, and POI. But other frameworks can be simply used instead of Spring MVC Framework. 6.) Transaction Management: Spring framework offers a general abstraction layer for the transaction management. This permitting the developer to add pluggable transaction managers, and creating it easy to demarcate transactions without dealing with the low-level issues. Spring's transaction support isn’t tied to J2EE environments and it can be also used in container less environments. 7.) JDBC Exception Handling: The JDBC abstraction layer of Spring proposals a meaningful exception hierarchy, that simplifies error handling.
Define the types of Dependency Injection Spring supports briefly?
How threads invokes a run() method?
State synchronous messaging ?briefly.
Is JVM platform independent?
Elaborate daemon thread and which method is used to create a daemon thread?
Is there present a discrete stack for each thread in Java?
Illustrate the method how multithreading take place on a computer with a single CPU?
Define exception? Demonstrate the working of nested try blocks, with suitable examples?
Can we place all class files in the WEB-INF folder and all the JSP's outside?
Tell me whether Java is a pure object oriented language?
18,76,764
1954480 Asked
3,689
Active Tutors
1444981
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!