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 ....



Eclipse Quit Unexpectedly: Troubleshooting

In this article we will see the various reasons Eclipse can die unexpectedly and we will also examine the solutions for that. For this article we will make use of Eclipse Luna 4.4.2 and Windows OS. Few of the things might be different in your case if you are running Eclipse on Mac or Linux. 1. Introduction Eclipse is one ...

Read More »

Docker Container Networking Tutorial

1. Introduction In this post, we will learn the basics of Docker container networking in a single host setup. We will see the basic inrastructure provided by the Docker Engine for container networking, the “Docker network” family of commands, and the basics of creating user-defined networks. We wil not cover networking with containers in multiple hosts setup here. 2. Docker ...

Read More »

Apache Tomcat Vs Nginx Comparison

Apache Tomcat and Nginx server, were created for two different tasks. NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server and Apache Tomcat is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. The Java Servlet, JavaServer Pages. Table Of Contents 1. The ...

Read More »

Java Quartz File Watcher Example

In this example we are going to demonstrate how to make use of a Quartz File Watcher. Quartz is an open source framework that specializes in scheduling and executing jobs within a Java application. This example monitors a file over a regularly scheduled interval and will respond to any change to the file by executing a listener. We used Eclipse Oxygen, Java 8, ...

Read More »

MongoDb Aggregate Count Example

Today we will learn about MongoDb’s aggregate function ‘Count,’ but first let’s look at a brief overview of aggregate functions. In SQL or other relational databases, aggregation in the process that records and returns computed results like SUM MIN, MAX, AVG, and COUNT. MongoDb uses a similar concept but in a different fashion – it uses the concept of data ...

Read More »

Java Servlet File Upload Example

In this example, we will see how to use servlet to upload a file. We will be just uploading the file to a server folder. As a part of this example, we will create an HTML form that lets us choose a file in your local file system. The file will be uploaded to the server. We will use Eclipse ...

Read More »

Java Swing Gridbaglayout Example

Swing is a GUI widget toolkit for Java. It is part of Oracle’s Java Foundation Classes (JFC) – an API for providing a graphical user interface (GUI) for Java programs. Swing was developed to provide a more sophisticated set of GUI components than the earlier Abstract Window Toolkit (AWT). JAVA provides a rich set of libraries to create Graphical User ...

Read More »

Apache Tomcat Websocket Tutorial

WebSocket is a computer communications protocol which is designed to be implemented in web browsers and web servers, but it can be used by any client or server application.   The WebSocket Protocol is an independent TCP-based protocol. Its only relationship to HTTP is that its handshake is interpreted by HTTP servers as an Upgrade request. The WebSocket protocol makes more ...

Read More »

XPath Best Practices Tutorial

XPath is used to retrieve and interpret information represented in XML files. This tutorial assumes that the reader has a working knowledge of XPath, does not attempt to teach XPath. This tutorial instead shows you, the reader, how to create a simple Java SE application that uses XPath expressions to get information about a computer inventory stored in an XML ...

Read More »

Docker Kernel Requirements

1. Introduction Docker is a containerization technology that provides OS level virtualization to applications.  It isolates processes, storage, networking, and also provide security to services running within it’s containers.  To enable this, Docker depends on various features of the Linux Kernel.  Let us get introduced to these Docker kernel requirements in this post. 2. Docker engine dependencies from the Linux ...

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