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



JPA CriteriaBuilder Example

The Criteria API is a predefined API used to define queries for entities. It is the alternative way of defining a JPQL query. These queries are type-safe, portable and easy to modify by changing the syntax i.e. the JPA queries are mainly used for building the dynamic queries whose exact structure is only known at the runtime. In this tutorial, ...

Read More »

Apache Tomcat Kali Linux Installation Tutorial

Hello readers! In this tutorial, we will install Tomcat and we will do some basic Tomcat configurations on the Kali Linux System. To complete this tutorial, developers will have to have a normal user with the sudo privileges. 1. Introduction Apache Tomcat commonly known as Tomcat is an application server that can be used to serve Java applications to the web users. ...

Read More »

Log4j ConsoleAppender Configuration Example

Any logging application intended to print the logging information to a console should use the org.apache.log4j.ConsoleAppender. Console Appender is a simple class designed to write the logging information to either System.out or System.err. In this example, we will try to show how to use the org.apache.log4j.ConsoleAppender to print the logs in the application console using the Log4j logging services. 1. ...

Read More »

JSP Expression Language Tutorial

EL means the Expression Language, which is used for accessing the data and makes it possible to easily access the application data stored in the JavaBean’s components and other objects like request, session, and application etc. The JSP expression language allows a page author to access a bean using a simple syntax such as $(expr). Table Of Contents 1. Introduction ...

Read More »

Java MongoDB Example

MongoDb is the leading NoSQL database system which has become popular due to its dynamic schema nature and the advantages over the Big Data like high performance, horizontal scalability, replication etc. Unlike the traditional database systems which provide their own Jdbc-compliant drivers, MongoDb comes with its own in-Jdbc driver called Mongo Java Driver. That means developers cannot use the standard ...

Read More »

File Upload and Database Persistence with Spring Framework

Spring Mvc framework provides an out of box support for the file upload functionality in any application. In this tutorial, we will show how to implement the file upload functionality with the Spring MVC framework and saving the file attachment in the database. To handle the file uploads capabilities in a web application, spring provides a MultipartResolver bean which is ...

Read More »

Basics of Servlets Tutorial

In this article we will cover the basics of Servlets using Java 8, in a servlet 3.1 compliant container. We will demonstrate some of the basics of servlet usage in a Http context, via a simple web project that combines numerous simple example servlets all accessible via your favorite browser or via postman. Table Of Contents 1. Introduction 2. Technologies used ...

Read More »

Java Nio Delete File Example

If developers are working on a Java Swing or a desktop application then it may be required that sometimes developers need to delete a file from the file system. This tutorial is to learn about handling the files using the Java Nio package and shows how to delete a file in Java using the Nio package. 1. Introduction Java Nio ...

Read More »

Maven Resolve Missing Artifact Error Example

In this example, we will be discussing about how to resolve “Missing Artifact” error while using Maven. Before we start with this article, it is expected that we have a basic understanding of how software development works with Java. It would also be good if we have an exposure to software build and deployment process to understand the usage and ...

Read More »

JUnit Selenium Grid Example

1. Introduction In this example, we will explore the functionality of Selenium Grid and we will understand it’s significance. We will create a Page Object and then we will access that page object from test cases using JUnit. The example will cover the gmail login where we will be invoking the url in node and hub using test cases in ...

Read More »