Thursday, August 31, 2023

Top 10 XML Interview Questions and Answers for Beginners

XML Interview questions are very popular in various programming job interviews, including Java interviews for web developers. XML is a mature technology and is often used as a standard for transporting data from one platform to another. XML Interview questions contain questions from various XML technologies like XSLT which is used to transform XML files, XPATH, XQuery, and fundamentals of XML e.g. DTD or SchemaIn this article, we will see the top  10 frequently asked XML Interview questions and answers from the above topics. These questions are mostly asked in various Java interviews but they are equally useful in other programming interviews like C, C++, Scala, or any other programming language.

Wednesday, August 30, 2023

5 Best Spring Security Online Training Courses for Java Developers (2024)

Hello Java developers Spring Security is one of the leading open-source, security frameworks that allow you to implement security in Java-based web applications. It provides several security features like authentication, authorization, the remember me functionality out-of-the-box, which means you can directly use them without adding code or changing your class. Yes, Spring Security implements security at the application level i.e. you can even secure your non-secure resource without modifying them. It is also the leading framework to secure RESTful Web Services. Because of all these, the demand for Java developers with good knowledge of Spring Security is very high.

Tuesday, August 29, 2023

Udemy vs Pluralsight Review 2024? Which is better to Learn to Code and Programming?

Hello guys, how are you doing? I am again back with answering one of the familiar doubts among online learners, Pluralsight, or Udemy? Which are the better websites for learning code and leveling up your programming skills? As a Java blogger and editor of a Medium publication, I often receive questions like this from my readers. Earlier I have answered questions like Pluralsight vs. CodeCademy and Udemy vs. CodeCademy but never explained about Pluralsight vs. Udemy, which many of my readers have been asking for a long time. Since Pluralsight and Udemy are two of the most popular online learning platforms and I also spend considerable time every day on each of them, I felt to write my review of Udemy and Pluralsight and explain the pros and cons of both Udemy and Pluralsight so that you can make an informed decision when it comes to learning tech skills online.

Monday, August 28, 2023

What is CQRS Design Pattern in Microservices? With Examples

In a microservices architecture, it's common to have multiple services that need to interact with the same data store. However, traditional approaches to managing data, such as using a single database for all services, can lead to performance issues and data consistency problems. To address these issues, a design pattern called Command Query Responsibility Segregation (CQRS) has emerged as a popular approach to managing data in microservices. I have been sharing my knowledge about Microservices and Java from past few months and earlier we have covered 10 essential Microservice design patterns and principles and best Microservices courses for Java developers which many of you appreciated. At the same time, a lot of you asked me to go deep down into each of those patterns and explain them with examples.

How to upload/download files in Spring MVC Java web applications? Example Tutorial

Hello guys, if you are wondering how to upload file and download files from a Spring MVC application then you have come to the right place. This is an important functionality for any real-world application and knowing how to upload a file in a Spring application is important for professional Java developers and that's what you will learn in this Spring MVC tutorial. Earlier, I have shared several Spring Boot tutorial like Spring Boot + Microservices, and Spring Boot + REST and even  how to upload files using Servlet and JSP using Apache Commons FileUpload library and In this tutorial, we are going to discuss how to upload and download files using Spring MVC. 

Difference between Spring Boot and Spring Cloud Framework

Hello guys, if you are doing Java development and created Microservices then you may know that Spring Boot and Spring Cloud are two popular Java-based frameworks that are widely used for building enterprise-level applications, particularly Server side backend Java application. Both of these frameworks are developed by the Spring team and offer unique features that make them stand out in the market. While both are used for building scalable, high-performance, and robust Java applications, they serve different purposes and are used in different ways. The aim of this article is to help Java developers understand the differences between Spring Boot and Spring Cloud and make an informed decision on which framework to use for their next project.

How to create a Java Web application using Spring MVC Framework? Example Tutorial

Hello guys, if you are looking for an example to create a Spring MVC application then you have come to the right place. Earlier, I have shared the best courses to learn Spring MVC, Books, and interview questions and In this tutorial, we are going to explain how to create your first MVC application with the spring framework. At present, there are many applications in the world, and developing them is also varies according to the performance, type of the application, and many other factors. However, one of the primary languages used for application development is Java with the model-view-controller (MVC). Here comes the spring framework for application development and will go through an example project to explain this further.

