Systems | Development | Analytics | API | Testing

Java

Log4J, Log4Shell and Kong

If you’ve been online at all this week, chances are that you’ve heard about the Log4Shell zero-day (CVE-2021-44228) in Log4J, a popular Java logging library. The vulnerability enables Remote Code Execution (RCE), which allows attackers to run arbitrary code on the target’s machines. I know the first question that you all have is: “Is Kong affected by Log4Shell?” Let’s start with the good news: No Kong products are affected by this Log4J vulnerability.

Rollbar Log4J CVE-2021-44228 ("Log4Shell") Community Update

Your data is safe with Rollbar. A zero day in the Java ecosystem was discovered that could exploit Apache’s Log4J library. The vulnerability can, potentially, impact users of Rollbar’s Java SDK if they selected Log4J for their project. We recommend that all projects that are dependent on Log4J upgrade their dependencies so they require a version at/after 2.16.0.

How to Handle the <Identifier> Expected Error in Java

By definition, an identifier in Java is a sequence of one or more characters, where the first character must be a valid first character (letter, $, _) and each subsequent character in the sequence must be a valid non-first character (letter, digit, $, _). An identifier can be used to name a package, a class, an interface, a method, a variable, etc.

How to Fix Unreachable Statement Errors in Java

Statements are foundational language constructs that have an effect on the execution of a program. Statements are similar to sentences in natural languages. In Java, there are three main types of statements, namely expression statements, declaration statements, and control-flow statements 1. As a compiled programming language, Java has an inbuilt mechanism for preventing many source code errors from winding up in executable programs and surfacing in production environments 2.

Types of Exceptions in Java

Java is an object-oriented programming language. It supports a variety of techniques, including exception handling. This Java feature allows developers to control exception-related runtime issues. In Java, an exception is an event that happens during the execution of a program and prevents the program's instructions from flowing normally. Exceptions are bugs or errors that we don't want and that prevent our application from running normally. In this article, we are discussing exceptions in Java.

Coding Java Applications the Serverless Way

Serverless Java applications use modern cloud computing to let developers focus on business logic rather than infrastructure. In a serverless environment, the infrastructure provider takes care of scaling, runtimes, resource management, security and other specifics. Concerns such as number of instances to run and which OS to use are managed by Function as a Service (FaaS) platforms, allowing developers to focus on application code.

What Are Cloud Native Java Applications & Architectures?

Cloud-native has been one of the biggest trends in software development for quite a while. Developing, deploying and managing applications outside of local machines and entirely in the cloud offers countless opportunities to businesses. The cloud computing delivery model helps them bring new ideas to market faster and respond swiftly to customer requests. From a technical point of view, cloud-native development provides faster and lighter runtimes, reduces complexity and stabilizes applications.

Quarkus vs Spring Boot: Which Framework is Right for You?

In modern application architecture and development, there has been a push from monolithic applications towards microservices. This has made microservices frameworks (micro-frameworks) very popular since they make it easier to prototype, design and build microservices applications. Spring Boot and Quarkus are both very popular microservices frameworks for building cloud native Java applications.