Posts

Showing posts with the label Microservices

Spring Boot MongoDB Tutorial

Image
Spring Boot MongoDB Tutorial Introduction         Spring Boot is one of the most popular and most used frameworks for building microservices. I am assuming that you have a Basic Knowledge of Spring Boot and have a Basic Spring Boot Application running in your machine. If not, please check my blog on Basic Spring Boot Application by going to the link:  Spring Boot Tutorial . In this tutorial, we will be integrating a Spring Boot Application with MongoDB, which is a non-relational database, to perform CRUD operations. The same steps can be followed to connect to any other non-relational database. Requirements to Run the Application: Java Maven MongoDB IDE of your choice MongoDB should be setup and running in your machine. To setup, run and test if MongoDB is working fine, please refer to my post on:  MongoDB Setup . In my MongoDB, I have created a database named:  softwaredevelopercentral  and collection named:  employees...

Dropwizard MongoDB Tutorial

Image
Dropwizard MongoDB Tutorial Introduction         I was searching online for a Dropwizard MongoDB tutorial and all I could find were very old posts. Then I thought let me just look up for a Java MongoDB tutorial and even for this I could see very old posts dating back to 2011, 2012 and so on. The code used in these old posts cannot be used with the latest Mongo Java Driver. Hence I have come up with this post to give you a comprehensive overview of all the CRUD operations on MongoDB using the latest Mongo Java Driver.         Dropwizard is one of the most popular and most used frameworks for building microservices. I am assuming that you have a Basic Knowledge of Dropwizard and have a Basic Dropwizard Application running in your machine. If not, please check my blog on Basic Dropwizard Application by going to the link:  Dropwizard Tutorial . In this tutorial, we will be integrating a Dropwizard Application with MongoDB, which is ...

Dropwizard MySQL Integration Tutorial

Image
Dropwizard MySQL Integration Tutorial Introduction         Dropwizard is one of the most popular and most used frameworks for building microservices. I am assuming that you have a Basic Knowledge of Dropwizard and have a Basic Dropwizard Application running in your machine. If not, please check my blog on Basic Dropwizard Application by going to the link:  Dropwizard Tutorial . In this tutorial, we will be integrating a Dropwizard Application with MySQL Database, which is a relational database, to perform CRUD operations. The same steps can be followed to connect to any other relational database. Requirements to Run the Application: Java Maven MySQL Database IDE of your choice MySQL Database should be setup and running in your machine. To setup, run and test if the MySQL Database is working fine, please refer to my post on: MySQL Database Setup . In this post, I am using a simple Employee Table to perform CRUD operations. Here is the s...