Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

Ask questions and see you at May, 6th, 6.PM. CET:

Also checkout recent episode:


Please keep the questions Java EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.

Dates for (cloudy) winter 2019 are available.


This comment has been minimized.

Copy link

commented Apr 16, 2019

Hi Adam,

  1. Is there any real benefit to mark all the rest endpoints as @Singleton? According to this link, the difference between the tests is around 1.5% and per-request test is using more memory. Is there any real example when 'singleton endpoints' are bad practice? Also I saw that you used it in lightfish project.
  2. Is there any way to pay for your courses by bank transfer? I don't have a credit card.

Thank you very much.


This comment has been minimized.

Copy link

commented Apr 20, 2019

Hi Adam,

I have question about emitting events in microservices. I understand that XA transactions are not desired, which I used to achieve "exactly once" delivery in Java EE. So I'm thinking about "at least once" strategy.
What is the best way to accomplish this using JEE and Microprofile?
My current solution is to store event in the local database. Then timer triggers processing that event and send it to message broker. Is there better solution? I see disadvantage in timer, because of delayed processing.

Thank you for your opinion.


This comment has been minimized.

Copy link

commented Apr 21, 2019

Hi adam? How would one implement JavaEE/JakartaEE security assuming the IdentityStore is meant to fetch Principal details from the database?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.