Disclosure: This article may contain affiliate links. When you purchase, we may earn a commission.

What is @Bean Annotation in Spring Framework? How to use @Bean in Java and Spring? Example

Hello Java programmers, if you are wondering what is @Bean annotation in Spring Framework, what is the purpose, and how to use it then you have come to the right place. Earlier, I have shared the best free Spring core and spring MVC courses and In this tutorial, we will discuss the most frequently used Spring annotations, which are used to define different types of beans. Beans can be defined as XML configuration and also declared using the Java configuration. If you have used XML confirmation in past then you can think of @Bean as a replacement for bean tag in XML. 

Top 5 Spring Boot Annotations with Examples in Java - Tutorial

Annotations have completely changed the way you write Java code. It's now impossible to write any Java code without using annotations but that's for good. They provide a lot of value and that's why it's important for a Java developer to get familiar with essential annotations of the framework he or she is using. When I think about Java, some of the essential annotations which come to our mind are @Override, @SuppressWarning, and @Deprecated. Similarly, if you are using the Spring Boot framework, an extension of the Spring framework which aims to simplify the Java development with Spring, you will often end up using a couple of annotations like @SpringBootApplication or @EnableAutoConfiguration.

How to convert Java object to JSON String using Gson? Example Tutorial

If you are a Java or Android developer and learning JSON to support JSON format for your project and looking for a quick and simple way to convert your Java object into json format then you have come to the right place. In this article, I'll teach you how to convert a Java object to a JSON document using Google's Java library called Gson. This library allows you to convert both Java objects to JSON String and a JSON document to Java objects. So, let's first do some serialization. Serialization in the context of Gson means mapping a Java object to its JSON representation.

Top 10 Oracle Database and PL/SQL Courses for Beginners in 2022 - Best of Lot

Hello folks, if you are learning Oracle database and want to learn PL/SQL programming language and looking for the best resources like books, online courses, tutorials and articles then you have come to the right place. In the past, I have shared the best free SQL and database courses, PL/SQL books, and a few free Oracle courses, and this article will introduce you to the Oracle SQL database and how they work as well as the PL language and how you can use its commands to interact with the oracle SQL database in 2022. 

Top 5 Courses to Learn PyTorch and Keras for Beginners in 2022 - Best of Lot

Hello guys, if you want to learn PyTorch and Kearas from scratch and look for the best PyTorch and Keras online courses, you have come to the right place. In the past, I have shared the best machine learning courses and best TensorFlow courses, and today I will share the best Keras and Pytorch courses for beginners and experienced programmers. PyTorch and Keras are two deep learning libraries developed by two big companies, Facebook and Google, aiming to facilitate the creation of deep learning applications like face recognition and self-driving cars, and so on.

Top 5 Best Free Courses to learn JDBC Java Programmers in 2022 - Best of Lot

Hello guys, If you are a Java programmer and looking for some free and best JDBC courses to start learning database access in Java, then you have come to the right place. In this article, I am going to share some of the free and paid online JDBC (Java Database Connectivity) courses from popular sites like Udemy and Pluralsight to give you a head-start in your long journey of writing real-world Java application which interacts with the database. Since Data is the utmost important part of any Java application, it's imperative to have a good knowledge of how to interact with the Database from Java application, and JDBC is the first step in that direction.

Top 10 Free Git Courses and Tutorials for Beginners in 2022 - Best of Lot

Hello guys, there is no doubt that Git is one of the most essential tool and skill for every programmer and Software developer. Gone are the days where different companies uses difference version control like SVN, CVS, or TFS, now almost every company uses Git which has become the standard source repository and version control tool. That's why its important for every programmer to learn Git and its not that easy. Git is a distributed version control system and there are things like remote repository, local repository, commit, pull, push, fetch, rebase, merge etc which can be confusing to many programmers and that's why I am going to share best free Git courses you can join to learn Git in 2022.

Top 13 Spring Boot Actuator Interview Questions Answers for 3 to 5 Years Experienced

If you have used Spring Boot, you may know that Spring Boot is all about convenience, and the Spring Boot actuator is one of such features that provides a convenient way to interact with your app using HTTP and JMX. It's also essential from the Spring Boot interview point of view. While I did include some Spring Boot Actuator questions in my earlier post about frequently sked Spring boot interview questions, many of you asked for more questions to cover Spring Boot Actuator in depth, so I decided to write a separate article. In this article, we will see some popular Spring boot Actuator interview questions and, along the way, learn more about this helpful Spring boot Feature

3 ways to convert String to JSON object in Java? Examples

It's very common nowadays to receive JSON String from a Java web service instead of XML, but unfortunately, JDK doesn't yet support conversion between JSON String to JSON object. Keeping JSON as String always is not a good option because you cannot operate on it easily, you need to convert it into a JSON object before you do anything else e.g. retrieve any field or set different values. Fortunately, there are many open-source libraries which allows you to create JSON object from JSON formatted String like Gson from Google, Jackson, and json-simple. In this tutorial, you will learn how to use these 3 main libraries to do this conversion with step-by-step examples.

Top 20 Git Interview Questions with Answers for Programmers

Hello guys, if you are preparing for Software developer interview then you should prepare for Git, one of the most popular version control and source control tool in Software industry. Almost every company, both big and small are now using Git to store their source code and conduct code reviews. If you already know Git and looking for frequently asked Git Interview questions then you have come to the right place. Earlier, I have shared best Git courses and best places to learn Git and in this article, I am going to share 20 Git interview questions with Answers. You can use these Git questions to not only check your git knowledge but also to learn and revise essential Git concepts in quick time. 

