X

Java volatile Example

In this tutorial, we will discuss the Java volatile Example. What is Java volatile? The Java volatile keyword is utilized…

asimassu101

Install Spring STS in Eclipse

This guide shows you how to install Spring Tool Suite in Eclipse (more…)

filip

Create Simple Spring Web App with STS

This tutorial will show you how to build a simple web app using Spring Framework and STS (Spring Tool Suite).…

filip

Introduction to Spring Web Framework

In this article I will explain the key concepts behind Spring Framework and how to use it further to build…

filip

How to set JAVA_HOME in Windows 10

In this tutorial I will show you how to set JAVA_HOME as environment variable in Windows 10 operating system. (more…)

filip

Introduction to JavaBeans and its components

This tutorial explains the basics of JavaBeans, its components and how JavaBeans are helpful. (more…)

NeelumAyub

How to Install and Configure Tomcat 8

Apache Tomcat is the most common and popular java-based web container available today. In this tutorial I will show you…

filip

How to Deploy and Undeploy Applications in Tomcat

In this tutorial I will show you how to deploy and undeploy Java EE web applications in Apache Tomcat using…

filip

Run Tomcat from Eclipse

In this tutorial I will show you how to set up and run Apache Tomcat 8 from Eclipse IDE (more…)

filip

Introduction to Docker and Docker containers in Java

In short, Docker is a tool that allows you to build, deploy and run applications easily by the usage of so-called…

ym_coding

Java Servlet Example

In this tutorial I will show you how to create Servlets and deploy them in Apache Tomcat 8 (more…)

filip

Java Servlet POST Example

This example demonstrates how to use Servlet's doPost() method to handle POST requests (more…)

filip

Servlet Request Info Example

In this tutorial I will show you how to retrieve various data from a Servlet Request object, like headers, parameters,…

filip

Servlet Annotation Example

This example demonstrates the usage of annotations in order to configure Servlets. (more…)

filip

Configure Java Web Applications with Init Parameters

This example demonstrates the usage of init parameters to configure Java web applications (more…)

filip

Java Servlet File Upload

This example demonstrates how to upload files with Java Servlet (more…)

filip

Java JSP Example

This example demonstrates how to create a simple JSP page (more…)

filip

Glassfish Enable Secure Admin

In this tutorial I will show you how to enable secure admin of Glassfish or Payara, so you can access…

filip

How to Configure Glassfish 4 with MySQL

This article explains how to setup and configure MySQL database with Glassfish Application Server (more…)

filip

Java File Upload REST service

In this tutorial I will explain how to build Java REST web-service to upload files from any client over HTTP.…

filip

Java WebSockets Tutorial with Glassfish and Jetty

In this tutorial I will show you how to make a simple chat application running on Glassfish 4. I will…

filip

Glassfish Form Based Authentication Example

In this tutorial I will show you how to use the build-in Glassfish authentication mechanisms to create web based applications with…

filip

Implementing Controllers in Spring

Controllers' main purposes in Spring are intercepting incoming http requests, sends data to Model for processing and finally gets processed…

ym_coding

PathVariable annotation in Spring

Just like @RequestParam, @PathVariable annotation is used to extract data from HTTP request . However, they differ slightly. The difference…

ym_coding

RequestBody annotation in Spring

The @RequestBody annotation can be used for handling web requests. More specifically, it is used to bind a method parameter…

ym_coding

RequestParam annotation in Spring

The RequestParam annotation is used when we want to read web request parameters in our controller class. In other words, the front…

ym_coding

Interceptors in Spring

In Spring, Interceptors, as the name suggests, intercept we requests through implementing HandlerInterceptor interface. It provides us with methods that allow us to…

ym_coding

IOC in Spring

A famous example of explaining the Inversion of Control (IOC) concept is the Holywood principle which states "Dont' call us,…

ym_coding

Java Spring IoC Container Example

In a nutshell, the IoC container is responsible for instantiating/creating and configuring an object and assembling the dependencies between objects.…

ym_coding

Dispatcher servlet in Spring

The dispatcher servlet is the most important component in the Spring Web MVC. Why is the dispatcher servlet the most…

ym_coding

Dependency Injection in Spring Example

In this tutorial you are going to learn what Dependency Injection in Spring is, how it works and how you…

ym_coding

Implementing Spring MVC Controllers

This tutorial describes different ways to implement Spring MVC Controllers and gives examples. (more…)

filip

Introduction to Spring ORM

In this tutorial, you are going to learn what Spring ORM is and how to use it. What is Spring…

ym_coding

What is DAO and how to use it

Before I jump into implementing the classes, let's first understand what DAO is. If you already know what DAO is,…

