Author: Ashutosh

non-static members and its control flow in Java

Reading Time: 3 minutes Class level members which don’t have static keyword in it’s creation statement are known as Non-static members, like non-static variable and non-static methods. Type of non-static members Non static variables Non-static blocks Non-static block Constructors non-static variables Non-static variables are class level variables that do not have static keyword in its definition. When we create object, inside that object the non-static variables get memory and Continue Reading

A guide to the static keyword in Java

Reading Time: 3 minutes There are tons of reserve keywords in Java that cannot be use as names of variables or identifiers. One such frequently used keyword in Java is the “static” keyword. The most important reason why static keywords are heavily use in Java is to efficiently manage memory. Generally, if you want to access variables or methods inside a class, you first need to create an instance Continue Reading

Full explanation of JVM – Runtime Data Area and How JVM using it

Reading Time: 3 minutes Runtime Data Areas are responsible to provide memory to store bytecode, objects, parameters, local variables, return values and intermediate results of computations. It’s a part of JVM. The JVM organises the memory it needs to execute program into serval runtime data areas. JVM totally contains five runtime areas Method Area Heap Area Java Stacks Area Program Counter Registers Area Native Methods Stacks area Method Area Continue Reading

How the new JVM works and its Architecture

Reading Time: 4 minutes Definition of Java Virtual Machine JVM is responsible to run Java bytecode by translating them into current OS machine language. Moreover, JVM provides runtime environment with an equally partitioned identical memory area for executing java Bytecode in any OS. The main reason behind the invention of JVM is to achieve platform independency, means JVM is invented for running java compiled code (bytecode) in all available Continue Reading

How to create Kafka Producer in Apache Beam

Reading Time: 2 minutes In this blog we will understand what is Kafka and Kafka Producer including code of Kafka Producer using Apache Beam. What is Kafka? Kafka is a distributed data streaming platform, So it is used commonly for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications. Publish (write) and Subscribe to (read) streams of events, called records. Store streams of records durably and reliably inside Continue Reading