Article
The performance of a Java program and the proper use of resources often depend on a collection a developer chose for storing data. Hence, it is very important to understand the difference between the implementations. That's why questions related to collections are on top of interviews for Java Junior developer...
Guest Contributor
The internet is becoming more and more service oriented with more businesses and companies coming up with offerings that can be provided or accessed online. This requires users to create many accounts on many different platforms for the services that they get online. Such services range from online shopping to...
Robley Gori
Lambda functions have been an addition that came with Java 8, and was the language's first step towards functional programming, following a general trend toward implementing useful features of various compatible paradigms. The motivation for introducing lambda functions was mainly to reduce the cumbersome repetitive code that went into passing...
Darinka Zobenica
In this article, we'll introduce you to Spring Cloud Netflix Hystrix. It is a fault tolerance library, which implements the Circuit Breaker enterprise pattern - a pattern designed to prevent cascading failures. In a typical microservice architecture we have many small applications running separately. It's quite common that one service...
Dhananjay Singh
Dynamic Programming is typically used to optimize recursive algorithms, as they tend to scale exponentially. The main idea is to break down complex problems (with many recursive calls) into smaller subproblems and then save them into memory so that we don't have to recalculate them each time we use them....
Vladimir Batoćanin
With the increase in the number of the cores available in the processors nowadays, coupled with the ever increasing need to achieve more throughput, multi-threading APIs are getting quite popular. Java provides its own multi-threading framework called the Executor Framework. What is the Executor Framework? The Executor Framework contains a...
Chandan Singh
In an increasingly connected ecosystem of software systems, communication between them has become even more paramount. In turn, several technologies have been developed to package data being transferred or shared between these many and different systems. The eXtensible Markup Language, popularly known as XML, is one of the ways to...
There are many ways to go about Reading and Writing Files in Java. We typically have some data in memory, on which we perform operations, and then persist in a file. However, if we want to change that information, we need to put the contents of the file back into...
Olivera Popović
This article applies to sites created with the Spring Boot framework. We will be discussing the following four methods to add additional layers of security to Spring Boot apps: Preventing SQL Injection using Parameterized Queries URL Parameter Input Validation Form Field Input Validation Output Encoding to Prevent Reflected XSS Attacks...
Jacob Stopak
© 2013-2025 Stack Abuse. All rights reserved.