Spring Introduction
Spring Introduction
Spring
Open Technologies
Here rules and guidelines of technology are open to multiple software companies to create softwares.
eg: All Java technologies like JDBC, Servlet, JSP and etc..
Proprietary Technologies
Here the vendor who has created Technology, is only allowed to create Technology based software.
e.g.: All Microsoft technologies like asp.net and etc..
Frameworks
It is a installable software that is built on the top of one or more technologies having ability to generate
the common logics of the application dynamically.
It is a special installable software that provides abstraction layer on one or more technologies to
simplify the application development process.
While working with technologies we need to develop both common and uncommon logics.
While working with frameworks we just need to develop application specific logics.
Frameworks internally uses technologies but they never make programmer to worry about it(This is
nothing but hiding technologies that are used, which also called providing abstraction layer) e.g.:
struts, spring, hibernate and etc..
2003 ------------------------>Spring
Advantages
a) Development using ordinary classes and interfaces
b) Non-Invasive
c) Middleware service on ordinary classes
d) Lightweight
e) Robust ---> Allows to develop diff types of logics and Applications and etc...
Spring Core
Base module for other modules
When it is used alone , we can develop core java style standalone application
Dependency management means creating both main and dependent classes and assigning dependent
Spring ORM
Plain JDBC, Spring JDBC persistence logic is not portable across the multiple DB S/w because of SQL
Queries. To overcome from this problem use ORM frameworks to develop the object based (no SQL
Queries) DB s/w independent persistence logic. E.g. Hibernate, iBatis,OJB and etc.
Spring ORM is not an ORM framework. It is a module of spring framework providing abstraction layer on
multiple ORM framework to simplify object based persistence logic development.
Spring Web
Supplies plugin to make web framework apps like struts, JSF, Web Work and etc. application
interacting with spring application. Useful for following integration
Struts-------------Spring , JSF---------------Spring and etc.
Spring Web MVC/spring MVC
Springss own framework to develop MVC architecture based web application. It is AlterNet to
JSF, Struts and etc frameworks.
Spring Context
Provide abstraction layer on multiple JSE,JEE technology like JNDI,RMI,EJB,java mail, JTA and
etctechnologies and simplifies their application development. The biggest module spring but
not so popularly used module.
Spring AOP(Aspect Oriented Programming )
AOP is not replacement to OOP.AOP compliments OOP.