Java

Java Developer Interview Questions

Java is one of the most used programming languages on the planet, rivaled only by big names such as Python and JavaScript. Java developers are highly sought-after and, as such, the job market can feel a bit competitive. To give yourself a leg-up on the competition, it is always wise to prepare prior to any job interview. To help you achieve that goal, we...

Java Multithreading Explained

Multithreading is considered to be one of the more complex topics in computer programming and in Java specifically. To correctly use multithreading in applications requires a high level of skill, knowledge, and experience. In this article, I introduce multithreading concepts from a developer standpoint and correlate them to Java threading. Developers, software architects and engineers, data scientists, students, and coding professionals - especially the subset...

Previewing Microsoft’s OpenJDK

On April 6th, 2021, Microsoft announced the preview of the Microsoft Build of OpenJDK. It is a no-cost, open-source Long-Term Support (LTS) distribution of OpenJDK that is free for anyone to deploy anywhere. OpenJDK includes binaries for Java 11, based on OpenJDK 11.0.10+9, on x64 server and desktop environments on macOS, Linux, and Windows. An Early Access binary for Java 16 for Windows on ARM,...

Getting Started with Apache Maven (JAVA/J2EE)

Installing and Configuring Apache Maven Today we are going to look at the Apache Maven project management tool for Java/2EE builds. We will discuss how to install, configure, and create a project and Alumni servlet. We will also go over some plugins for Apache Maven as well. There is a lot to unpack, so let’s dive right in! Apache Maven is a build, or total project...

Open Source Java Projects Move Closer Toward Consensus

When it comes to Java virtual machines, there has never been a shortage of proprietary and open-source options that developers have been employing to build a wide range of enterprise applications. However, the adoption of open-source Java platforms has not been as widespread as many providers of these platforms have hoped, mainly because of fragmentation within the Java community. To try and address that issue,...

Full-Text Search with Apache Lucene 5.3.x/5.4.x

Before we delve into Apache Lucene, the following are the most important terms that you need to be familiar with. This will also help you clarify a few terms before getting into search or information retrieval: We'll start with Apache Lucene 5.3.x/5.4.y. The most important aspects of Lucene are mentioned under each heading. Apache Lucene introduction Apache Lucene is a high-performance, full-featured text search engine library written...

Complex Event Processing and Correlation with Drools Fusion 6.x

Complex event processing is used to process a large stream of information and can be used for real-time event monitoring or correlation. Events can be processed in two ways, either in 'stream' mode or in 'cloud' mode. The following image illustrates the differences between the two modes: The continuous flow of information or events can be classified into one of these brackets (or even both)...

Business Rules Engines with Drools Expert 6.x

Business rules management systems (BRMS) are needed to execute one or more rules in an enterprise or software system. The ability to maintain and execute rules as separate from the application code is the greatest advantage of such rules engines. Business rules engines are a form of expert system, which allows for human expert-like decision-making abilities. Business rules engines are primarily of two types and...

Developing SOAP Web Services with Apache CXF and JiBX

Here we'll look at developing SOAP Web services using Apache CXF and JiBX. It may be helpful to start with an overview of SOAP Web services architecture, so we'll begin with the diagram below, plus some SOAP terminology. SOAP Web Services - Architecture Advantages of Apache CXF Apache CXF is currently the most widely used framework, and is preferred over Axis. Here's why: It separates the JAX-WS code...

API Documentation in Spring with Swagger

Documenting an application is an essential point of any project that is often overlooked. When working as a team, poor documentation can make the work of other developers very hard. Documenting APIs, in turn, is no different. Spring Boot, one of the most used frameworks in Java for API development, presents an easy way to integrate with Swagger. From the official website definition: Swagger is a powerful...

Latest Articles