Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created February 4, 2021 09:41
Show Gist options
  • Select an option

  • Save AdamBien/d71bc0e6f05c1b8a4ad50ab7d1c2d951 to your computer and use it in GitHub Desktop.

Select an option

Save AdamBien/d71bc0e6f05c1b8a4ad50ab7d1c2d951 to your computer and use it in GitHub Desktop.
84thAirhacksQ&A.md

Ask questions and see you at March, 1st, 8.PM. CET: https://vimeo.com/event/154379

Also checkout recent episode:

84th airhacks.tv

Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions. Upcoming airhacks.tv events are also going to be announced at meetup.com/airhacks

@AdamBien

AdamBien commented Feb 4, 2021

Copy link
Copy Markdown
Author

The "First Monday of the Month Bug" disclosure

@hingiswiss

hingiswiss commented Feb 22, 2021 •

Copy link
Copy Markdown

Weblogic 12.2.1.4.0

Default Work manager is bound under this jndi: java:global/wm/default

If I create a domain scoped Work manager via Weblogic Console, it is under this jndi: java:comp/env/wm/MyWorkManager

Why do they have different context?

Regards, Hadi

@hingiswiss

Copy link
Copy Markdown

Is weblogic.work.j2ee.J2EEWorkManager an Weblogic implementation from commonj.work.WorkManager? I cant find documentation regarding weblogic.work.j2ee.J2EEWorkManager.

@eimanavicius

Copy link
Copy Markdown

can you recommend Jakarta EE security training or courses?

@vanuatoo

vanuatoo commented Mar 1, 2021

Copy link
Copy Markdown
  1. We have a Java EE application that is running on JBoss EAP in domain configuration. We want to migrate it to the cloud, so each instance is running in standalone configuration. We are using EJB persistent timers and JBoss ensures that the job is running only on one node (internally it uses database table and locking to achieve that). How to migrate such scenario to the cloud? I understand Java EE standard does not provide this capability.

  2. How to migrate JSF application to the cloud? How to ensure HttpSession replication across pods?

@hingiswiss

Copy link
Copy Markdown

If I have a jar-module and I have a rar-module, both modules packed in one ear, In which sequence the lifecycles from will be run if the ear gets deployed? Is it possible to modify the sequence? For example: the life cycle of rar should be run after the finishing life cycle of jar

@dmuravov

dmuravov commented Mar 1, 2021

Copy link
Copy Markdown

Hello! Please, what is your opinion on the following topic: What is preferable "constructor injection" or "field injection"? There are voices that do not recommend to use field injection. See for ex.:
https://blog.marcnuri.com/field-injection-is-not-recommended/
or
https://medium.com/@mohamed.kashif922/constructor-injection-vs-field-injection-in-java-2265200fe203.

Such opinions stem mostly from the Spring-community. Therefore it might be biased. The arguments from the articels above in the context of testability seem to bee weak. We can test using mocking (@Injectmocks, @mock ..). As for me the discussion remains somewhat inconclusive. Thank you for your time!

@AdamBien

AdamBien commented Mar 1, 2021

Copy link
Copy Markdown
Author

@AdamBien

AdamBien commented Mar 1, 2021

Copy link
Copy Markdown
Author

vuejs follow up

@AdamBien

AdamBien commented Mar 1, 2021

Copy link
Copy Markdown
Author

JAXB customizations without annotations

@AdamBien

AdamBien commented Mar 1, 2021

Copy link
Copy Markdown
Author

Micronaut and MicroProfile

@msarhan

msarhan commented Mar 1, 2021

Copy link
Copy Markdown

Hi Adam,

What is your recommendations for frontend web application setup regarding dependency management, Rollup.js, etc.
For both development and production deployment.

Thank you,

@mafulafunk

Copy link
Copy Markdown

Can't be the first to ask, but where are the 2021 predictions?

@r-sr

r-sr commented Mar 1, 2021

Copy link
Copy Markdown

ejb and cdi beans: field injection vs. constructor incjection - what is the preferred way?

@r-sr

r-sr commented Mar 1, 2021

Copy link
Copy Markdown

JEE 7: bean-discovery-mode = "all" vs. "annotated" (@dependent) - which style do you advise?

@r-sr

r-sr commented Mar 1, 2021

Copy link
Copy Markdown

ejb and cdi beans: field injection vs. constructor incjection - what is the preferred way?

sorry my collegue already asked the same above ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment