It hides the basic steps of these technologies. So there is no need to write too much code. Spring framework provides templates for JDBC, Hibernate, JPA etc. They are as follows: 1) Predefined Templates There are many advantages of Spring Framework. makes the code loosely coupled so easy to maintain.We provide metadata to the IOC container either by XML file or annotation. In Spring framework, IOC container is responsible to inject the dependency. In such case, there is no need to modify the code if our logic is moved to new environment. Thus, IOC makes the code loosely coupled. Let's understand this with the following code: They make the code easier to test and maintain. These are the design patterns that are used to remove dependency from the programming code. Inversion Of Control (IOC) and Dependency Injection Let's understand the IOC and Dependency Injection first. We will learn these modules in next page. The Spring framework comprises several modules such as IOC, AOP, DAO, Context, ORM, WEB MVC etc. The framework, in broader sense, can be defined as a structure where we find solution of the various technical problems. It can be thought of as a framework of frameworks because it provides support to various frameworks such as Struts, Hibernate, Tapestry, EJB, JSF, etc. It is helpful for beginners and experienced persons. Spring framework makes the easy development of JavaEE application. This spring tutorial provides in-depth concepts of Spring Framework with simplified examples.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |