Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

 

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

 

and many more ....

 

 

Hibernate Best Practices Tutorial

Hibernate is by far the most popular JPA implementation. This popularity brings several advantages for all users. There are lots blog posts about it, questions and answers on popular forums and well-established best practices. In this tutorial, we will summarize some of the best practices for JPA and Hibernate which will help developers avoid common issues and to create better ...

Read More »

Hibernate One to One Example

In simple terms, a One-to-One Association is similar to Many-to-One association with a difference that the column will be set as unique i.e. Two entities are said to be in a One-to-One relationship if one entity has only one occurrence in the other entity. For example, an address object can be associated with a single employee object. However, these relationships ...

Read More »

Hibernate One to Many Example

One-to-Many mapping means that one row in a table can be mapped to multiple rows in another table but multiple rows can be associated with only one instance of the first entity. It is 1-to-n relationship. For example, in any company, an employee can register multiple bank accounts but one bank account will be associated with one and only one ...

Read More »

Hibernate Many to Many Example

Many-to-Many mapping is usually implemented in the database using a Join Table. For example, we can have Cart and Item tables and Cart_Items table for many-to-many mapping. Every cart can have multiple items and every item can be part of multiple carts, so we have a many to many mapping here. In this tutorial, we will learn about how to ...

Read More »

Spring MVC 3.0 Tutorial

Spring MVC (Model-View-Controller) is the web component of Spring framework, which provides a great functionality for building web Applications. Following the basic tenet of Spring framework “convention over configuration“, the Spring MVC Framework is designed in such a way that every piece of logic and functionality is highly configurable. Spring is not tightly coupled with Servlet or JSP technology paradigms ...

Read More »

Eclipse XPath Evaluation Plugin Example

Hello, I started using Eclipse IDE to work with XML. In this tutorial, we will learn to use the XML and XPath Editor available through the Web Tools Platform (WTP) within Eclipse. 1. Introduction XML stands for Extensible Markup Language and is a text-based markup language derived from Standard Generalized Markup Language (SGML). XML tags identify the data and are ...

Read More »

Java 9 Default Garbage Collector Tutorial

1. Introduction This tutorial will introduce us to the new default garbage collector implementation for Java 9, the G1 garbage collector. The G1 garbage collector presents a brand new approach to heap layout and semantic behavior. Optimized for large heaps and tailored to address ever increasing demands of low latency and overall throughput, it provides an excellent opportunity to meet ...

Read More »

Eclipse HTML Plugin Example

Hello, I started using Eclipse IDE to work with HTML5 and Bootstrap. However, editing HTML files in Eclipse IDE was not nice and it felt like using Windows Notepad. In this tutorial, we will learn how to use the HTML Editor available through the Web Tools Platform (WTP) within Eclipse. 1. Introduction HTML stands for Hyper Text Markup Language and ...

Read More »

Eclipse Zest Plugin Tutorial

Eclipse Zest is a visualization toolkit for graphs. This tutorial explains how to directly create a Zest Graph in Eclipse IDE and how to use the JFace abstraction. Table Of Contents 1. Introduction 1.1 Zest Components 1.2 Zest Layout Managers 1.3 Zest Filters 1.4 Zest Installation 2. Eclipse Zest Plugin Tutorial 2.1 Tools Used 2.2 Project Structure 3. Application Building ...

Read More »

Read JSON From a URL Example Using Data Pipeline

I have a problem. I want to read JSON from a URL. Naturally, like anybody else, I googled for some solutions. There were a lot of solutions shared in Stack Overflow and other sites. I tried some of them but I’d like to share the one where I used the Data Pipeline Java library. 1. Tools and Prerequisites Data Pipeline ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns