Blog Archives
1 2 3 4

JPA with Hibernate & MySQL database tutorial step by step

This assumes that MySQL database is setup as per the tutorial Getting started with MySQL database beginner tutorial and ⏯ MySQL database beginner video tutorial.

Read more ›



Part #1: JPA Hibernate Spring Maven Eclipse Tutorial – setting up pom.xml

Any non trivial application needs to talk to databases. JPA is for ORM (Object to Relational Mapping) frameworks like Hibernate as JDBC is database connectivity.

The finished project artifacts are shown below,

Read more ›



Part #2: JPA Hibernate Spring Maven Eclipse Tutorial – JPA configs and repository

This extends Part #1: JPA Hibernate Spring Maven Eclipse Tutorial. Spring wires dependencies with “MyDomainConfiguration” JavaConfig file. You have a Service Layer –> … Read more ›...



Part #3: JPA Hibernate Spring Maven Eclipse Tutorial – testing data access with HSQLDB

This tutorial focuses on testing data access logic with spring-test and hsqldb. This extends Part #2: JPA Hibernate Spring Maven Eclipse Tutorial – JPA configs and repository Testing the mapping...



Spring 3.0 tutorial – Part 1 (Setter DI )

This is a very simple Spring setter DI (depenendency injection tutorial). This assumes that you have gone through the “Setting up Java, Maven and Eclipse” tutorial. To recap:

1) Java,

Read more ›



Spring 3.0 tutorial – Part 2 (Constructor DI )

This is a very simple Spring constructor DI (depenendency injection tutorial). This assumes that you have gone through the “Setting up Java, Maven and Eclipse” tutorial. To recap: 1) Java,...



Spring 3.0 tutorial – part 3 (Setter DI with annotations)

This is a very simple Spring setter DI (dependency injection tutorial) using annotations. This assumes that you have gone through the “Setting up Java, Maven and Eclipse”

Read more ›



Spring 3.0 tutorial – part 4 (Setter DI with annotations and Java Config instead of XML)

This is a very simple Spring setter DI (dependency injection tutorial) using annotations. This is using a Java based Spring configuration with @configuration annotation as opposed to an XML based...



Spring 3.0 tutorial – part 5 (Setter DI with Spring AOP and AspectJ)

This is a very simple Spring AOP tutorial using AspectJ. This assumes that you have gone through the “Setting up Java, Maven and Eclipse” tutorial and the other Spring tutorials 1 to 3.

Read more ›



Spring 3.0 tutorial – part 6 (with Hibernate & HSQLDB)

This is a very simple Spring tutorial with Hibernate and HSQLDB. This assumes that you have gone through the tutorials

1) Setting up Java, Maven, and Eclipse
2) The “Course”

Read more ›



1 2 3 4

Java Developer Interview Q&As

800+ Java Interview Q&As

Top