ym_coding

How to unit test DAO components

In this tutorial you are going to learn how to create unit tests for DAOs. As a prerequisite, you fundamental…

ym_coding

How to perform unit testing for Controllers and Services

As you may be well aware, testing is very important. In this tutorial therefore, you will learn how to do…

ym_coding

How to build Single Page Application with Java EE and Angular

This article describes how to build our own Single Page Application using Angular and Java EE (more…)

filip

Installing and configuring MySQL database and server for Spring usage

In the end of this tutorial, you will have installed the right MySQL products needed to develop applications in Spring.…

ym_coding

How to handle Login authentication in Spring

In this article, you are going to learn how to use Spring Security to achieve a login authentication functionality. The…

ym_coding

Introduction to Spring Security and how to Set it up

In this tutorial you are going to learn how to secure your web application using the Spring Security including user…

ym_coding

How to create RESTful web services with Spring

When we are dealing with RESTful web services, we need to be using @RestController annotation which basically represents the @Controller…

ym_coding

CSRF Protection in Spring

In this tutorial you will learn how to protect your application against CSRF. What is CSRF? If you already know…

ym_coding

What is OAuth2-based authentication and authorization in Spring

OAuth2 allows third-party applications to receive a limited access to an HTTP service which is either on behalf of a…

ym_coding

Introduction to Spring Boot

In this tutorial you are going to learn what Spring Boot is and how you can start using it. Prerequisites…

ym_coding

Introduction to MVC Framework in Spring

MVC stands for Model-View-Controller and Spring supports it. The great thing about the MVC pattern is that it separates different…

ym_coding

Introduction to JDBC in Spring

In this tutorial you are going to learn what the JDBC module is and hopefully you will be able to…

ym_coding

How to dockerize a Spring application

In this tutorial, you are going to learn what is Docker and how we can use it to Dockerize a Spring application.…

ym_coding

Autowired Annotation in Spring

@Autowired annotation is a relatively new style of implementing a Dependency Injection. It allows you to inject other beans into…

ym_coding

Core concepts and Advice Types in AOP in Spring

If you are familiar with Spring, you've probably heard of Aspect Oriented Programming (AOP). That's one of the main components…

ym_coding

Introduction to Spring Bean

In this tutorial you are going to learn what Sping Bean is and how to use it. What is Spring…

ym_coding

Install and configure Android Studio

This tutorial explains and guides you how to install and configure Android Studio in Windows. (more…)

NeelumAyub

Connect Android device to Android Studio

This tutorial explains how to connect your Android device to Android Studio with step by step instructions. (more…)

NeelumAyub

Introduction to Android, activities, intents, services, layouts

This tutorial will teach you some basics of Android, so you can make your first Android app easily. (more…)

NeelumAyub

Creating a simple Android app

This tutorial explains how to create a simple Android app in Android Studio. (more…)

NeelumAyub

Running and debugging Android applications

In the previous tutorial you learned how to create a simple Android app. This tutorial will explain how to run…

NeelumAyub

Run Android application on virtual device

This tutorial explains how to configure virtual device and run your application on Android virtual device. (more…)

NeelumAyub

Android activity example

This tutorial explains what is activity in Android, its life cycle and example. (more…)

NeelumAyub

Android intent example

This tutorial explains Android intent, its types and methods with examples. (more…)

NeelumAyub

Android Service Example

This tutorial explains services in Android, its life cycle and gives example of how to create a service. (more…)

NeelumAyub

Android Linear Layout Example

In previous tutorials you have learned about Android intent, services and activities. This and coming few tutorials explain about different…

NeelumAyub

Android Relative Layout Example

This tutorial explains relative layout in Android with example. (more…)

NeelumAyub

Android Web View Layout Example

In previous tutorials we have learnt linear and relative layout in Android, this tutorial explains web view layout with example.…

NeelumAyub

Android List View Example

You have learned many other layouts of Android, this tutorial explains list view in android with example. (more…)

NeelumAyub

Android Grid View Example

Android grid view is one of most used layout in many applications. This tutorial explains grid view layout with examples.…

NeelumAyub

Android ListView with ListAdapter Example

In the previous tutorial we learned about List View layout with a simple example. This tutorial explains list adapter which…

NeelumAyub

Android SQLite Database Introduction

This article is an introduction to SQLite database classes and methods. It is a pre-sequal to the complete Android SQLite…

NeelumAyub

Android SQLite Database Example

Previous tutorial gives an introduction to SQLite Database in Android. This tutorial explains all CRUD (Create, Retrieve, Update, Delete) functions with…

NeelumAyub

Animations with Android tutorial

