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 Join Example

Join statements are used when one wants to fetch data from multiple tables of database. Hibernate provides support for join statements where one can write single query to fetch data from multiple tables easily. Hibernate is one of the few JPA (Java Persistence API) providers. Hibernate is extensively used for persistence layer of building an enterprise application. We will show ...

Read More »

How to Build a Dynamic Content Macro for Atlassian Confluence Connect

Dennis arrived at Null Pointer Corporation’s brand new headquarters in Singarich City.  He was met by Winfred, the lead developer at Null Pointer Corporation.  “Hi, are you Dennis, our Confluence plug-in trainer? Are you going to teach us about building a Dynamic Content Macro?” Winfred asked as they shook hands.  “Yes I am.  Nice to meet you Winfred.” said Dennis ...

Read More »

Configuring DNS in Docker

1. Introduction This post introduces Docker Engine’s network feature in general and specifically introduces configuring DNS in containers. This post assumes that you have the Docker Engine installed and that you know the basics of working with containers. We will not discuss service discovery from other networks here since that needs a deeper knowledge of Docker tools like Docker Swarm. ...

Read More »

Install Apache Tomcat on Mac os x Yosemite

OS X Yosemite (version 10.10) is the eleventh major release of macOS, Apple Inc.’s desktop and server operating system for Macintosh computers. Apache Tomcat is a web server and servlet container that is used to serve Java applications. A servlet is a Java technology-based Web component, managed by a container, that generates dynamic content. 1. The tools OS X Yosemite ...

Read More »

How to Start Developing Layered Web Applications with Spring

Spring is a great framework to develop enterprise Java web applications. It really eases life of Java developers by providing tons of features. In this example, we will show you how to start developing layered web applications with Spring. Table Of Contents 1. Create a new Maven WebApp project 2. Add necessary dependencies in your project 3. Create log4j.xml 4. ...

Read More »

Apache Tomcat Load Balancing Tutorial

Load balancing improves the distribution of workloads across multiple Tomcat servers. Load balancing aims to optimize resource use, maximize throughput, minimize response time, and avoid overload of any single resource. Table Of Contents 1. The tools 2. Introduction 3. Prerequisites 4. Download Tomcat 5. Download Apache httpd server 6. Download mod_jk 7. Tomcat Installation 7.1 Uncompress Apache Tomcat 7.2 Install ...

Read More »

Docker as a Service

In the previous posts we learned about Docker, containers, and working with containers, In this post we will learn about Containers as a Service (CaaS) in general and how Docker realizes CaaS. 1. Why Docker as a Service? Take a typical developer work-flow involving Docker. It will be typically as below. This is based on the reference workflow provided in ...

Read More »

JDBC Servlet Example

In this example, we will see how to make use of JDBC from a servlet to access database and read data from table. We will use MySQL as the database and MySQL Workbench as the client for database to prepare the data. However this example does not cover installation of MySQL and MySQL Workbench. We will be using Eclipse as ...

Read More »

Using Selenium with Maven and Apache POI

In this example, we are going to see how can we fetch the data from Excel sheet using Apache POI and use those data to search on using Selenium WebDriver. We will be also using Maven to configure dependencies for Selenium and Apache POI. 1. Introduction Selenium is a browser automation tool. It consists of Selenium-IDE, Selenium Web Driver and ...

Read More »

Apache Tomcat Kerberos Authentication Tutorial

Kerberos is a network authentication protocol. It is designed to provide strong authentication for client/server applications by using secret-key cryptography. A free implementation of this protocol is available from the Massachusetts Institute of Technology. Kerberos is available in many commercial products as well. 1. The tools Java JDK Apache Tomcat 2. Introduction Kerberos authentication is used to make Tomcat Web ...

Read More »