Spring Batch : This is useful when it's necessary to perform bulk operations on data. Spring Web Services: This provides a contract-first web services model, whereby service implementations are written to satisfy the service contract. Other features of Spring The following are the other features provided by the Spring Framework: > Spring Security This provides a declarative security mechanism for Spring-based applications, which is a critical aspect of many applications. Spring MVC Framework offers utility classes to handle some of the most common tasks in web application development. Spring MVC Framework, which is a part of the Spring Framework licensed under the term of Apache license, is an open-source web application framework. It uses IoC that provides separation of controller logic. ![]() ![]() > Spring MVC Framework This helps in building robust and maintainable web applications. This is one of the areas where Spring really helps in reducing the amount of boilerplate code we need to write in the exception handling. It shortens the error handling strategy in JDBC. > JDBC exception handling The JDBC abstraction layer of the Spring Framework provides an exception hierarchy. AOP is a method of applying middleware services such as security service and transaction management service on Spring's application. Here, application objects perform business logic and are not responsible for other system concerns such as logging, security, auditing, locking, and event handling. It allows a developer to build the core functionality of a system without being aware of additional requirements.ĪOP is used in the Spring Framework to provide declarative aspects such as transactions and security. > Aspect-oriented Programming (AOP) This refers to the programming paradigm that isolates supporting functions from the main program's business logic. Objects are passively given their dependencies rather than creating dependent objects for themselves. IoC is an architectural pattern that describes the Dependency Injection that needs to be done by an external entity rather than creating the dependencies by the component itself. The core container of the Spring Framework provides an implementation for IoC supporting injection. > Inversion of Control (IoC) Spring's container is a lightweight container that contains Spring beans and manages their life cycle. ![]() Thus, Spring can configure application objects that don't import Spring APIs. The object in a Spring-enabled application typically has no dependencies on any predefined interface or class given by Spring API. The Spring Framework is designed to be non-intrusive. > Non-intrusive This means that your domain logic code has no dependencies on the framework itself. A lightweight framework also won't involve huge binary dependencies. A lightweight framework won't have a high startup time and will run in any environment. It also helps in avoiding unnecessary complexity in its own functioning. A lightweight framework helps in reducing complexity in application code. > Lightweight Spring is described as a lightweight framework when it comes to size and transparency. The Spring Framework contains the following features:
0 Comments
Leave a Reply. |