Skip to main content

33 docs tagged with "Java"

View All Tags

Activate a Spring Boot Profile for a Component

You have defined different Spring Boot profiles for your Java Domain Service service and want to activate one of them when deploying the service through an application composition project in order to apply a specific bunch of configurations.

Define Entity Mapping (Java)

When working with Domain services mapping between api namespace and domain namespace is often needed, for example :

Define Unit Tests (Java)

You already have an existing Java Domain service, you want to include unit testing for that service.

Implement Error Handling for APIs

You have designed API operations with more than just one resoponse to cover both the success and error case. In your implementation code you want to return a specific response body if an error happens.

Integrate WatsonX

Integrate IBM WatsonX AI service into your Java application to summarize long texts.

Integrate WebSocket

Set up a WebSocket server in your Domain Java service using Java Stack 2.0 to enable real-time bidirectional communication.

Perform Remote Debugging

To debug your Java Solution, you can debug them in a number of ways. JUnit is one of them, and using the docker images for the events locally is another method. For more info, please see here.

Unit 13: Implement Agent

In this course you will learn how to implement an agent within the domain namespace using your local IDE.

Unit 14: Implement Integration Service

In this course you will learn how to implement services in integration namespaces and how to call the Rest API of another microservice using your local IDE.

Unit 16: Deploy Project

In this course you will learn how to use the built-in pipeline functionality of the to build and deploy your Domain Service project using the .

Unit 2: Design Entities

In this course you will learn about the different types of entities within a domain namespace. You will also practice how to design entites with their properties using the .

Unit 3: Design Commands

In this course you will learn about the different types of commands within a domain namespace. You will also practice how to design commands with their input, business events and business errors using the .

Unit 7: API Schemas

In this course you will learn about API Schemas and how they can be reused in an API namespace.

Use External Entities

An External Entity is considered a proxy of an entity that is managed by another microservice. Normally, the external entity contains only the most important data that is regularly needed in the context of the aggregate to which the external entity belongs. Because of these specifics, it is handled differently than a usual Entity.

Use the SAGA Pattern

You want to design transaction-like behaviour using the SAGA pattern support in your Java Domain Service based project.

View Distributed Tracing

Goal: Enable and configure distributed tracing for REST calls, MongoDB operations, and Kafka events in Java stack 2.0 applications using OpenTelemetry with Jaeger.