Introduction Assume that we have been given following mockup screens: A possible rest implementation would have following APIs: GET /car/{id} Response: { "id" : "car1", "carNumber" : "KA01HK", "driverId" : "12" } ------------------------------------- GET /driver/{id} Response: { "id" : "12", "firstName" : "Harsh", "lastName" : "Vardhan" } But! The first screen only wanted car number... Continue Reading →
Simple Project Idea in Java for Beginners
Problem Statement: Make a console based java application which support CRUD (Create, Read, Update, Delete) operations for e-commerce domain. Application should be able to support following features: Any user should be able to sign up, log in and log out.Admin should be able to add, update and delete products.Logged in user should be able to... Continue Reading →
My Learning in Software Engineering
Introduction The question that frequently pops up during discussion with colleagues and friends is: “What’s next?” The question triggers a debate with very subjective answers which are evolving over time. Three years before, the answers included MS, MBA and startup. I used to work for a unicorn and I decided to join a startup to:... Continue Reading →
Using Guice for Dependency Injection
Prerequisite For Injecting dependency using guice, you should first know what is Dependency Injection. Please go through this article to understand Dependency Injection. Introduction Now that we know what is Dependency Injection, we can use it in our code. With dependency injection, objects accept dependencies in their constructors. To construct an object, you need first... Continue Reading →
A Beginner Tutorial To Kotlin – 1
Prerequisite IntelliJ Idea or any other IDE that supports Kotlin syntaxJVM (as Kotlin is a JVM based language) Introduction JetBrains started project Kotlin in 2011. Kotlin is designed to be complied as fast as Java and having the features of Scala. Scala, as JetBrain points out, has a high compilation time. Kotlin has saveral variations... Continue Reading →
A Beginner Tutorial on Java Streams
The screenshot above explains the dictionary meaning of stream. And stream in java is no different. The dictionary meaning says: stream - a continuous flow of liquid, air or gasA quick google search Stream in Java is also a sequence of values. As you can make a dam to aggregate the water in case of... Continue Reading →
Dependency Injection for beginners in a simple language
Mr. Das Mr Das hates travel. And more so the business ones. But as a Senior Integration Engineer, Mr. Das has to travel to the client's location. He has booked a nice hotel for his stay. Hotel has given Mr Das a phone number. He can dial the number from anywhere for any kind of... Continue Reading →
Git Tutorial For Beginners
Presentation This slide was used for the git tutorial session. Assessment Quiz
A Tutorial on Implementing a Chat Application like Whatsapp using WebSocket and Spring
What is Websocket? When we run a server side application, we run it on a particular physical port e.g. 8080, 8081. And to access the server side application, we use an IP. Similarly, when we log in to our browser and ask for a particular site, we send to the request our computer's IP as... Continue Reading →
A Beginner Guide To Decorator Pattern
Which is your favourite Gun in PUBG? Mine is this one in the picture below. Who will name this? SCAR-L! That's right. It needs 5.56 mm bullet and is pretty handy. More about SCAR-L here. But! let's ask our friends in Pochinki? Has someone got 4x zoom? Why? Because you know that the assault rifle... Continue Reading →