Java Development
-
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 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 » -
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 »