In the previous post, we learnt how to create our brand new spring boot application. Now the questions comes, how to secure my spring boot application ? How to ensure my application resources are restricted to limited users ? and so on, In this post, let’s see how to enable spring security in our spring […]
In this post, let’s experiment to create a simple spring boot application. Prerequisites Java Development Kit – Java 0.0 above Eclipse – jee-2021-03 or any other IDE 1. Create your project from https://start.spring.io/ On click of Generate, your project will be downloaded as a zip file. 2. Open eclipse workspace and import your project using […]
Let’s continue here with garbage collector, Garbage Collection Garbage collection is the process of freeing space in the heap or the nursery for allocation of new objects. Let’s look at the models of Garbage Collection. The Mark and Sweep Model Generational Garbage Collection Dynamic and Static Garbage Collection Modes Compaction The Mark and Sweep Model […]
One interviewer asked me a question, “Do you know about Java Memory Management “. I started replying like this, “Heap and Stack are the parts of it. Heap is the place where we store the objects and stack is the place for storing the reference for those objects.” He started firing subsequent questions and I […]
Here is the scenario where we need rebase. main is the base branch and 2 sub branches add and subtract were created from main. Developer A is working on add and developer B is working on subtract. Developer A pushed his changes and merged the code to main. But B is still working on his […]