How to create your first CDI bean | #java #quarkus

preview_player
Показать описание
A CDI bean is an application component that encapsulates some business logic. Beans can be used either by Java code or by the unified EL (expression language used in JSP and JSF technologies). Beans’ life cycles are managed by the container and can be injected into other beans. All you need to do to define a bean is to write a POJO and declare it to be a CDI bean.

Jump to the live coding here: 1:20

#java #quarkus

Рекомендации по теме
Комментарии
Автор

Fala Elder, tudo bom ? eu vi aqui seu vídeo e tentei fazer uma aplicação com Quarkus e módulos (JPMS) ao criar o arquivo module-info ta dando um erro de compilação de importe (javax.ws.rs). O que seria isso ? Agradeço desde já, valeu !

alisson