Sunday, August 27, 2023

Top 10 Free Courses to Learn Python in 2024 - Best of Lot

There is no doubt that Python is currently the world's #1 programming language and the biggest advantage of that is it's bringing more and more people into the programming world. In recent years, I have seen more people learning Python than any other language, yes, not even JavaScript. Many of them learning Python to explore some awesome Data Science and Machine learning libraries provided by Python. Some people are also learning Python for web development and there are still many developers who are learning Python for scripting and automating trivial tasks. It doesn't matter why you are learning Python at this moment, it's a great thing in itself that you have decided to learn Python.

What is @Value Annotation in Spring? Example Tutorial and difference between $ and #

Hello guys if you want to learn about @Value Annotation in Spring Framework like how to use it or when to use it then you have come to the right place. Earlier, I have talked about @Value annotation when I shared 10 essential Spring Framework annotations and in this article, we are going to take an in-depth look at a Spring @Value annotation. We start our understanding with the term and then, move on to find the difference between $ and #. The @Value annotation is essential to the Spring Framework's ability to inject values into Spring beans from outside sources. Developers can externalize configuration with this annotation, which increases the flexibility and configurability of their work. 

Top 6 Online Courses to Learn Flutter in 2024 - Best of Lot

If you are like me, who thinks Flutter is the future of mobile development and looking for some excellent online courses to learn Flutter, then you have come to the right place. In this article, I am going to share some of the best online courses to learn Flutter in 2024 from Udemy, Pluralsight, and Coursera, but before going into that, let's see what Flutter is and why everyone is so excited about it. Well, in general, whenever something comes from Google, it makes a lot of developers excited like Angular, Dart, and now Flutter. I have got my hand dirty in both Android and iOS using Java and Objective-C in the past, but after working for some time, I decided to move on.

Saturday, August 26, 2023

13 Advanced Spring Framework Courses for Experienced Developers in 2024 - Best of Lot

Hello guys, if you are a Java developer and want to learn Spring Framework in-depth and looking for some advanced Spring online courses to learn things like Spring Boot, Spring Cloud, Spring Data JPA, Spring Security, Spring MVC, etc then you have come to the right place. Earlier, I have shared the best courses to learn Spring Boot, Microservices, and Hibernate and JPA and in this article, I am going to share the best and advanced Spring Framework courses for experienced Java developers. There is no doubt that the Spring framework is probably the most important skill for Java developers, but just knowing Spring is also not enough. 

Top 5 NoSQL Databases Programmers Should Learn in 2024 [UPDATED]

Though it's not mandatory for Java or Web developers to learn the NoSQL database, the world is moving in that direction, and both Java and Web developer should be familiar with NoSQL databases. If you are wondering what a NoSQL database is means, then here is a quick overview. A NoSQL database refers to non SQL, non-relational, or not only SQL) that provides a mechanism for storage and retrieval of data, which is modeled in means other than the tabular relations used in relational databases. With Spring 5 introducing Web-Flux, a new non-blocking web framework, the use of a NoSQL database will only grow, but the big question is which NoSQL database to start with?

Friday, August 25, 2023

Top 10 Coursera Projects for Beginners in 2024 - Best of Lot

Learning new skills and programming languages is essential for anyone to have a professional carer. Still, most people think that reading books and watching some tutorials make them professional and expert at what they are doing, but that is totally wrong, and they need to create projects to put their skills under the test. For that reason, you have to practice more and more and gain skills that you need to call yourself a professional programmer or developer, and here come the benefits of an online learning platform known as Coursera that offers you courses to learn skills then you can also enroll in a program called a guided project to test your skills.

Top 15 HTTP Protocol Interview Questions for Web Developers

