Enterprise Java
-
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 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 » -
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 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 » -
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 » -
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 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 » -
Hibernate Cascade example
In this tutorial we are going to see the use of the cascade feature of relational databases and how it…
Read More » -
Spring 3 Java Config @Import Example
In this example we shall show you how to use Spring 3.2.3 Java Configuration, and specifically the @Import annotation. Using…
Read More » -
Spring 3 Java Config Example
With this example we are going to demonstrate how to use Spring 3.2.3 Java Configuration. Java Configuration provides a pure-Java…
Read More »