Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created August 8, 2023 11:28
Show Gist options
  • Save AdamBien/0088a3d6964ebdae9b59693400747106 to your computer and use it in GitHub Desktop.
Save AdamBien/0088a3d6964ebdae9b59693400747106 to your computer and use it in GitHub Desktop.
114thAirhacksQ&A.md
@qlnn
Copy link

qlnn commented Aug 8, 2023

hello java developer i have question when will you show us javasockets?

@zitreF
Copy link

zitreF commented Aug 8, 2023

How to start java backend development

@AdamBien
Copy link
Author

AdamBien commented Aug 9, 2023

hello java developer i have question when will you show us javasockets?

Expect arrival shortly at: http://youtube.com/@bienadam/shorts If you have any questions left, write a comment and I will record a follow up.

@AdamBien
Copy link
Author

AdamBien commented Aug 9, 2023

hello java developer i have question when will you show us javasockets?

https://youtube.com/shorts/2bD2lq_ezVQ?feature=share
😀

@qlnn
Copy link

qlnn commented Aug 9, 2023

Hello, have u thought about making a videos on tiktok?

@kriehzoo
Copy link

kriehzoo commented Aug 21, 2023

Hi Adam!
Q: What does your test stack look like on AWS?
Q: Does it make any difference cloud vs. on premises?
Q: What are you using for load testing?
Q: What are you using for end-to-end tests where you simulate users/clients?
Q: Do you have experience with grafana k6 and if yes, what is your experience?
Q: And where do you run client simulators, on AWS EC2 instances or on a runner/agent in your pipeline?
Q: What is your strategy for setting up test data for end-to-end tests?
Q: How do you reset data before you run next test for end-to-end tests? Would you recommend creating VM snapshots and how to do that?

@guykatz
Copy link

guykatz commented Aug 22, 2023

Best way to integrate a non xa resource into container managed transactions of stateless ejbs (wildfly)
Or in other words. Best way to implement a custom xa resource.
There is very little info about this....

@kriehzoo
Copy link

hello Adam
how do you deliver your apos on Aws with cdk, just using gitlab ci or similar, or Aws code deploy?
and how to restrict deployments to authorized users?

@kriehzoo
Copy link

another question, what are your thoughts and experience on trunk based development?

@dwamara
Copy link

dwamara commented Sep 1, 2023

Hi Adam, long time no writing but still following in the silence of my office :-)
I have a question regarding Quarkus that has been going through my mind since a long time but always forget to ask it, it has to do with Hibernate with Panache: I really love the concept and I never miss an occasion to use it but always stumble upon the problem when I have an Exception, like a unique constraint violation or anything that has to do with the database.
How do you proceed on catching them so they won't spoil my application by throwing an Exception to goes up unto the Front end for example?
A code like for example "member.persist()" throws no particular exception that can be explicitly caught.

Regards,
D.

@dwamara
Copy link

dwamara commented Sep 1, 2023

I have another question regarding jpaStreamer, I don't know if you've used it already but I have question the question on their channel but got now answer yet.

I use jpaStreamer with Quarks and I have a question regarding the query that I would like to build.

I have an entity Member which has another entity as property, say MemberContact which has two String msisdn and emailAddress
I would like to use the repository using Member, like "MemberRepository implements PanacheRepository"
and in my search code, I would like to access the msisdn, how do I do it as I can't do "stream.filter(Member$.msisdn.containsIgnoreCase(request.msisdn));" and I can do
"stream.filter(Member$.memberContact.msisdn.containsIgnoreCase(request.msisdn));" because memberContact when generated is of type com.speedment.jpastreamer.field.ReferenceField<Member, MemberContact>"

Regards,
D.

@Endilicam
Copy link

Hello Adam,

in a RequestScoped type REST endpoint (boundary) where you inject a RequestScoped REST service and MicroProfile JsonWebToken, in case it's a long process, I would like to return the response before it's processed, in other words, asynchronously without losing the CDI context or the MicroProfile JWT.

I've tried using a CompletableFuture and it loses the CDI context. I've added 'RequestContextController,' which works for CDI but not for the JsonWebToken. I've also tried '@suspended final AsyncResponse asyncResponse,' but it doesn't return the asynchronous response. Lastly, I've attempted MicroProfile Context Propagation, but I can't get it to work on WildFly 23.

What would be the correct approach?

Thank you very much ;).

@thiagoslino
Copy link

thiagoslino commented Sep 4, 2023

Hello Adam,
2023: can we say that the main options for new jakarta ee projects are quarkus and spring? Did you start any new thin war project ?

Thank you
ps: Cant watch today, see you later :D

@AdamBien
Copy link
Author

AdamBien commented Sep 4, 2023

The airhacks.tv time machine: 14th airhacks.tv, May 03, 2015: https://www.adam-bien.com/roller/abien/entry/jsf_mvc_cdi_and_net

@christian-frei
Copy link

christian-frei commented Sep 4, 2023

Hi Adam,
Quarkus recommends the usage of micrometer over mp-metrics. However, i like to stay close to the standards and as of now, mp-metrics is the standard. What is your take on this?

kind regards
Christian

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