Hello guys, as a web developer, understanding the HTTP (Hypertext Transfer Protocol) is vital for building robust, secure and efficient web applications. The HTTP leads the foundation of data communication on the World Wide Web (also known as WWW), allowing clients and servers to communicate and exchange information. That's why it's common to see questions related to HTTP and HTTPS like how HTTPS work? What is difference between HTTP  1, HTTP2, and HTTP3 and What is TLS and SSL Protocol etc are common questions during web developer interviews. In the past, I have shared Apache Web Server interview questions and  In this article, we will explore 15 important HTTP protocol interview questions, providing in-depth explanations and real-world examples to help web developers grasp the concepts better.

Thursday, August 24, 2023

10 Tips to work Faster in Linux Command Line and Bash Shell for IT Professionals

Hello guys, Have you ever been amazed to see someone working very fast in UNIX, firing commands, and doing things quickly? Yes, I have noticed that a couple of times, and I have always been inspired to learn from those superstar developers. I have shared a lot of content on Linux from the Developer's point of view, including 5 Free Linux Courses for Programmers, and in this article or tutorial or whatever you call it, I have dedicated myself to sharing some UNIX command practices I follow to work fast, quick, or efficiently in Linux. I work for the Financial services industry, and my work involves the development and support of online stock and futures trading applications in Electronic trading, Derivatives, etc. All our services run on Linux servers, so I need to work efficiently and quickly on the Linux machine, and that's how I have learned these productivity tips in Linux.

10 Tips to Improve Programming Skill and become a better Programmer

Many Java developers ask me how to become a better programmer? How do I improve my programming skills? Or I am good at Java but not so good at problem-solving ability etc. This is a reality, today's era is full of language experts than real programmers. It's easy to understand keywords, methods, and API of the Java programming language. Still, at the same time, it's challenging to solve practical problems, design reusable, and robust software, and get the best of data structure and algorithm. I have often seen Java programmers are not doing so well when asked to design and code a solution in a limited time, but at the same time, they are really good with Java concepts and all theories.

The 2024 Python Developer Roadmap

Hello guys, if you want to become a Python developer and looking for a complete 2024 Python Developer RoadMap then you have come to the right place. In the past, I have shared Java Developer RoadMapWeb Developer RoadMapiOS Developer RoadMapData Analyst RoadMap, and even a DevOps Engineer RoadMap and in this article, I am going to share with you the Python Developer RoadMap. Before writing this article, I looked for various roadmaps available online which list a lot of things you need to learn to become a Python Developer, which is really not needed. You may need them if you want to become a Python expert which can take years but just to start your career with Python, you don't need them at all.

Whizlabs Review 2024 - Is Whizlabs Online Training Courses and Hands-on Labs Worth it?

Hello guys, Cloud computing is rapidly becoming one of the essential skill for all kind of developers and no matter what you will need to learn Cloud Computing if you want to remain marketable. I learned this truth couple of years ago and since then spent a lot of time learning AWS, Azure, Kubernetes, Docker, and Google Cloud Platform. The big problem with learning Cloud computing and different cloud platform like AWS and Azure is that you cannot learn them by reading books or watching course. You need real, hands-on practice which can only be possible by either using the free tier of respective platform or using hands-on labs like the one provided by Whizlabs and QwikLabs. 

Top 10 Coursera Certifications for Data Science, Data Analysis, and Data Visualization in 2024 - Best of Lot

Hello guys, If you are keen to start your career in Data Science, Data Analysis, and Data Visualization field and looking for the best Coursera certifications, courses, specializations, and projects, then you have come to the right place. In the past, I have shared the best Coursera courses and certifications to learn Artificial IntelligencePythonSoftware Development, Cloud Computing, and Web Development, and, in this article, I am going to share the best Coursera courses, projects, certifications, and specializations for Data Science, Data Visualization and Data Analysis from reputed universities like Johns Hopkins and industry leaders and tech companies like IBM and Google

Wednesday, August 23, 2023

How to implement API Gateway in Microservices with Spring Cloud Gateway? Example Tutorial

Hello guys, if you are learning Microservice architecture then you must have come across a term called API Gateway. It's like the Frontcontroller pattern we used to learn 10 years ago. It is one of the crucial component of your Microservice architecture as you can hide all your service behind this and let all the API request goes through this component. That's the reason it also called API Gateway. By single handling all request and routing through different services it solve the problem of client to remember all host and port details of multiple services.  Now they only need to know about API Gateway which is much more manageable. In my last few articles , I have explained SAGA PatternCQRS Pattern, and Database Per Microservice pattern and in this article, we will see how we can use Spring Cloud Gateway to create API Gateway in a Microservice architecture. 

