May 4, 2021Member-onlyHow to send Template based Email using Spring Boot and FreeMarker.Hi all, In this Tutorial, i will be talking about template based Email using spring boot application. To implement Email Functionality with spring boot We require below dependencies . FreeMarker (As we are going to use FreeMarker template for our Email Html and content) JavaMail Api(Api for sending java mails). …Email3 min readEmail3 min read
Mar 24, 2021Member-onlyTable-Valued Parameter in Microsoft SQL, what is that and where we can use it.Recently i worked on a java microservice which was reading records from a csv file and inserting or updating into database through sql procedure. Database was Microsoft SQL. Initially i wrote a simple java program, which was reading record one by one from CSV and was inserting that record into…Tvp3 min readTvp3 min read
Published inSinghal Labs·Feb 4, 2021Member-onlyMicroservices:- Spring Boot admin, What it is, How it helps you in managing and monitoring microservices.Spring Boot Admin is a web application, used for managing and monitoring Spring Boot applications. As no of microservices is more , it become difficult to manage and monitor them . that is where Spring Boot Admin come into picture. Each microservice is considered as a client and register to…Spring Boot Admin3 min readSpring Boot Admin3 min read
Published inSinghal Labs·Feb 1, 2021Member-onlyMicroservices: Spring boot actuator, What they are and how they are helping us in maintaining microservices.Spring Boot Actuator is a sub-project from spring boot framework, It helps us to monitor and manage our application. we can gather all these info using jmx or http endpoints. To include in your maven spring project , you have to add below dependency in your pom.xml <dependencies>…Spring Boot Actuator3 min readSpring Boot Actuator3 min read
Published inSinghal Labs·Jan 31, 2021Member-onlyMicroservices:- How to identify what version ,Which commit , What branch of Spring Boot microservice is deployed on kubernetes.Moving your monolithic application to microservices architecture gives us immense benefit. Now we need to deploy only services ,which we changed. we can have seperate team working on seperate microservice without impacting each others. We can develop different microservices in different language and platform. …Spring Boot2 min readSpring Boot2 min read
Published inSinghal Labs·Jan 22, 2021Member-onlyLombok A library for getting rid of getter setter for your Pojo.Recently i got a chance to work on microservices ,In existing code i observed some annotations in my pojo or JPA entities and did not see any setter or getter for properties defined. But in my whole code getter and setter were getting used .I realized there is something going…Lombok2 min readLombok2 min read
Jan 6, 2021Member-onlyLombok A library for getting rid of getter setter for your Pojo.Recently i got a chance to work on microservices ,In existing code i observed some annotations in my pojo or JPA entities and did not see any setter or getter for properties defined. But in my whole code getter and setter were getting used .I realized there is something going…Java2 min readJava2 min read
Aug 3, 2020Member-onlyMy Youtube channel TechieKKHi all, recently i have launched my channel on youtube. and name of my channel is TechieKK.1 min read1 min read
Published inSinghal Labs·Jul 18, 2020Member-onlyWhat is Google Cloud Function and How to write a program for it.Cloud functions is a serverless platform for building event-base microservices. it is basically scalable pay as you go Functions-as-a-Service (FaaS) to run your code with zero server management from google. Cloud function can be primarily divided into 2 kind of function.Gcf5 min readGcf5 min read
Jun 1, 2020Member-onlyHow to implement PhoneBook using tries data structure.Phone Book — Design a data structure to store your contacts: Names of people along with their phone numbers.The data structure should be able to do the following quickly: Add contacts. Lookup the phone number by name. Determine who is calling given their phone number. To do that: To implement this we will…Phonebooks4 min readPhonebooks4 min read