This tutorial explains what animation is and how to use animations in your Android application with the help of an…

NeelumAyub

Notifications in Android

Notifications in Android applications are very useful. This tutorial explains how to set notification in your application with the help…

NeelumAyub

Event Handing in Android

In the previous tutorials you have learned about activities, intents and other. This tutorial explains event handling in Android with…

NeelumAyub

How To Send Email With Attachments In Android

In this tutorial you will learn about how to send programmatically emails in Android and how to attach files, images…

NeelumAyub

Choose your JAVA IDE: Eclipse, NetBeans, and IntelliJ IDEA

In the Java world, there are a lot of integrated development environment or IDE which is considered as a crucial…

filip

Java S3 Example

In this tutorial I will explain how to use Amazon's S3 storage with the Java API provided by Amazon. The…

filip

How to Configure Apache for Multiple Sites on Ubuntu

In this tutorial I will show you how to configure a single Apache 2 web server to run multiple websites…

filip

How to Override Out Of the Box (OOTB) Modules in Liferay DXP

This blog covers detailed information about creation of Fragment in Liferay DXP and how to execute required overriding. (more…)

sandip.azilen

Simple Git Tutorial

In this tutorial you will learn the very basic Git commands, allowing you run Git in just a few minutes. (more…)

filip

Capture Network Packages with Java

This example demonstrates how to capture network packages with pcap and Java. (more…)

filip

Selenium Java Tutorial

This tutorial will explain how to run the Selenium WebDriver with Java (more…)

filip

Run Eclipse with Specific Workspace

Splitting your work in different workspaces is a good practice if you maintain a large number of projects. E.g. you…

filip

Install SVN in Eclipse

Eclipse does not support SVN repository browsing by default. Fortunately there are several plugins which makes this possible. (more…)

filip

How to Run NodeJS Server

On this page I will show you how to set-up and run a Node.js webserver to host a static web…

filip

How to use the MySQL connector in Java

Before testing the MySQL connection from a Java program, we'll need to add the MySQL JDBC library to the classpath. …

ym_coding

SQL Inner Join Example

This article explains SQL INNER JOIN syntax and gives an example on how to use INNER JOIN (more…)

filip

SQL Left Join Example

This article explains SQL LEFT JOIN syntax and gives an example on how to use LEFT JOIN (more…)

filip

SQL Right Join Example

This article explains SQL RIGHT JOIN syntax and gives an example on how to use RIGHT JOIN (more…)

filip

SQL Outer Join Example

This article explains SQL OUTER JOIN syntax and gives an example on how to use OUTER JOIN (more…)

filip

Raspberry Pi 3 Specs

Good news for all Raspberry Pi fans - Raspberry Pi 3 Model B is now officially on sale (more…)

filip

Install Raspbian to SD Card

This tutorial will show you how to install Raspbian OS to an SD Card (more…)

filip

Raspberry Pi First Start

This tutorial explains how to prepare your Raspberry Pi for the first start, connecting peripherals and boot Raspbian for the…

filip

Connect Remotely to Raspberry Pi

In this tutorial I will show you how to connect remotely to your Raspberry Pi from your PC or Mac.…

filip

Establishing Raspberry Pi Remote Desktop Connection

Previously, we’ve covered how to access the Raspberry Pi through SSH. (more…)

filip

Raspberry Pi Java Tutorial

In this tutorial I will show you how to flash a LED light with Raspberry Pi and Java. This will be a…

filip

Raspberry Pi Dim LED with PWM and Java

In this tutorial I will show you how to control the voltage using PWM in order to dim a LED.…

filip

Raspberry Pi Control Motor Speed

In this tutorial I will show you how to control the speed of a DC motor with your Raspberry Pi.…

filip

Raspberry Pi Control DC Motor Speed and Direction with Java

In this tutorial I will show you how to control the direction and speed of DC motors with Raspberry Pi and…

filip

Spring vs. Java EE

At first, it was Java, and there was Java Community Process, the procedure in accordance to which all revisions take…

filip

What awaits you at the interview or 10 tricky questions of the recruiter

Be prepared for your next job interview with the ultimate "Job Interview Survivor Guide" (more…)

filip

8 New Features in Java 10 That You Should Know About

Java is a very popular language pertaining to its amazing features. It dates 20 years back but still qualifies as…

filip

Understanding Microservices

Microservices are not a completely new concept. In the past, there have been many attempts, such as EJBs, Remote procedure calls (RPC), and implementations of…

filip

Secure Coding Practices in Java – Challenges and Vulnerabilities

Some Stack Overflow recommendations on Java secure coding must not be trusted 100%. The future of Java security development is…

filip