Book Image

Hands-On Software Architecture with Java

By : Giuseppe Bonocore
5 (1)
Book Image

Hands-On Software Architecture with Java

5 (1)
By: Giuseppe Bonocore

Overview of this book

Well-written software architecture is the core of an efficient and scalable enterprise application. Java, the most widespread technology in current enterprises, provides complete toolkits to support the implementation of a well-designed architecture. This book starts with the fundamentals of architecture and takes you through the basic components of application architecture. You'll cover the different types of software architectural patterns and application integration patterns and learn about their most widespread implementation in Java. You'll then explore cloud-native architectures and best practices for enhancing existing applications to better suit a cloud-enabled world. Later, the book highlights some cross-cutting concerns and the importance of monitoring and tracing for planning the evolution of the software, foreseeing predictable maintenance, and troubleshooting. The book concludes with an analysis of the current status of software architectures in Java programming and offers insights into transforming your architecture to reduce technical debt. By the end of this software architecture book, you'll have acquired some of the most valuable and in-demand software architect skills to progress in your career.
Table of Contents (20 chapters)
1
Section 1: Fundamentals of Software Architectures
7
Section 2: Software Architecture Patterns
14
Section 3: Architectural Context

Most common Quarkus extensions

Quarkus is aiming at cloud-native applications and microservices but shares some features and functionalities with the JEE world. This is thanks to its adherence to the MicroProfile specification.

Such features are implementing common use cases and are very handy, as they allow you to use existing skills and, in some cases, existing JEE code.

In this section, we will go through a quick overview of the Quarkus extensions shared with the JEE specification.

Content Dependency Injection

CDI is a structured way to wire and compose the objects of your application. CDI in Quarkus is based on the Contexts and Dependency Injection for Java 2.0 specification, which defines CDI for both Java SE and Java EE.

The Quarkus CDI implementation leverages the ArC framework and is not fully compliant with the CDI specification, even if it provides support for the most common CDI use cases such as DI (of course), qualifiers, life cycle callbacks, and interceptors...