Spring Flashcards
Are large bodies of pre written code which you add your own code in order to solve a problem
Franeworks
Something fast and sufficient
Frameworks
Java framework principle
Dont call us, we’ll call you
Different java framework
Hibernate, spring, grails, gwt, struts, hadoop
Date spring created
February 2003
Who created spring
Rod johnson
Host for spring framework
Sourceforge
Is a complete and modular framework for developing enterprise applications in java
Spring
Can be used for all layer implementation for real time application
Spring framework
Can be used development of particular layer for real time application
Spring framework
Feature of spring
Open source Comprehensive tool Light weight Solves problems Frameworks of frameworks Avail array of resources
Why spring is popular?
Because of:
Simplicity, testability, loose coupling
Spring framework is simple because as it is non invasive. It uses POJO and POJI
Simplicity
If a java class is not coupled with any technology or any framework then that is java class called
POJO or Plain Old Java Class
If java interface is not coupled with any technology or any framework then such java interface called
POJI or Plain Old Java Interface
For writing the spring application, server is not mandatory because it has its own container to run the application
Testability
Spring object are _______ this is the core concept of spring framework
Loose coupling
Spring modules
Web, core container, AOP Aspect Oriented Programming, data acces integration, instrumentation, test
Provide the fundamental parts of the frameworks
Core
Provides a powerful expression language
SpEL
Provides BeanFactory
Beans
Supported internationalization EJB, basic remoting
Context
By using java POJO classes and configuration metadata produces a fully configured and executable system or application
IoC container
Providing modularity with aspect rather than class
AOP
Breaks the program logic into distinct parts called concerns
AOP
Increase modularity by cross cutting concerns
AOP
A crosscutting concern is a concern which can affect the tire application
AOP