Create a Project with Create React App

Create a Project with Create React App Creating an API seems to be the easy part these days, thanks in large part to Spring Boot. In this section, I hope to show you that creating a UI with React is pretty easy too. If you follow the steps below, you’ll create a new React app,… Read More Create a Project with Create React App

Resetting the Root Password in MySQL: Windows Systems

Resetting the Root Password: Windows Systems On Windows, use the following procedure to reset the password for the MySQL ‘root’@’localhost’ account. To change the password for a root account with a different host name part, modify the instructions to use that host name. Log on to your system as Administrator. Stop the MySQL server if it is running. For… Read More Resetting the Root Password in MySQL: Windows Systems

The States of a Thread in Java

three thread states—new, runnable and terminated A program can access the state of the thread using Thread.State enumeration. The Thread class has the getState() instance method, which returns the current state of the thread. BasicThreadStates.java package com.appfworks.threads;/** * Created by suresh on 03/11/15. */class BasicThreadStates extends Thread { public static void main(String []s) throws Exception… Read More The States of a Thread in Java

Concurrent Programming in Java

Running multiple threads in parallel at the same time is called multi-threading or concurrency. The Object and Thread classes and the Runnable interface provide the necessary support for concurrency in Java. The Object class has methods like wait(), notify()/notifyAll(), etc., which are useful for multi-threading. all the objects have some basic multi-threading capabilities Important Threading-Related… Read More Concurrent Programming in Java