In previous articles, we discussed node js network programming also we discussed how to build a basic web server using Node.js alone. By Node.js alone, I mean using its core API modules such as URL and HTTP. In the second article, we glimpsed briefly on how Node.js works behind the scenes. There is a lot… Continue reading
Posts by "JBT"
Event Loop and Asynchronous Non-Blocking in Node.js
Introduction to Node.js Event Loop In the previous article, we talked about Node js network programming. Here we will take it further and talk about Event loop and asynchronous non blocking in node js. Node.js is single threaded. It supports concurrency through paradigms of event and callbacks. Since it is single threaded, most APIs provided… Continue reading
Node Js Network Programming
Web applications are often written in a server/client model where server is responsible to respond with resources for the client to handle. Node.js is an open source platform that allows you to build fast and scalable server applications using JavaScript. Node.js is a runtime that uses the same V8 Javascript engine you can find in… Continue reading
Docker- Container installation and network setup
Introduction Docker is a tool that performs operating system level virtualization that is known as container technologies, containers allow a developer to package up an application with all the parts it need, such as libraries and other dependencies, and ship it all out as one package.
Different ways to create an object in Java
You must be aware of creating an object of a class by using the new keyword, but that is not the only way to create an Object. There are several other ways to create an object of a class : Using new keyword Using new Instance (Reflection) Using Clone Using Deserialization Using ClassLoader … don’t… Continue reading
Java Class & Object Tutorial for beginners
A class is a template for creating objects which define their state and behavior. A class contains a field and method to define the state and behavior of its object.
Core java interview questions
I have been asked about the list of Core Java Interview questions. So here I will list down some of the Core Java Interview Questions that I or my friends have faced in Interviews.
Java Collection Iterators
With this article we will kick-off a new series where we will look deep into Java’s different collection solutions which are available in the version 1.8. For concrete implementations (like ArrayList or TreeSet) we will give you some use-cases where these collections will excel and some cases where you should use different collections. And of… Continue reading
Java Lambda : Beginners Guide
This article explains Java Lambda expressions in Java 8. You can find complete code here.
Making a Spring Boot & Thymeleaf CRUD Application
Overview In this lesson, we will demonstrate how we can use Thymeleaf in a Spring Boot based application to show data in a simple template frontend. We will be using the Spring Initializr tool for setting up the project quickly. We will also mention the dependencies present in our project if you choose to setup… Continue reading