-
Beans
Spring Collections (List, Set, Map and Properties) Example
With this example we shall show you how to inject Collections in Spring Beans properties. The types of Collections that…
Read More » -
Beans
Spring Bean Scopes Example
In this example we are going to demonstrate the types of Bean scopes provided by Spring 3.2.3. In Spring a…
Read More » -
hibernate
Hibernate Query Language Example
In this example we are going to see how to use Hibernate Query Language (HQL). This the query language created…
Read More » -
Beans
Spring Inner Bean Example
This is an example of how to use an inner Bean definition inside a Bean. In Spring 3.2.3, when a…
Read More » -
hibernate
Hibernate Connection Pool configuration with C3P0 Example
This is a tutorial on how to use C3P0 connection pool framework with Hibernate. Basically what a connection pool does…
Read More » -
Beans
How to inject value into Bean properties in Spring
With this example we shall show you how to inject values to Spring Beans properties. Spring’s XML-based configuration metadata supports…
Read More » -
hibernate
Hibernate Logging Configuration – SLF4J + Log4j and Logback
In this example we are going to see how to configure Logging in Hibernate. SLF4J (Simple Logging Facade for Java)…
Read More » -
Beans
Spring 3 Bean Reference Example
With this example we shall show you how to create bean references, using either annotations or xml configuration in Spring…
Read More » -
Beans
Spring 3 Dependency Injection via Constructor and Setter
In this tutorial we are going to demonstrate the Spring Framework implementation of the Inversion of Control (IoC) principle, that…
Read More » -
hibernate
Hibernate JBoss Tools Installation in Eclipse + Mapping Generation Example
Generating .hbm.cfg files or creating annotated files to map your classes is always a bit boring and it involves writing…
Read More »