Home » Tag Archives: Java

Tag Archives: Java

MongoDB Tutorial for Beginners

1. Introduction to MongoDB In this post, we feature a comprehensive MongoDB Tutorial that integrates with a Java-based application. Whenever we read about NoSQL databases, we need to know why were they ever developed when SQL databases were working excellent. NoSQL foundations grew upon relaxed ACID (atomicity, consistency, isolation, durability) guarantees in favour of performance, scalability, flexibility and reduced complexity. ...

Read More »

Java Lambda Expressions Tutorial

1. Introduction to Lambda Expressions in Java In this post, we feature a comprehensive Tutorial on Java Lambda Expressions. Lambda Expressions are considered as one of the best features which were introduced in Java 8. Lambda Expressions are considered as Java’s first step into the Functional Programming world. It can be seen as a function which can be created without ...

Read More »

Java Is Becoming What COBOL Was – Will It Become What COBOL Is?

Any computer science graduate from a university, technical school or community college is trained in it. Every company of any stature uses the language and has a cadre of programmers capable in it. It is the lingua franca that drives businesses. This was COBOL in 1985. Today, it’s Java. While there are differences, these two languages share enough similarity in their ...

Read More »

NetBeans IDE Tutorial

1. About Netbeans IDE Netbeans IDE, started as a student project known as Xelfi in the past, is a popular IDE developed with the goal to create a Delphi like IDE for Java. First developed in 1996, it has grown into a full fledged IDE for Enterprise scaled software development. With its excellent integrated abilities like the connection manager, integrated ...

Read More »

JVM Architecture: Execution Engine in JVM

Hello readers! In the previous article of JVM series, developers learned about the Virtual machine’s ClassLoader and Runtime Data Areas components. This tutorial will help developers to correctly understand the Execution Engine in JVM. 1. Introduction Before moving further let’s take a look at the Java Virtual Machine and its basic characteristics. 1.1 What is Java Virtual Machine (JVM)? Java ...

Read More »

JVM Architecture: Overview of JVM and JVM Architecture

Hello readers! In this tutorial, we will understand and learn the Java Virtual Machine (JVM) and its architecture. This tutorial will help you to correctly answer the below questions: What is JVM in Java? Different components of JVM Difference between JVM, JRE, and JDK 1. Introduction Java Virtual Machine (JVM) is an abstract virtual machine that resides on your computer ...

Read More »

Minimize Java Memory Usage with the Right Garbage Collector

Size matters when it comes to software. It has become clear that using small pieces within the microservice architecture delivers more advantages compared to the big monolith approach. The recent Java release of Jigsaw helps decompose legacy applications or build new cloud-native apps from scratch. This approach reduces disk space, build time and startup time. However, it doesn’t help enough ...

Read More »

Load balancing with Apache Camel

In this example we will show you how to use Apache Camel as a load balancer for your system. In computer world a load balancer is a device that acts as a reverse proxy and distributes network or application traffic across a number of servers. Load balancers are used to increase capacity (concurrent users) and reliability of applications. With the ...

Read More »

Improve your Logging in your Java EE Application with tinylog 1.1

java-interview-questions-answers

tinylog is a lightweight logging framework for Java. In opposite to Apache Log4j and Logback, tinylog consists of a single JAR file of only 80KB without any dependencies and has a static logger class. This means that you haven’t to use any boilerplate code for creating a logger instance for each class. public static void main(String[] args) { Logger.info("Hello World!"); ...

Read More »