Spring Framework is a powerful lightweight application development framework used for Enterprise Java (JEE).

The core features of the Spring Framework can be used in developing any Java application. It can be described as complete and modular framework. The Spring Framework can be used for all layer implementations of a real time application. It can also be used for the development. Of a particular layer of a real time application unlike Struts and Hibernate, but with Spring we can develop all layers.

FEATURES:

Spring is non invasive : That means you no need to implements any interface or inherit any class from spring to your classes, so when ever you want to change from spring to any other technology then you no need to change the logics of your class.

Spring is light weight:  Spring is vast framework so spring people divide the whole spring in to different modules, they are designed in such a way that no module is dependent to other module , excep Spring core module, so according to your requirement you can learn a particular module, you no need to learn whole total framework.

End to end Development :  Spring supports all aspects of application development, Business aspects, persistence aspects, etc, so we can develop a complete application using spring.

Spring supports All types of application development:  We can develop any type of applications using spring, eg: Core java, web Application, Distributed application, Enterprise application.

Spring is versatile:  We can integrate any technologies with spring , so we can say spring is versatile,

Spring supports dependency injection:  The dependency between classes are managed by spring .

Dependency injection:

Spring core is one module which deals with dependency management

 

Here is the overview of new things that are introduced as part of Spring Framework 5.

JDK 8+9 and Java EE 7 Baseline


Minimum Java requirement will be raised to JDK 8.


There is also an upgrade to the minimum Java EE versions. The current minimum version is Servlet 2.5, this will be raised to Servlet 3.0.


JPA 1.1+ and Bean Valication API 1.1+ will be the minimum requirements.


Reactive Programming Model

Here some detailation:

JDK 8 + 9 and Java EE 7 Baseline

  • Java 8 as a minimum requirement as entire framework codebase is based on Java 8.
  • Java EE 7 required to run Spring Framework 5.0 applications.Hence, requires Servlet 3.1, JMS 2.0, JPA 2.1

Removed Packages, Classes and Methods

  • Package mock.static mock removed from spring-aspects module and hence no support for AnnotationDrivenStaticEntityMockingControl
  • Packages such as web.view.tiles2 and orm.hibernate3 / hibernate4 dropped.Hence Tiles 3 and Hibernate 5 be compulsarily used.
  • Support for Portlet, Velocity, JasperReports, XMLBeans, JDO, Guava dropped.
  • Most of the deprecated classes and methods removed.

Reactive Programming Model

  • Spring-core, DataBuffer and Encoder/Decoder abstractions with non-blocking semantics.
  • New WebClient with reactive support on the client side.

USEFUL RESOURCES:

Java spring certification in chennai

Spring official

文章標籤

saravanagumar 發表在 痞客邦 留言(0) 人氣()