Top 10 Coursera Certifications for Machine Learning, Deep Learning, and Artificial Intelligence in 2024 - Best of Lot

Hello guys, if you are keen to learn Artificial Intelligence, Machine Learning, and Deep Learning and looking for the best Coursera courses, certifications, specializations, and projects to join in 2024 then you have come to the right place. In the past, I have shared the best Coursera courses on software developmentweb developmentcloud computing, and Python, and today, I am going to talk about the best Coursera courses and certifications to learn deep learning, machine learning, and Artificial Intelligence in 2024.

Monday, August 21, 2023

The 2024 Data Scientist and Data Engineering RoadMap

Hello guys, if you want to become a Data Scientist or Data Engineer in 2024 and looking for guidance like how to become a Data Scientist and Data Engineer in 2024 then you have come to the right place. In the past, I have shared best Data Science courses, tools, and best websites to learn Data Science and in this article, I am going to share the complete Data Scientist and Data Engineering RoadMap. This roadmap include all the skills, tools, and technologies you need to become a professional Data Scientist in 2024. While this roadmap is very comprehensive and contains tens of skills, tools, libraries, framework and programming language, they are divided into different categories like mandatory, good to know and other choices. 

Difference between @SpringBootTest vs @WebMVCTest in Spring Boot

Hello and welcome to yet another blog post. In this article, we are going to take a look at the difference between the two annotations i.e. @SpringBootTest and @WebMVCTest. When developing a Spring Boot application, you may have come across two annotations that are commonly used for testing - @SpringBootTest and @WebMvcTest. Both of these annotations provide ways to test your application, but they differ in their scope and purpose. In the past, I have shared difference between @WebMVCTest and @DataJpaTest and in this article, I Am going to explain the difference between @SpringBootTest and @WebMvcTest in Spring Boot. It's also one of the common Spring Boot testing question and I have also included in my list of popular Spring Boot Testing Questions Earlier, Anyway, before seeing the difference between these two, Let's first look at a quick overview of the @SpringBootTest and @WebMvcTest annotations before figuring out how they differ from one another. 

Sunday, August 20, 2023

The 2024 Golang Developer RoadMap

Hello guys, if you want to become a Golang Developer in 2024 or want to learn Golang in depth then you have come to the right place. Earlier, I have shared best online courses to learn Golang and Golang projects for beginners and in this article, I am going to share the complete Golang Developer RoadMap which you can follow to become a Golang Developer you always wanted to be. This is one of the most comprehensive Golang Developer RoadMap you can find on internet. It not only list all the mandatory tech skills you need to learn for Golang Backend development but also all the options and extra skills which can truly make you a competent Golang Developer in 2024. If you are wondering where to learn those skills then don't worry, I have also shared both free and best online resources to learn those skill in 2024. 

Top 30 Eclipse Keyboard Shortcuts for Java Programmers [UPDATED]

Hello guys, if you use Eclipse for Java development and looking to increase your productivity then you have come to the right place. Earlier, I have shared the 5 best Eclipse courses and in this tutorial, I will share 30 Eclipse keyboard shortcuts to improve your productivity. This list is by no means complete, and I will suggest you guys share eclipse shortcuts listed other than here to make this more useful. Eclipse is the most used Java development IDE, and knowing these Eclipse shortcuts not only improves your productivity but also makes you more efficient. You will have more time for things you like to do. Using keyboard shortcuts also helps to impress colleagues and shows that you have a good hold on tools you used for Java Development.

Top 10 Coursera Courses to Learn AWS, Google Cloud, Azure, and Cloud Computing in 2024 - Best of Lot

Hello guys, Cloud Computing is an in-demand skill for programmers, Software Developers, and any IT professionals, including support engineers, sysadmins, and even QA and business analysts. More and more companies have moved to the cloud in the last few years, and most technical development is happening there. Hence Cloud computing has become an essential skill to service the tech world. If you want to become a Cloud developer or administrator or just want to know about Cloud computing, you have come to the right place.

