Internal implementation of HashMap

Internal implementation of HashMap

This is one of the most commonly asked interview questions, “What is the Internal implementation of HashMap” OR “What are the data structures used in HashMap” OR “How HashMap maintains the uniqueness of keys”. In this tutorial, we will get answers for all these questions.  Continue reading “Internal implementation of HashMap”

Spring Hibernate Integration

In this post we will be discussing on Spring Hibernate integration. As we all know Spring provides an ORM support and one of the best available ORM tool to be integrated with Spring is Hibernate. The integration is very much simple and comes with lot of flexibility which is the biggest advantage Spring comes with. Lest create a step wise project for simple application. Continue reading “Spring Hibernate Integration”

Spring JDBC configuration

This post explains the Spring JDBC configuration for accessing database in any Spring application. One or the most commonly used framework in java Spring gives support for ORM and JDBC, in this part we will look into configuration of JDBC with Spring. Continue reading “Spring JDBC configuration”

Datatables server side processing in Java

This post explains implementing datatables server side processing in java. Check out Datatables with Spring MVC example from my previous blogs to understand in details. In this post I will be explaining server side processing on datatables, that is loading data on demand in datatable using AJAX. Continue reading “Datatables server side processing in Java”

Spring MVC login example

SPRING MVC is commonly used framework for creating web applications in JAVA. Here we will see the common implementation of SPRING with MVC pattern. At the end of this tutorial we will have a spring mvc login example, which will help all the newbies to get started with Spring.

Continue reading “Spring MVC login example”

Datatables with Spring MVC

This tutorial explains the implementation of Datatables with Spring MVC. Most of you all will be aware of usage of data tables in a web application, here we will see how to integrate it with Spring MVC application. This is like any other web page that we create in our MVC application, the only different thing here is using jQuery’s data table to display the data in a tabular form and with additional options like paging, searching and sorting. Continue reading “Datatables with Spring MVC”

Collections in Java Part III : List

Hello Friends,

This is part III for java collections tutorial. Earlier we have discussed regarding SET collection interface in part II. In this, we will be focusing on an interface that is used when the sequence of the elements needs to be maintained, yes that’s right its LIST interface. List interface in Java Collection Framework also extends the base interface, Collection.  Continue reading “Collections in Java Part III : List”

Java Print Triangle Example.

Hello Friends,

This is one of the basic examples for newbies who are still in the learning phase. 🙂 Most of you may get an assignment to print triangle of * or numbers or serial number etc. So, this example if for all those guys n gals. In this example we will print a Right angle triangle where we will print the sequence something like:

1
23
456
78910

Continue reading “Java Print Triangle Example.”

Jsp include file

Hello Friends,

This is one of the simple tutorials on jsp include file. Most of the time in any of the web application we need some part of the application on almost each of the pages. So, writing the code in each of the pages is really tedious and is not the best practice. For example, if we have a web application where we have to use the Header code and Footer code on every page then its the best practice to write the code once in a separate file and then import that file or its contents into the page where we want it to be displayed.

Continue reading “Jsp include file”