Spring Boot MongoDB CRUD Example MongoDB java Spring Boot by devs5003 - November 10, 2024November 11, 20250 In continuation to MongoDB setup and how to work with Spring Boot in MongoDB, now in this article we will learn the most important DB operations. If we are in Software development world, we should at least know 'How to write CRUD operation on the database front'. Needless to say, how much importance these operations have. If you are developing any web application in any programming language, you can't escape from these operations. CRUD is nothing but an abbreviation to Create, Read, Update and Delete. Moreover, development of CRUD operations is expected from all developers. We will learn 'Spring Boot MongoDB CRUD Example' in this article. In order to implement CRUD Operations in Spring Boot with MongoDB, we will make use
Interview Questions for Object Oriented Programming Core Java Interview java MCQ OOP Concept by devs5003 - October 28, 2024April 12, 20252 OOP (Object Oriented Programming) concepts are the essential & the most important concepts in any Object Oriented Programming Language. Any exam or interview of an OOP language is considered incomplete without these questions. Therefore, it becomes crucial to practice them thoroughly time to time. Certainly, we will be talking about the practice test of OOP concepts in this article. It helps in thorough revision of the subject and make the concept crystal clear. Here in this article, we will focus on Interview Questions for Object Oriented Programming in the form of MCQs Practice Test with a variety of questions such as concept-based, code-based, and scenario-based. At the end of each question, we will explore the detailed explanation of each question. In
Optional Class in Java 8 – A Comprehensive Tutorial Core Java java Java 8 by devs5003 - October 16, 2024November 5, 20252 Java 8 introduced many significant features, one of which is the Optional class. It was intended to address the common problem of dealing with null values in Java. Many people in the industry feel that you are not a real Java programmer until you haven't come across a NullPointerException. Since NullPointerException indicates the absence of a value, the null reference is the source of many problems. So, Optional class can address some of these problems. In this article, we will explore the Optional Class in Java 8, its benefits, usage, and best practices to ensure efficient and null-safe code. What is Optional Class in Java? The Optional is a class of the 'java.util' package. In simple words, Optional is a single-value container/wrapper that
How To Become a Good Java Developer? java Microservices Programming Spring Spring Boot by devs5003 - October 13, 2024December 12, 20250 There are numerous programming languages that programmers and developers can use today from C language, C++ to Python etc. Java may be a language that is considered versatile due to its ability to be utilized in designing customized apps that are fast and lightweight. Programming languages are designed to shape out a developer's future, they are used to make different apps, wonderful websites, and several software products you see around you. Consider the big giants like Amazon, Google, and the rest other major industry players are using Java in a mature manner. Becoming expert Java developers puts individuals in the front line within the industry. Moreover, many companies are trying to find developers proficient in Java. Let's talk about some popularity
Spring Boot Annotations With Examples Spring Boot java Spring by devs5003 - October 7, 2024February 16, 20267 Spring Boot Annotations List with Examples: Springboot All Annotations Prior to Annotations, the Spring Framework's configuration was largely dependent on XMLs. Using XML configurations was not only a tedious process, but also an error-prone. If you committed any syntactical mistake in XML, sometimes it takes time to fix. But now-a-days annotations, particularly Spring Boot Annotations provide us remarkable capabilities in configuring Spring Framework's behavior. Moreover, Annotations caused major changes in programming style and slowly making the XML-based configurations outdated. The Java Programming introduced support for Annotations from JDK 1.5. However Spring Framework started supporting annotations from the release 2.5. Obviously, we are going to discuss about Spring Boot Annotations With Examples and their usages. Here in this article on 'Spring Boot Annotations
WebClient in Spring Boot java Spring Boot Spring Boot REST WebClient by devs5003 - October 4, 2024July 2, 20251 A typical modern web application generally has four well known layers i.e. Presentation Layer, Service Layer and Data Layer, and an Integration Layer. The Integration layer generally works with the web services concept and connects two different applications to exchange data between them. One application refers to producer/provider, whereas other refers to consumers. Here, we will discuss about REST consumer/client API using WebClient in Spring Boot. The traditional way of implementing REST client API is by using RestTemplate. However, we have already gone through the RestTemplate in another article where we had developed different operations to consume REST API. Now, we must have a question in mind ‘How to write REST Consumer API using WebClient in Spring Boot?’. Needless to say, WebClient
Java 23 New Features With Examples Core Java java Java 23 by devs5003 - October 2, 2024September 24, 20251 Java Development Kit 23, the next version of Java Standard Edition, is now available as a production release on September 17, 2024. Java 23 comes with various new features, some preview features, incubator feature, deprecation & deletions. It is inclined to improve developer productivity and program efficiency. In this article, we will explore some of the most essential developer’s friendly Java 23 new features with examples. You may also go through the LTS version Java 21 New Features With Examples. Java 23 New Features With Examples Let's start exploring Java 23 New Features with examples one by one. Primitive Types in Patterns, instanceof, and switch (Preview) – JEP 455 This is a preview language feature. Till Java 22, instanceof cannot be used with primitive data
Spring Boot MongoDB Query Examples MongoDB java Spring Spring Boot by devs5003 - September 28, 2024November 11, 20250 Spring Boot MongoDB @Query Examples, Spring Data MongoDB Queries, @Query Annotation in Spring Boot MongoDB, Spring Boot MongoDB Query Examples, Spring Data MongoDB Queries, @Query mongodb spring boot example, mongodb queries, spring mongodb, @query mongodb spring, @query in spring boot mongodb, spring boot mongodb query like, mongodb spring boot custom query In previous article 'Spring Boot MongoDB CRUD Example', we have already covered the 'How to write CRUD operations using Spring Boot & MongoDB'. Further, in this article we will learn 'How to develop queries using Spring Boot & MongoDB'. However, if we extend our custom Repository interface from MongoRepository<T, ID>, we can at least develop CRUD operations without adding any method in our custom Repository. But sometimes, we need complex
MCQ on SOLID Principles Practice Test Core Java Design Principles java by devs5003 - September 23, 2024November 13, 20250 One of the best ways to become an expert in any subject is by practicing it in a regular interval. There are many ways to practice the subject. It totally depends on you. In my opinion, solving the practice test is the most prominent way to refresh your concept without going through the theory & concepts again. When you start solving the practice test, all your old concepts gets recalled. In this article, we will explore SOLID Principles Practice Test in the form of MCQs, including a mix of concept-based, code-based, and scenario-based questions. After each question, we will go over the explanation for why each option is right or wrong. Don’t overlook the incorrect options, as they might recap other
How to install and download Cassandra DB on Windows? Cassandra java by devs5003 - September 17, 2024November 16, 20250 In this article, we are going to learn 'How to install and download Cassandra DB on Windows?' in simple steps. The Installation process of Cassandra DB is a bit tricky as compared to other database software. Needless to mention, Cassandra is a NoSQL DB and it is known for high performance. How to install Cassandra DB on Windows? We will discuss about 'How to install Cassandra DB on Windows?' in our local system here in this section. There are three mandatory software that we should have in our system in order to take complete benefit of the Cassandra DB. These are: 1) JDK 8+ 2) Python 2.7+ 3) Apache Cassandra 3+ Before the download Cassandra, please make sure that JDK and Python should be installed in