Top 10 Coursera Courses and Certifications for Java Developers in 2024 - Best of Lot

Hello guys, if you are looking to learn Java on Coursera, one of the most reputed online course platforms and looking for the best Courser courses for Java Developers then you have come to the right place. Earlier, I have shared the best Java development courses from Udemy Pluralsight, and LinkedIn Learning, and today, I am going to share Java courses from Coursera. The list includes both beginner-level and advanced-level Coursera courses for Java developers. This means you will not only find courses to learn core Java but also courses to learn advanced concepts like concurrent programming, distributed programming, Microservices, and Spring Framework. These are also the essential skills required for a professional Java developer, and I have carefully chosen the best Coursera courses to learn them and become a complete Java developer.

Saturday, August 19, 2023

Review - Is Coursera's Python for Everybody Specialization worth it in 2024? [Best Python Certification]

Hello guys, if you want to learn Python and looking for the best Python course on Coursera, or you are just wondering if the Python for Everybody course from the University of Michigan on Coursera is worth your time and money then you have come to the right place. There is no doubt that Python for Everybody is the best Python certification and course on Coursera and the trust of more than 1 million students are enough to prove this point, but we will deep dive into this article and find more. Earlier, I have shared the best Coursera certifications for Python and  In this post, we will review Python for Everybody from the University of Michigan, the best Coursera specialization, and certification for Python developers. If you are in a hurry and want a quick Yes/No answer whether you should join this Coursera specialization or not then our answer is Yes, by all means, you should go for it.

Friday, August 18, 2023

Top 10 IT Certifications for Java Developers in 2024

Hello guys, constant learning is part and parcel of being a programmer, and IT certification has a very important role in your career as an IT professional. There are many tangible and intangible benefits of certifications, first, they encourage you to learn more and become an expert in your fields, and second they provide recognition for your skill and knowledge. If you are a Java developer and wondering which IT certification you can do to take your career to the next level then you have come to the right place. In this article, I am going to share the best IT certifications for Java developers which include different areas like Java, Spring, Cloud, Linux, Project management, and others. You can choose the certification which aligns with your career goal.

Thursday, August 17, 2023

Top 5 Books to Learn Unit testing, JUnit and TDD in Java - Best of Lot

Hello guys, If you done some professional Java development then you know that Unit testing is a very, very important thing to learn to adapt. I would say this is the single most important practice in my opinion, which differentiates an excellent programmer with a professional programmer. It's one way you can see how disciplined a programmer is? It's also the best way to write clean code; a code that can stand the test of time, a code that is flexible enough to accommodate future changes and a code that you don't afraid of while changing. Despite several efforts of promoting unit testing by programming community and emphasizing unit testing by many notable programmers, it's still one of the lacking practice.

The 2024 Angular Developer Roadmap for Beginners

Hello guys, if you want to learn Angular and looking for guidance and resources then you have come to the right place. In the past I have shared best Angular courses, books, and tutorials and in this article, I am going to share complete Angular RoadMap for web developers. Angular is one of the most popular and widely used frontend web frameworks. It is a TypeScript-based framework that is developed by the Angular team at Google. Angular is actually the rewritten version of AngularJS. According to the Stackoverflow developers survey, Angular is the third most popular web framework among professional developers. So learning Angular in 2024 is definitely worth it.

The 2024 Rust Developer RoadMap

Hello guys, if you want to become a Rust developer in 2024 and looking for a complete Rust Developer RoadMap then you have come to the right place. I am big fan of RoadMaps as they provide a comprehensive path for people to master certain technologies and programming languages like Rust. In the past , I have shared Java Developer RoadMap, Python Developer RoadMap, Web Developer RoadMapiOS Developer RoadMap, and  DevOps Engineer RoadMap, and in this article, I am going to share complete guide to become a Rust developer in 2024.  Rust has gained significant popularity in recent years due to its focus on performance, safety, and concurrency. As a developer, mastering Rust can open doors to a wide range of opportunities, including web development. 

JDBC Database Connection Pool in Spring Framework – How to Setup Example