10 Best Java Online Courses and Tutorials for Beginners in 2022

Hello everyone! if you want to learn Java Programming and become a Java Programmer in 2022 and looking for the best resources like books, online courses, tutorials, projects, and websites, you have come to the right place. Earlier, I have shared the best Java books for beginners, best Java websites, best Java tutorials, and free Java courses. Today, we will go through some of the best online courses for learning the Java Programming language. These Java online courses are curated from top websites and learning platforms like Coursera, Udemy, Educative, CodeCademy, Javaespecialist, etc. 

Top 5 Free Excel Tutorials and Courses for Beginners in 2022 - Best of Lot

Hello guys, If you want to learn Microsoft Excel, a productivity tool for IT professionals, and looking for free online courses, then you have come to the right place. In the past, I have shared some Microsoft Excel courses for beginners and some advanced Excel courses for experienced programmers, which are very liked by you guys. Still, I also receive many requests to share some free resources to learn Microsoft Excel like free books, free online courses, and free tutorials, and that's why I am going to share the best free Microsoft  Excel courses from sites like Udemy in this article which you can use to learn this helpful tool online.

Top 5 MEAN stack online Courses to Learn Web Development in 2022 - Best of Lot

Hello guys, if you want to learn MEAN stack to become a full stack web developer, you have come to the right place. I have been sharing valuable courses to learn modern tech stack like in the past, I have shared the best courses to learn MERN stack, and in this article, I will list the top 5 MEAN stack courses that explain every concept nicely and properly. The MEAN (Mongo, Express, Angular, and Node) stack is undoubtedly the most popular software stack in full-stack web development. The demand for full-stack developers has increased tremendously in recent years. This pandemic has also given the digital push to many companies, which means the demand will only increase. 

Why String is Immutable or final in Java - 5 Reasons

There is hardly any Java Interview, where no questions are asked from String, and Why String is Immutable in Java is I think most popular Java String question. This question is also asked as Why String class is made final in Java or simply, Why String is final. In order to answer these questions, Java programmer must have a solid understanding of how String works, what are special features of this class, internal structure and implementation of String and some key fundamentals. The String class is a God class in Java, It has got special features which is not available to other classes like String literals are stored in string pool

Top 5 Courses to Learn Smart Contract for Beginners in 2022 - Best of Lot

Hello friends, if you want to learn Blockchain and Smart Contracts and looking for best online resources like books and courses then you have come to the right place. Earlier, I have shared best online courses to learn Blockchain, best Ethereum courses, and best NFT courses and today, I will share best online courses to learn Smart contracts in 2022. The list includes best smart contract courses from Udemy and Coursera and suitable for both beginners and experienced developers and IT professionals. Today we are gonna discuss something which is immensely practical and has the potential to land you very high paying jobs. Today we are gonna take a look at the best available smart contract courses online.

[Solved] How to remove duplicate elements from Array in Java? Example

This is one of the common technical interview questions which are asked to entry-level programmers and software engineers. There are also a lot of variants of how do you remove duplicates from an array in Java, like sometimes the array is sorted, and other times it's not sorted or unsorted. Sometimes, the Interviewer just spends more than half of the interview on this question by progressively making it more difficult by imposing new constraints like removing duplicate elements in place or without using any additional data structure, etc.

Difference between Array vs ArrayList in Java

What is the difference between Array and ArrayList is quite a common question among beginners especially those who started coding in C and C++ and prefer to use Array? Both Array and Array List are used to store elements, which can be either primitive or objects in case of Array and only objects in case of ArrayList in Java. The main difference between Array vs ArrayList in Java is the static nature of the Array and the dynamic nature of ArrayList. Once created you can not change the size of Array but ArrayList can re-size itself when needed. 

6 Free Courses to learn Machine Learning and Deep Learning in 2022 - Best of Lot

Hello guys, if you want to learn Machine learning and Deep learning in 2022 and look for the best online courses and tutorials, you have come to the right place. In this article, I will share some of the best free classes to learn Machine learning and Deep learning online. By the way, If you are thinking of learning Data Science, Machine learning, or Deep learning, you are not alone; more and more people are starting with these advanced skills worldwide. I have seen a lot of interest from Indian engineers in machine learning and the Artificial intelligence space. They are totally caught up with the craze of developing programs that can recognize numbers, alphabets, vehicles, and several other image scanning stuff.

Top 5 Free Courses to learn Node.js in 2022 - Best of lot

Node JS has completely changed the way JavaScript is used for development. Earlier JavaScript was considered as a client-side language because it runs on a browser and is mostly used for client-side validations, animations, and interaction. Node.js takes that to the next level by allowing JavaScript to run on a server-side, which means you can now write JavaScript applications that can execute without a browser. Node JS uses Google Chrome's execution engine and asynchronous processing to do this. All you need to is include a node.js script in your application, and you are ready to create server-side applications in JavaScript, which wasn't possible until a few years back.

Top 20 Tailwind CSS Interview Questions with Answers

Hello guys, if you are preparing for web designer or web developer interview where Tailwind CSS skills are needed and you are looking for common Tailwind questions to prepare for interview then you have come to the right place. Earlier, I have shared common CSS interview questions and Bootstrap questions, another important CSS framework and in this article, I am going to share 20 frequently asked Tailwind CSS interview questions with answers. These questions covers essential Tailwind concepts and if you have worked with Tailwind or used Tailwind in past then you can easily answer these questions but if you forgot and struggle to answer them then you can also checkout one of these best Tailwind CSS books and courses to learn and revise Tailwind concepts quickly.