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



Selenium Headless Browser Testing

Headless browser refers to running tests in browser like simulation without having to invoke a browser or without a GUI. In this example set, we will be using Headless browser to run test cases. We will be also discussing about the Headless browser in detail, about its importance as well as the caveat to keep in mind while using it. ...

Read More »

Java XPath Performance Tips

1. Introduction This is the third article in a series dealing with using XPath within a Java application. This article focuses attention on tips for improving XPath performance. The first two articles were: A Java XPath Best Practices Tutorial Which showed how to setup and evaluate XPath expressions using Java. Java XPath Examples Which explored XPath syntax and ...

Read More »

Eclipse Remote Debugging Tutorial

In this article we will study about how to do remote debugging in Eclipse. For this example I am using Eclipse Luna 4.4.2 1. Introduction If you have a web application deployed into a web/application server, you can interact with it remotely from a debugging perspective. The basics are that you must start up the remote JVM with additional parameters and ...

Read More »

Apache Tomcat Generate Csr Example

In Public Key Infrastructure (PKI) systems, a Certificate Signing Request also CSR or certification request is a message sent from an applicant to a Certificate Authority in order to apply for a digital identity certificate. The most common format for CSRs is the PKCS #10 specification and another is the Signed Public Key and Challenge SPKAC format generated by some ...

Read More »

Selenium Grid Docker Tutorial

1. Introduction In this example set, we will be exploring the functionality of selenium grid on Docker container. We will be deploying the hub and nodes of Selenium Grid on the Docker container and will be linking together so that we could run test cases on the docker container. Environment of the Project: 1. Selenium Grid 3.0.1 2. Maven 4.0 3. TestNG ...

Read More »

20 Spring Framework Best Practices

Spring Application Framework has been in action for quite a long time, and programmers have developed several conventions, usage patterns, and idioms during that time period. In this example, we will try to explain some of them and give examples to illustrate how to apply them in your projects. Let’s begin. Table Of Contents 1. Define singleton beans with names ...

Read More »

Eclipse Yaml Editor Tutorial

In this article we will study about Eclipse YAML Editor. For this example we will use Eclipse Luna 4.4.2. and YEdit plugin (1.0.20) which is a YAML file editor plugin. 1. Introduction Eclipse is an integrated development environment (IDE) used in computer programming, and is the most widely used Java IDE.[3] It contains a base workspace and an extensible plug-in ...

Read More »

Apache Tomcat SSL Configuration Tutorial

HTTPS is a protocol for secure communication over a computer network which is widely used on the Internet. HTTPS consists of communication over Hypertext Transfer Protocol (HTTP) within a connection encrypted by Transport Layer Security or its predecessor, Secure Sockets Layer. 1. The tools Java JDK 8 Tomcat Server 8 2. Introduction It is important to note that configuring Tomcat ...

Read More »

Selenium Expected Condition Example

In this example set, I will be covering how the Selenium Excepted Conditions works. Before diving into use of ExpectedConditions in Selenium we must understand why do we need it. By default, Selenium doesn’t wait for elements once the page gets loaded. Thus, if the element is not present, then Selenium will throw NoSuchElement Exception. To overcome this, we need ...

Read More »

Docker Environment Variables Example

1. Introduction In this post, we will discuss different ways to pass and set environment variables into a Docker container. Typically, when a new container is created Docker assigns it a few environment variables by default like so: $ docker run alpine:latest env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=de2c993a62fb HOME=/root Let us now explore what options do we have to inject our custom environment ...

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