Setting up JDBC Database Connection Pool in Spring framework is easy for any Java application, just matter of changing a few configurations in the spring configuration file. If you are writing core java application and not running on any web or application server like Tomcat or  Weblogic,  Managing Database connection pool using Apache Commons DBCP and Commons Pool along-with Spring framework is a nice choice but if you have the luxury of having web server and managed J2EE Container, consider using Connection pool managed by J2EE server those are a better option in terms of maintenance, flexibility and also help to prevent java.lang.OutofMemroyError: PermGen Space in tomcat by avoiding loading of JDBC driver in web-app class-loader.

How to call Stored Procedures from Java using IN and OUT parameter - Spring Framework Example Tutorial

Spring Framework provides excellent support to call stored procedures from Java application. In fact, there are multiple ways to call stored procedures in Spring Framework, e.g. you can use one of the query() method from JdbcTemplate to call stored procedures, or you can extend abstract class StoredProcedure to call stored procedures from Java. In this Java Spring tutorial, we will see the second approach to call a stored procedure. It's more object-oriented, but at the same time requires more coding. StoredProcedure class allows you to declare IN and OUT parameters and call stored procedure using it's various execute() method, which has protected access and can only be called from a subclass.

How to write Thread-Safe Code in Java

thread-safety or thread-safe code in Java refers to code which can safely be used or shared in concurrent or multi-threading environment and they will behave as expected. any code, class, or object which can behave differently from its contract on the concurrent environment is not thread-safe. thread-safety is one of the risks introduced by using threads in Java and I have seen java programmers and developers struggling to write thread-safe code or just understanding what is thread-safe code and what is not?

9 Blockchain Courses & Certifications For Beginners in 2024 - Best of Lot

Hello folks, if you are not living under the rock, you would have definitely heard about Blockchain and Cryptocurrencies. Blockchain is one of the most in-demand skills, and there are not many people out there. If you want to learn Blockchain and related technologies like Ethereum, Solidity, Hyperledger, etc., and are looking for Blockchain training courses and certification, you have come to the right place. But, before that, let's get a quick overview of what Blockchain is, why it's popular, and why you should learn Blockchain in 2024.

4 Books to Learn Java Proramming from Scratch

I receive lots of emails and Facebook chats related to Java, but one of the most common questions which I have mostly asked is, which is the best book to learn Java? I have just started learning Java, Could you please recommend a good core Java book to me? After answering in one word too many of those readers and new Java developers as "Head First Java," I thought to write this blog post, Why? because some of them came back to me and asked me, "Can you please recommend a serious Java book, not the comics?" Well, I didn't like that comment, but then I thought it's natural that not everyone will find "Head First Java" as useful as I have always found.

Tuesday, August 15, 2023

Top 20 Spring Cloud Interview Questions and Answers for 3 to 5 Years Experienced [2024]

Hello guys, if you are preparing for Spring and Microservice developer job and need Spring cloud interview questions then you have come to the right place. Earlier, I have shared interview questions on Spring Boot, Spring MVC, Spring Security, Spring Testing and Spring Core and in this article I am going to share common Spring Cloud questions for Java and Microservice developers. If you have used Spring Cloud in your project then you can answer all of these questions easily but if you struggle to answer any of these questions then you can always go back and join one of these best Spring Cloud courses and best Microservice courses to learn and revise essential Spring Cloud concepts. 

Monday, August 14, 2023

6 Free DevOps Courses for Experienced Developers in 2024 - Best of Lot [UPDATED]

Hello Java Programmers and developer friends, If you are an experienced developer and want to become a DevOps Engineer or just want to learn the DevOps process and tools to improve your development and delivery process and looking for free DevOps online courses to kickstart your journey, then you have come to the right place. Earlier, I shared the best DevOps books and training courses, and today, I will share the best free online lessons to learn about DevOps. These free courses are created by experts and trusted by thousands of developers and they will teach you DevOps concepts, practice, DevOps tools like Docker, Jenkins, Ansible, and Kubernetes and suitable for both beginners and experienced developers. They are also curated from popular online learning platforms like Udemy, Pluralsight, and Coursera, and they offer practice and hands-on training.

