Chapter 3
- Yes, RESTEasy Reactive can be used to implement blocking endpoints too.
- The two types provided by Mutiny to start a reactive pipeline are
Uni
andMulti
. - A Bean is an object managed by a CDI container that supports a set of services such as life cycle callbacks, dependency injection, and interceptors.
- Annotating a class with the
@ApplicationScoped
annotation is the easiest way to declare a singleton bean in Quarkus. - bcrypt is the preferred password-hashing function because it’s a slow algorithm, which makes it more resilient to brute-force attacks.
- To add a path parameter to a URL in Quarkus, you can declare it in the path by enclosing it in curly braces and then use the
@PathParam
annotation to retrieve it. - It’s not necessary to add an
@Produces
annotation if the response type is JSON and thequarkus-resteasy-reactive-jackson
dependency is declared, since it will be automatically inferred. - You can intercept Java exceptions to...