Project Lombok (1)

Say Good-Bye to Boilerplate Code with Lombok: Part 1-Installation

Hey! Tea lovers! Before talking about Lombok, what are the things that irritate us Java Developers the most? Well yes, hearing “Java is dying” from a Python developer is irritating but it is the second thing. The first one is the boilerplate code. We write it almost every time. Setters and getters, constructors, toString, and many others for simple POJO classes. Of course, IDE can generate this code for you but again, your simple POJO class then becomes redundant. And the only things that matter in the POJO are the fields, so why not write fields only and let the compiler handles the rest of the things? And that’s where Project Lombok comes into the picture. ...

June 19, 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