Saturday, January 30, 2021

10 Object-Oriented (OOP) Design Principles Java Programmers Should Know

The Object-Oriented Design Principles are the core of OOP programming, but I have seen most of the Java programmers chasing design patterns like Singleton pattern, Decorator pattern, or Observer pattern, and not putting enough attention on learning Object-oriented analysis and design. It's essential to learn the basics of Object-oriented programming like Abstraction, Encapsulation, Polymorphism, and Inheritance. But, at the same time, it's equally important to know object-oriented design principles. They will help you to create a clean and modular design, which would be easy to test, debug, and maintain in the future.

Thursday, January 14, 2021

3 Design Patterns and Best Practices Java Programmers Can Learn From Spring Framework

There is no doubt that the Spring Framework is one of the most popular Java frameworks and makes it really easy to create real-world, enterprise-grade Java applications easy by providing features like dependency injection and inversion of control. But, to be honest, Spring is much more than just another DI and IOC framework. It goes one more level to simplify many Java APIs like JDBC, JMS, Java Mail, etc by providing a useful layer of abstraction. It's much more comfortable to work with JDBC with Spring's JdbcTempalte and other utility classes. They remove most of the friction Java developer faces with respect to executing SQL statements and processing ResultSet to get the Java object they want.

Monday, January 11, 2021

Top 10 JDK 10 Features Java Developers Should Learn in 2024

Hello Guys,  last week I wrote an article about 5 New Java features from Java 9 to Java 15 and which are worth learning in 2024, and it was very much liked by you, so I thought to update this article which I wrote when JDK 10 came out, which provides a nice overview of essential Java 10 features. Whether you have no idea about Java 10 features or you know a little bit you can use this article to refresh your knowledge or get a nice overview of them. While we all are talking about Java 9 and some people are yet to adopt Java 8 in their projects, here comes the new release of Java, the JDK 10. It's available to download now on Oracle's website.