SPRING

Spring is one of the most widely used Java Enterprise Edition framework. Spring framework core concepts are “Dependency Injection” and “Aspect Oriented Programming”.

Spring framework can be used in normal java applications also to achieve loose coupling between different components by implementing dependency injection and we can perform cross-cutting tasks such as logging and authentication using spring support for aspect-oriented programming.

I like spring because it provides a lot of features and different modules for specific tasks such as Spring Core,Spring JDBC, Spring MVC, Spring ORM and Spring Web. Since Spring is an open source framework with a lot of online resources and active community members, working with the Spring framework is easy and fun at the same time.

Spring 5 brought us a massive update to Spring framework. Some of the new features in Spring 5 are:

  • Spring 5 runs on Java 8+ and supports Java EE 7. So we can use lambda expressions and Servlet 4.0 features. It’s good to see Spring trying to support the latest versions.
  • Spring Framework 5.0 comes with its own Commons Logging bridge; spring-jcl instead of standard Commons Logging.
  • Support for providing spring components information through index file “META-INF/spring.components” rather than classpath scanning.
  • Spring WebFlux brings reactive programming to the Spring Framework.
  • Spring 5 also supports Kotlin programming now. This is a huge step towards supporting functional programming, just as Java is also moving towards functional programming.
  • Support for JUnit 5 and parallel testing execution in the Spring TestContext Framework.

No comments: