Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

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

Also checkout recent episode:


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


This comment has been minimized.

Copy link

aosama commented Mar 8, 2020

Hi Adam,

Have you every looked into a good way to integrate AWS cognito with JEE Security? for example an exiting JSF application and what could be a good way to integrate AWS congnito with it?


This comment has been minimized.

Copy link

benjamin9874 commented Mar 12, 2020

Hello Adam,

  1. In @manytomany relationship, how to use JsonB? If I not put @JsonbTransient together with List that is annotated @manytomany, I get exception! A solution I thought is just to iterate over List and add them to a JsonArray using Jsonp? Any other solution for automatically binding using Jsonb?

  2. I recently heard about Quarkus, and then saw your video on comparision memory. Why it has much lower memory size than app. servers and any other difference between Quarkus and application servers.

  3. What do you think about GraalVM, native-images? Do you prefer using native-images?

Thank you


This comment has been minimized.

Copy link

thatsIch commented Mar 14, 2020

Hi Adam,

  1. why should I consider an application server like Wildfly nowadays since Quarkus is released? What are the benefits of still using an application server?
    The only thing I really noticed is, that the setup is similar to Thorntail and with Wildfly you get everything out of the box without configuration and selecting your dependencies.

  2. Is there a non-vendor-specific way to define a datasource? I am trying to define a datasource on Wildfly and I only saw suggestions about modifying the standalone.xml or using jboss-cli.

Thank you


This comment has been minimized.

Copy link

vaibhavkulkarni commented Mar 19, 2020

Do you prefer field injection over constructor injection? I saw your video on Helidon and thought of asking this question. Any insights would be highly appreciated.


This comment has been minimized.

Copy link

oltianbzz commented Mar 21, 2020

Hi Adam

I am a student and still don't know very deep about Java. As learning for dependency injection, i saw that is done by using reflection. Now that i am looking at Quarkus, it says that DI is done at build time, no reflection is used that is why is faster. So what does this mean, I don't understand!

How should you secure /metrics endpoint from Microprofile, only auth users.



This comment has been minimized.

Copy link

matlach commented Mar 23, 2020

Hi Adam,

I'd like to transition from "my home grown cdi config" which I've created based on your blog posts many years ago.
See both

How To Configure Java EE 6+ Applications ...Without XML, Sep 07, 2011

Injecting Properties Into Java EE Applications, Feb 09, 2016

My implementation initialization process goes that way:

  1. Read an ENV var named ENVIRONMENT and fail if it doesn't exists
  2. Switch case on the ENVIRONMENT to load dedicated .properties file based on the actual environment using the Properties.load(InputStream).
  3. Substitue each properties value containing ${ENV:<THE_ENV_VAR_TO_SUBSTITUTE>} to bridge environment variable.
  4. Then inject configuration using @Inject @Config("") ConfigValueType configValue where ConfigValueType has a dedicated @Produces ConfigValueType produceConfigValueType(InjectionPoint) method;

How I could replicate theses features but now based on top of the the microprofile config standards? and/or on top of smallrye-config?

Thank you very much and keep up the good work!


This comment has been minimized.

Copy link

mehaouihoussem commented Mar 26, 2020

Hello Adam , i hope you're doing well.

I have two questions

  1. We have some legacy modules with java 6 and we want to upgrade to java 11 , is there any good approach to do this migration to ensure that the modules remains work correctly with java 11 and how to detect changes that we have to do ?

  2. Our client has the commercial version of OpenAm but they use it only for SSO , is it a good idea to use OpenAm in authorization as well in our project ?

Thanks && stay safe

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.