Java Switch Statement is now more Powerful Java 18

Java Switch Statement is now more Powerful | Java 18

Hey Tea Lovers! Today let me talk about the Plain Old Java Switch Expression, but with a twist. This twist or update has been added to the core library of Java since Java 13. And If you are using Java version 13 or after, you can surely convert that old switch with the new one. I will talk about how it offers certain features in it without breaking existing changes. Of course, the other language users may comment “It was already there in our programming language years ago”. But let’s just smile, and continue coding in Java, shall we? One note, I will be using the " switch expression" and " switch statement" interchangeably in the post, so keep it in mind that I am trying to say the same thing. ...

April 23, 2022 Â· 5 min Â· Imran Shaikh
What's new in Java 18 The Latest Java

What's new in Java 18? New Features of New Java 18

Hey Tea Lovers. On 22 March 2022, JDK 18 or Java 18 is released to the public (from Oracle). Java 18 does not contain any major updates that will change how we code, but it does have something very interesting. Few of the updates are in the incubator or preview mode. So for this article, I will be mostly focused on the core library addition. Don’t worry I will add a summary of other updates as well. ...

March 26, 2022 Â· 5 min Â· Imran Shaikh
How HashMap Works THumbnail

The Magic Behind HashMap and How it works in Java

Hey! tea lovers! In this post, we will be discussing how HashMap, the key-value-based data structure, works in Java. And it is one of the most asked interview questions as well. It is the core feature we as a developer use daily. Primarily used for easy and faster access to data based on the key. So let us see how it stores, retrieves and updates the data. I will put more articles under the Simply Explained tag. For now, let us get started with HashMap. So make your cup of tea to sip and code. ...

March 20, 2022 Â· 6 min Â· Imran Shaikh
8 Most Popular Programming Languages in the World

8 Most Popular Programming Languages in the World

Hey, Tea Lovers! Today let’s talk about the programming languages that beat others in popularity i.e most popular programming language in 2022. According to one estimate, there are more than 700 Programming Languages (some say 9000). Out of which 170+ are widely used. But a handful of them is ruling the world, like these 8 (+ bonus) I will be talking about. Why this many, you may ask. Well, every programming language is built to focus on something specific. Such as specializing in a programming paradigm (object or functional), platform-specific, overcoming the limitations of others, being faster, being easier, enhancing the experience, and many more. There is no single answer to it. ...

January 15, 2022 Â· 8 min Â· Imran Shaikh
8 Tech to Learn as Java Developer in 2022

8 Tech to Learn as Java Developer in 2022

Hey, Tea Lovers! The new year is just around the corner, and we all are creating a New Year Resolution List 2022 for ourselves, aren’t we? Among staying healthy, beginning happy, and spending more time with family, we Java developers, or any developers also include some new technologies that we want to learn and grow our career with. Generally, it consists of a new hot topic in the market or something that will be used in a new project or just for a hobby. Beginners always find it confusing what should they do next. So I would like to help you guys to append some technologies into your new year resolution’s “learn new things” section. ...

December 30, 2021 Â· 8 min Â· Imran Shaikh
Log4j Issue And The Nightmare of Java Developers

Log4j Issue And The Nightmare of Java Developers

Planning to party Friday Night. Everything was ready. Waiting for your friend’s call to pick you up. The phone rings, and without seeing you pick up the call in excitement, “Hey Bro, Kaha tak pohcha” (Where have you reached so far). “Sorry?”, the person replied, “I am MR XYZ from your company ABCD Tech. We have raised an Incident Ticket of Log4J Issue for a major Log4j Security Vulnerability in Java applications”. ...

December 27, 2021 Â· 4 min Â· Imran Shaikh
Getting Started with Spring Boot Rest is Easy

Getting Started with Spring Boot Rest is Easy

Hey, Tea Lovers! Let’s learn about Spring Boot Rest Framework Annotations. It’s so simple and fast. In this post, I will try to explain different annotations for Spring Boot Rest API. These annotations are must need for a REST API in Spring Boot. We are building a Tutorial series on the Spring Boot. I will update this post once we publish the series. Please let me know what would you like to include in the tutorial. ...

December 24, 2021 Â· 5 min Â· Imran Shaikh
How to use H2 DB in Core Java Project

How to use H2 DB in Core Java Project

Hey, Tea Lovers! Today let’s look at how you can use an in-memory database to test a core Java project, specifically H2 DB. The official name of H2 DB is H2 Database Engine. I will focus on it in the testing and not on the main project. I just want to give you a glimpse of how you can get started with it. I would highly recommend for the database logic or testing you shouldn’t rely upon In-Memory databases, always have Integration Test’s in this scenarios. Use this tool for a small or temporary test. ...

November 20, 2021 Â· 8 min Â· Imran Shaikh
How to Sink File in Apache Flink Correctly

How to Sink File in Apache Flink Correctly

Hey, Tea Lovers! Today we will take a look at how you can resolve Flink’s StreamingFileSink’s incomplete or .inprogress part file issue in Flink Batch Streaming. Or how you can Sink Files in Flink Batch without any issue. This post is the continuation of the series I am writing on Flink Batch as a Special Case of streaming. (Flink version 1.12) Note: This will work for not only Batch piepline but also for Streaming pipeline ...

November 17, 2021 Â· 6 min Â· Imran Shaikh
How-to-Run-Flink-Batch-as-Streaming

How to Run Flink Batch as Streaming

Hey, Tea Lovers! I will be writing a series of posts on the Flink Batch topic. This post is about the basic knowledge you must have to create a Flink Batch using Streaming. I will talk about what Flink Batch is and how it’s different from Flink Streaming. It will be a quick and simple post to get you started. If you like the post and want to know more about the Flink Batch as a whole, please let me know in the comment. ...

November 13, 2021 Â· 6 min Â· Imran Shaikh