Submitted by heartin on Wed, 04/13/2016 - 08:54
This section will contain notes on advance topics in Hibernate such as caching, transaction management, concurrency etc. We will also see integrations with Spring with/without using JPA. This note assumes that you are already familiar with the contents provided @ getting-started-with-hibernate-43.
Submitted by admin on Mon, 07/13/2015 - 02:08
A Problem-Solution Approach
Submitted by heartin on Tue, 06/02/2015 - 00:52
Inversion of Control is a pattern where the controls of dependencies are moved out usually from program components to container. The usual control flow of a program is inverted, and hence it is called so.
For instance, instead of using a new keyword to create an object and setting dependencies, a dependency injection framework (e.g. spring container) will create the object and its dependencies for you at runtime and inject them into your code.
Submitted by heartin on Fri, 04/04/2014 - 06:43
You can download the Spring Tool Suite or the Spring Framework jars alone or use the maven/gradle repositories. You can also use Spring Boot to make the getting started part much easier. However, a proper understanding of the non Spring Boot way of doing things with Spring will help you understand Sping Boot better later.
Submitted by heartin on Mon, 09/09/2013 - 07:19
Inversion of control (IoC) is an object oriented programming technique in which object coupling is bound at run time by an assembler object and is typically not known at compile time. This binding process is usually achieved through dependency injection. You can achieve this by designing to interfaces. Read more @ www.javajee.com/inversion-of-control-and-dependency-injection.
Submitted by heartin on Mon, 09/09/2013 - 06:49
We will create a simple class, configure it and test it. You can configure a Spring application through xml, or Java configuration or annotations along with xml or java configuration. In this example, we will see the use of xml for Spring configuration. There are notes for other two approaches as well.