Session beans can also become reactive and event-driven just by using annotations. This recipe shows you how to do this.
Building reactive applications using asynchronous session beans
Getting ready
Let's first add our Jakarta EE 8 dependency:
<dependency<
<groupId<javax</groupId<
<artifactId<javaee-api</artifactId<
<version<8.0</version<
<scope<provided</scope<
</dependency<
How to do it...
You will need to perform the following steps to try this recipe:
- First, we create...