Create Your Own Instant Messaging Chat Application With Spring

Create Your Own Instant Messaging Chat Application With Spring

Social Media is what drives this world now. The first thing we do when we get a new smartphone is, install social media apps such as Facebook, Instagram, Whatsapp, etc. They all are different in their way, but what is common between these apps is the chat function. They provide users with a real-time chat with the other person or chatbot. The message gets instantly delivered to another person and receives a reply at that speed too. But the question is, how do they communicate in real-time? What is it that they using? And most importantly, how to make one by yourself? ...

May 15, 2020 · 10 min · Imran Shaikh
Install Latest or Any Java Version in 3 Simple Steps: Windows

Install Latest or Any Java Version in 3 Simple Steps: Windows

Hey! Tea lovers. Let us talk about the first baby step we take into the Java world. And that’s the installation of Java Development Kit aka JDK. There are only 3 steps to set up JDK, without the installer. You can have multiple versions of JDK at the same time and switch between them very easily. Prepare your tea and let us see those 3 magical steps. TL;DR This post discusses the installation of JDK on the Windows system. We will be discussing other operating systems such as Ubuntu and Centos. The JDK I am utilizing for the aforementioned post is OpenJDK 13. We have JDK 14 as well but it’s an early release and might have bugs. So we won’t be using that. ...

May 15, 2020 · 4 min · Imran Shaikh
You Only Need These 7 IntelliJ IDEA Shortcuts to Skyrocket Your Productivity (1)

You Only Need These 7 IntelliJ IDEA Shortcuts to Skyrocket Your Productivity 

IntelliJ IDEA, by far, is the most productive and beautiful IDE out there for Java development. It features so many shortcuts and useful utilities, that I bet even the creators would have forgotten. These IntelliJ IDEA shortcuts can skyrocket your productivity while coding. To be honest, you don’t need to learn every shortcut, only a handful of them are used daily, and the following commands are even more common. These select few are enough for the everyday life of a programmer. ...

May 14, 2020 · 5 min · Imran Shaikh
Mistakes I and Probably Every Programmer Made in the Beginning

Mistakes, I and Probably Every Programmer Made in the Beginning

You started your coding journey, multiple roads ahead, wondering which road to take, which map to follow, wondering how you am gonna walk the next step and many more questions would have arrived. Feeling nostalgic, seniors? I bet you do. But as a human we are bound to do mistakes, aren’t we? So let us talk about the mistakes a rookie or a newbie programmer makes, as I did, and later learn the lesson the hard way. If you are just starting your journey, I think the place and the timing couldn’t have been this perfect. I hope this will show you the hurdles or the potholes you need to avoid to march ahead in your journey. ...

May 14, 2020 · 7 min · Imran Shaikh
JDBC Connection Pooling Explained with HikariCP (2)

JDBC Connection Pooling Explained with HikariCP

Hey, tea lovers! Have you ever heard about connection pooling in JDBC or HikariCP? If not, no worries at all, that is what this post is all about. We will talk about all the things about the JDBC connection pool and its implementation using HikariCP. HikariCP is one of the fastest connection pooling available in the market for JDBC connections. It makes connection pooling very easy. get ready to learn more about this beast. But before, make your tea to sip and learn. And for the example used in the post, you can find it on GitHub here or the full project here. ...

May 12, 2020 · 9 min · Imran Shaikh
Stream API The Hero Without a Cape

Stream API: The Hero Without a Cape

Hey Tea Lovers! In this post, we will be talking about an unsung hero of the Java world, the Stream API which was added to Java 8 and has changed the way we do programs in java and how! It added neatness as well as made the program more readable. It helps you do functional programming in Java. Without any further ado, let us read more about this jewel. What is Stream API The Stream API, included in Java 8, is utilized for processing collections of objects. It is the flow of Objets on which various methods get applied in the pipeline to have the result. Simply put, it flows through the given Collection<Object> and applies the different methods on the Object to aggregate them into the desired result without affecting the original Object. ...

May 11, 2020 · 9 min · Imran Shaikh
Functional Interfaces To Become More Functional in Java

Functional Interfaces in Java

Hey! tea lovers. This post is about Java’s functional interfaces. We will talk about the basic ones briefly. These functional interfaces are used by Stream API heavily, so knowing them will give you a huge advantage. Not just streams you can use it anywhere. Prerequisites for Functional Interfaces Not much, Just make sure the concept of functional interfaces and lambdas are clear. You can find the code on GitHub here or the full project here. And yes fill your cup of tea to sip and learn with me. ...

May 9, 2020 · 6 min · Imran Shaikh
Power of Multi-Threading

Techniques to unlock the Power of Multi-Threading in Java

Hey, tea lovers! Today, we are going to tackle the topic of multithreading in Java. Have you ever heard the phrase “when doing one thing, prepare for another and execute a third”? This is the essence of multi-threading, where we perform multiple tasks concurrently. With Java, you can achieve this by creating multiple threads within your program. When we talk about concurrency in Java we inherently talk about multi-threading. Multithreading refers to running multiple threads concurrently. Thread is just a lightweight sub-process. You can think of it as a mini process. Let us look at it by reading this post in your one thread and concurrently sipping that hot tea in another. ...

January 9, 2020 · 8 min · Imran Shaikh