Arquitetura Hexagonal com Java - C1
Learn hexagonal architecture with Java! Explore concepts, design, and implementation for robust software projects.
Course Content
Arquitetura Hexagonal com Java - C1 is an intermediate-level Udemy course taught by Fernando Franzini. It runs 9h 27m, is taught in Portuguese, and includes a certificate of completion. Learners rate it 4.8 out of 5 from 377 reviews, with 1,761 students enrolled. It is a paid course, last updated April 2020.
Master the Hexagonal Architecture with Practical Java Development
Unlock robust and maintainable software design with our comprehensive course on the Hexagonal Architecture, also known as Ports and Adapters. This course provides both theoretical knowledge and hands-on experience, empowering you to build adaptable applications.
Course Overview:
This course delves into the core principles of the Hexagonal Architecture, exploring its value, concepts, and underlying metaphors. You'll learn how to isolate your application's core logic from external concerns, creating a flexible and testable system. We'll solidify your understanding through a practical, 100% hands-on case study implemented in Java.
What You'll Learn:
Module 1: Foundations of the Hexagonal Architecture
- Understanding the Core Concepts: Explore the "why" and "what" of the Hexagonal Architecture. Discover its origins, objectives, and the benefits it brings to software development.
- Key Components: Master the essential elements:
- Isolation: Learn how to isolate your application's core from external dependencies.
- Core (Hexagon): Understand the central domain logic and its importance.
- Actors: Explore Primary Drivers (conductors) and Secondary Drives (driven actors) and their roles.
- Dependencies: Learn how dependencies are managed within the architecture.
- Ports: Understand Primary Ports (conductors) and Secondary Ports (driven) and their purpose in defining interfaces.
- Adapters: Discover Driver Adapters (conductors) and Driven Adapters (driven) and how they connect to external systems.
- Simulated Adapters (Mocking): Learn how to use mocks for testing and development.
- Execution Flow: Gain a deep understanding of how the application's execution flow works within the Hexagonal Architecture.
- Inversion of Control (IoC): Explore the principles of IoC and how it facilitates loose coupling.
- Configurable Dependencies: Learn how to manage dependencies effectively.
- Real-World Example: Analyze a practical application of the Hexagonal Architecture – a Task Manager application.
- Practical Considerations: Discuss the advantages and disadvantages of using the Hexagonal Architecture and when it's most appropriate.
Module 2: Design and Implementation Strategies
- IDE & Project Organization: Learn best practices for structuring your Java projects.
- Package Organization: Establish a clear and maintainable package structure.
- Business Rule Patterns: Implement business rules effectively within the architecture.
- Primary Port Transfer: Understand how to transfer data through primary ports.
- Dependencies for Backservices: Manage dependencies for external services.
- Domain Model: Design a robust domain model for your application.
- Domain Service: Implement domain logic using domain services.
- Driven Ports: Utilize driven ports for external interactions.
- Services Outside the Hexagon: Explore the role of Driver Adapters (upper left) and Driven Adapters (lower right) in connecting to external systems.
- Execution Sequence: Understand the execution flow and sequence of development.
Module 3: Hands-on Java Development with the Hexagonal Architecture
- Case Study: Bank Transfer: Apply the Hexagonal Architecture to a practical Bank Transfer use case.
- Prototype Development: Build a functional prototype of the Bank Transfer system.
- Technology Stack: Gain experience with:
- Java: JDK, Java 12, Java Module
- Development Tools: IntelliJ
- Testing: TDD, JUnit
- Dependency Injection: CDI, Spring Framework
- User Interface: JavaFX
- Database: HSQDB (Relational Database)
- Design Decisions: Make informed design decisions throughout the development process.
- Development Environment Setup: Learn how to set up your development environment.
- Project Breakdown:
- Project 1: Core Hexagonal: Implement the core domain logic.
- Project 2: Front-End: Develop the user interface.
- Project 3: Back-Services: Implement external service integrations.
- Project 4: Build for Homologation & Production: Prepare the application for deployment.
Benefits of Learning:
- Develop testable and maintainable Java applications.
- Improve code organization and separation of concerns.
- Enhance flexibility and adaptability to changing requirements.
- Gain expertise in modern software architecture patterns.
Need a web app built? Hire the team behind TutorialSearch.io
We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.