Spring Boot MongoDB using MongoTemplate Examples MongoDB java Spring Boot by devs5003 - May 7, 2021January 24, 20231 In continuation to series of tutorials on Spring Boot with MongoDB, we have already discussed various examples using MongoRepository interface. Now in this article we are going to discuss a different way of accessing data from MongoDB. This is nothing but MongoTemplate. MongoTemplate is defined by Spring Data MongoDB, used to perform DB operations without using any repository interface. If you are reading this article in context of Spring Boot, you must have heard about the term JDBCTemplate. Like JDBCTemplate, MongoTemplate is a class which provides us different handy methods to work on various DB operations. However, we generally use it to retrieve data from MongoDB using different Criteria queries. Hence, our topic here is to discuss is 'Spring Boot MongoDB
Spring Boot MongoDB @Query Examples MongoDB java Spring Boot by devs5003 - April 29, 2021March 20, 20230 Spring Boot MongoDB @Query Examples, Spring Data MongoDB Queries, @Query Annotation in Spring Boot MongoDB, 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 data from MongoDB. In that
Spring Boot MongoDB CRUD Example MongoDB java Spring Boot by devs5003 - April 23, 2021February 8, 20230 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 make use of
How to develop a Reactive CRUD REST API with Spring WebFlux? Spring Boot java MongoDB Spring Spring Reactive Webflux by devs5003 - February 3, 2021August 2, 20223 Reactive Programming Spring Boot, Spring Webflux with MongoDB Example, Spring Boot Reactive, Reactive REST API, Spring Webflux CRUD Example, How to develop a Reactive CRUD REST API with Spring WebFlux?, Reactive Stack vs Servlet Stack, Spring Reactive Client with WebClient etc. In this article, we will discuss about ''How to develop a Reactive CRUD REST API with Spring WebFlux?''. In other words, we will be talking about a new way of working in REST APIs which is Reactive Programming. No doubt, if we talk about the performance, this way is faster than the traditional way of developing REST. Moreover, Reactive Programming offers us to utilize application resources optimally. We will also discuss how to work with the concept of Spring WebFlux
Spring Boot MongoDB Tutorial Spring Boot java MongoDB Spring by devs5003 - November 11, 2020April 30, 20234 As a Java developer, we can't develop an insightful application without the use of a database software. Traditionally, we use a relational database to work with an application. Of course, A relational database is a structured database and contains multiple tables to maintain meaningful relations between them. Additionally, it uses SQL like queries to operate with data stored in the tables. In contrast, suppose we have to work with a large amount of unstructured data which is not beneficial to store in the form of tables, keeping other factors in mind as well, then how will we store our data? The simple answer is 'we should use MongoDB' in that case. Further, you might even have some other questions in your