Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created March 3, 2021 08:54
Show Gist options
  • Save AdamBien/f103d96f28fcab342199d7e506f1516b to your computer and use it in GitHub Desktop.
Save AdamBien/f103d96f28fcab342199d7e506f1516b to your computer and use it in GitHub Desktop.
85thAirhacksQ&A.md

Ask questions and see you at April, 5th, 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
Copy link
Author

AdamBien commented Mar 3, 2021

Isn't it a security nightmare if you leak your entire entities through REST?

— Mazebert TD (@mazebert) March 3, 2021

@jarryDk
Copy link

jarryDk commented Mar 5, 2021

Like to hear your thoughts about

Micrometer Metrics vs. MicroProfile Metrics

Quarkus like Micrometer Metrics better - but does it make the code easier or harder to read and write.

https://quarkus.io/guides/micrometer
https://quarkus.io/guides/microprofile-metrics

Ken Finnigan argue for why Quarkus prefer Micrometer Metrics in this blog -> https://quarkus.io/blog/micrometer-metrics/

I like MicroProfile Metrics better as I on a daily basis work with Wildfly where we have MicroProfile Metrics out of the box.

@icyhoty2k
Copy link

I was watching your afterburner videos , and saw you make javafx applications , i want to ask you how do you deal with the problem when you develop javafx application how do you protect the jar or class files from decompilers i think that this is a big problem for java compared to c++ .
class files are easily decompiled and if you have sensitive information like db connection parameters its a problem, i have searched for months for solution but obfuscators are not solution (unreliable) i was seeing light in the tunel with gloun substrate(native build) windows 10 but gluon substrate has problems with mysql and is quite buggy for now :(

@AdamBien
Copy link
Author

AdamBien commented Mar 8, 2021

"I knew that the video is old, but the idea should be the same today ;) Maybe you see the comment.
Do you think it is a good idea to add the react app into the war file directly? Or should the "client" run in a separat process / application like apache?"
--youtube comment

@dabkhazi
Copy link

dabkhazi commented Mar 30, 2021

Hi Adam! In your course "Apps with MicroProfile" you did not explicitly set the scope annotation for classes (except for one), why is that?

@dabkhazi
Copy link

Also in the course you showed that jax-rs can be used for rendering html content. How often do you use it?

@dabkhazi
Copy link

Why do you think most developers (at least in my country it happens this way) prefer to use Spring instead of JEE. On JEE it is possible to develop the same complex application as on Spring. I conducted a survey on this topic, and almost the only argument is its wide distribution and a large number of tips on the net.

@haglo
Copy link

haglo commented Apr 1, 2021

I have a special question to your workshop Effective Web Apps with Web Standards
I have a SPA like in your workshop

I have a login via SSO/JWT.
Via JWT i have two roles defined:

  • role: user
  • role: admin
    Every Logged-in-User has only one role.
    To get the role from JWT is no problem

How can i control that the server delivers the pages of the Website to the Client according on the role of the Logged-in-User
For example:

  • If client/request has role user then the Server delivers page1.js & page2.js (response with page1.js & page2.js)
  • If client/request has role admin then the Server delivers page1.js & page2.js & page3.js (response with page1.js & page2.js & page3.js)

How can i implement this?

@mahimatics
Copy link

mahimatics commented Apr 1, 2021

Hi Adam! I'm just starting to learning JavaEE + MicroProfile, and I come from a Ruby on Rails background. I have bought your Java EE Bootstrap online course, and I'm looking forward to going through it! Could you please suggest some good books to supplement your course with more details and/or modern best practices? Thank you!

@AdamBien
Copy link
Author

AdamBien commented Apr 5, 2021

New lightning https://airhacks.io workshop announcement: https://vimeo.com/ondemand/redux

@AdamBien
Copy link
Author

AdamBien commented Apr 5, 2021

DTOs, projections and Blaze-Persistence

@AdamBien
Copy link
Author

AdamBien commented Apr 5, 2021

How lit-html happened: https://airhacks.fm

@AdamBien
Copy link
Author

AdamBien commented Apr 5, 2021

Redux vs. Redux Toolkit feedback: AdamBien/webcomponents-with-redux.training#3

@bn
Copy link

bn commented Apr 5, 2021

Liberty vs wildfly, Jboss eap vs Liberty Base. Have you ever had to choose between different servers and in the current context, cloud native containers what eouldould you prefer and why? Payara is not an option.

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