Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active May 13, 2019 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamBien/001c1bad3f868a8508783569e192ea3d to your computer and use it in GitHub Desktop.
Save AdamBien/001c1bad3f868a8508783569e192ea3d to your computer and use it in GitHub Desktop.
62ndAirhacksQ&A.md

Ask questions and see you at May, 13th (this time one week later), 6.PM. CET: http://www.ustream.tv/channel/adambien

Also checkout recent episode:

61 airhacks.tv

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 airhacks.com are available.

@dempile
Copy link

dempile commented May 8, 2019

Hi Adam,
When I try to inject a microprofile metric like @counted in a cdi bean with @nAmed I got this error : cannot produce unserializable instances for injection into an injection point that requires a passivation capable dependency.
the cdi bean implements Serializable
thanks

@ivanzorcic
Copy link

ivanzorcic commented May 9, 2019

Hi Adam,

I tried out some quarkus.io with JavaScript frontend (no framework no migration). If you want to take a look at it: https://github.com/zorcic/kicker (With this Application and a football table you can have an endless competition)
Would be great if you have time to review it and a question is:

How do I get @javax.ejb.Startup behavior without ejb but with cdi, so some method can be eagerly executed on startup?

  • using "@observes @initialized(ApplicationScoped.class)" throws when injecting EntityManager an exception "Unable to identify the default PU:"
  • quarkus provides an cdi event, which seems to work "io.quarkus.runtime.StartupEvent", but that is not part of a spec...

Regards from Darmstadt, Ivan

@altuga
Copy link

altuga commented May 13, 2019

Hello Adam,

Should we write jars in war files or no jar(s) in a war file? I see some projects there are 5 war files and every 5 wars there are at least 3 or 4 jars file. In which use cases should we use jar files in war? Thanks.

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