Top 5 Online Courses to Learn Coding and Software Development in 2024 - Best of Lot

Programming and/or Coding is one of the essential skills for today's technological world, and awareness of coding is growing every passing day. In my time, about 20 years back, I only learned to code when I entered engineering college to pursue Computer Science and Engineering degree, but things have changed a lot since then. Nowadays, even kids have started learning to code, even my daughter can code, and much better than what I can also do in college. More accessible computing gadgets like iPad, iPhones, smartphones, and Laptops have genuinely changed the environment and made Coding or Programming more accessible.

5 Books to Learn Object Oriented Programming and Design Patterns - Best of lot

Knowledge of Object-oriented design principles and various OOP design patterns is a must for any experienced Java developer. It helps them to create robust code that can withstand test of time in production. As I have said earlier on 10 OOP and SOLID design principles, coding without knowing these principles is like trying to learn a language without knowing the alphabet. If you don't know alphabets, you will struggle with understanding the words and using them. Now the question is how can a Java developer learn these design principles and patterns? Which books and courses one should take to learn and master this essential skill for experienced Java developers? This is what I am going to answer in this post. I will share some of the best books and courses to learn Design patterns for Java and JEE developers.

Sunday, August 13, 2023

Mortgage Calculator in Java: A Step-by-Step Guide with Code and Example

Hello guys, its been long time since I shared a Java programming exercise so today I am going to share a popular one, how to create a Mortgage calculator in Java. A mortgage calculator is a powerful tool that allows individuals to estimate their monthly mortgage payments based on factors such as loan amount, interest rate, and loan term. So, its not just a Java programming exercise but a useful tool to calculate mortgage payment for your home loan, car loan or business loans. In the past, I have shared top 50 Java programs from coding interviews as well as 10 Java programming exercises and In this article, we'll walk you through the process of creating a simple mortgage calculator using Java. We'll cover the necessary concepts and provide you with a complete Java code example to help you get started.

Difference between RestTemplate and WebClient in Spring Boot? Example

Welcome to the blog post. Today we are going to take an in-depth look at the difference between two of the Spring framework’s web client implementations i.e. RestTemplate and WebClient. As usual before moving to the topic, let us give you a thorough understanding of the two Libraries so, without further ado let’s jump into the topic.  RestTemplate and WebClient are both popular libraries provided by the Spring Framework for making HTTP requests to external APIs. While they both serve the same purpose, they have some fundamental differences that make them suitable for different use cases. In this article, we will explore the differences between RestTemplate and WebClient, with the help of examples.

Friday, August 11, 2023

6 Ways to Change Default Port in Spring Boot? Example Tutorial

Hello Java programmers, when developing a Spring Boot application, we often need to configure the port on which our Spring Boot application runs as the default port most likely already occupied. The default port for a Spring Boot application is 8080, but in certain scenarios, you may want to change it to a different port number as its too common and you may find that some other application is using it already. In this article, we'll explore different methods to configure the port for a Spring Boot application, allowing you to customize the port according to your requirements. You can use any of them to configure the port you want for your Spring Boot application.

How to Secure Password in Java using Spring Security? Password hashing and Salting Example Tutorial

Hello guys, if you are wondering whether Spring Security provides password hashing or not and wondering how to use it in your project then you have come to the right place. First, Yes, Spring Security provides out-of-the-box support for password hashing and salting, but before going into the details of how to use that, let's first understand what is password hashing and salting and why do you need that in a secure web application. One of the common requirement of a secure application is that password is never stored in the plain text. It doesn't matter if you are storing password in a database or a flat file they must be stored in encrypted form. The process to encrypt password for storing is known as hashing

Thursday, August 10, 2023

Top 5 Websites for Coding Interview Preparation - Best of Lot

Are you preparing for Coding Interviews? If yes then you might know that there are a number of free online resources to practice important topics for coding Interviews like data structure and algorithms, database and SQL, and others. These websites are equally useful for both, new programmers who are just learning the fundamentals and for experienced ones who are brushing up their coding skills for interviews. I have been sharing useful resources for programming and technical interviews for a long time in this book. In the past, I have shared some recommended online courses and books for coding interviews, as well as some of the frequently asked programming interview questions from tech companies (see here). But, my readers have been asking about some recommended websites for practicing programming challenges and coding interview questions.

Wednesday, August 9, 2023

How Spring Security works? What is role of DelegatingFilterProxy and springSecurityFilterChain?

Spring Security is a very straight-forward framework. It protects your application by locking URLs. It provides both authentication and authorization facility for Java web application, but the big question is how does it do that? How exactly Spring Security works internally? I have seen this Spring Security question coming up several times on recent Spring interviews, so I thought to summarize what I know about working of Spring Security. The most important thing to remember is that Spring security works by using servlet filters. Since, an HTTP request is first passed to a matching filter before passing it to servlet, you can use a filter intercept an HTTP request and that's what Spring security does it. 

Difference between @Component @Bean and @Profile in Spring Framework

Hello guys, if you are thinking what is difference between @Component, @Bean, and @Profile annotation in Spring then you have come to the right place. Earlier, I have shared  difference between @Component, @Service, @Reposistory and @Controller annotations and in this article, I am going to answer another popular Spring interview question about difference between Component, Bean and Profile annotation. If you are working in Java then you may know that Spring is a popular Java framework that provides a variety of tools and features for developing robust and scalable applications. In Spring, you can use annotations to simplify the configuration of your application and to manage dependencies between components. @Bean@Component, and @Profile are three commonly used annotations in Spring that serve different purposes.

The 2024 Frontend and Backend Developer RoadMap [UPDATED]

Hello Guys, if one of your goals is to learn to code or to become a Web Developer in 2024, then I have something significant to share with you, the Complete 2024 Web Developer RoadMap. This is an excellent illustration of how to become a web developer in 2024 and guide you on how you can learn and master Web Development in 2024. It's a collection of different paths to learning front-end, back-end, and all other things a Web developer should know.  You will not just know about web development but about essential programming stuff which is necessary for all kinds of programmers.

Sunday, August 6, 2023

The 2024 Vue.js Developer Roadmap

Hello guys, if you want to learn Vue.js, the new trending JavaScript library for frontend development but not sure from where to start and what to learn next then you have come to the right place. In the past I have shared best Vue.js courses and in this article, I am going to share with you The 2024 Vue.js Developer RoadMap, which you can follow to learn all the essential skills a Vue developer should have. In this rapidly evolving world of web development, staying ahead of the curve is crucial. Vue.js, a progressive JavaScript framework, has gained significant popularity due to its simplicity, flexibility, and vibrant community.  By the way, If you read my articles then you also know that I am a big fan of RoadMaps and in the past , I have shared Java Developer RoadMap,  Web Developer RoadMapReact.js Developer RoadMap,  iOS Developer RoadMapPython Developer RoadMap and DevOps Engineer RoadMap which  many of you have liked and that's why keep finding and sharing these resources. 

Friday, August 4, 2023

3 Ways to Learn Spring Core, Spring MVC, Spring Security, and Spring Boot Framework

If you are a Java developer and want to learn the Spring framework then you have come to the right place. In this article, I will share three ways to learn the Spring framework, but before that let's understand what is a spring framework and why Java developers should learn Spring framework? Well, Spring is a framework that assists you to develop Java applications by following some best practices, particularly the principle of dependency injection and inversion of control. As per this principle, instead of the class asking for its dependency, the framework provides them at runtime.  Following these principles improves your code quality because it reduces coupling between different parts of your applications like between modules and classes, which makes it easier to test and develop.

Tuesday, August 1, 2023

The 2024 UI/UX Developer Designer Roadmap

Hello guys, In today's digital landscape, creating intuitive and visually appealing user interfaces (UI) and delivering exceptional user experiences (UX) are paramount. UI/UX developers play a crucial role in designing and crafting digital products that engage and delight users. To become proficient in this field, having a clear roadmap is essential. In the past, I have shared best UI/UX courses as well as best UI/UX certifications along with courses on tools like Figma and in this article, we'll explore the UI/UX developer roadmap—a comprehensive guide to mastering the necessary skills and principles to excel in UI/UX design.