Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created May 12, 2026 07:08
Show Gist options
  • Select an option

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

Select an option

Save AdamBien/33ece0569d45516d95163859aaaf8e1d to your computer and use it in GitHub Desktop.
147thAirhacksQ&A.md

Ask questions and see you on June 8th at 8pm CET: youtube.com/c/bienadam

Also check out the latest episode:

146th airhacks.tv

Please keep your questions as short and as concise as only possible. Feel free to ask multiple, shorter questions. I will also answer some questions in my "shorts" on youtube.com/@bienadam/shorts between the shows.

Information about upcoming airhacks.tv events will also be announced on meetup.com/airhacks and airhacks.eventbrite.com

You can also subscribe to: airhacks.news to receive occasional emails about upcoming workshops and events.

@AdamBien

Copy link
Copy Markdown
Author

"So in the Java 25 / junit 5 era are concepts like reflection obsolete, or just for designing libraries/APIs rather than being used on one’s own code?" by Simon Richter: https://www.youtube.com/watch?v=TaBBtWmSthk&lc=UgzchyeBQ3W0eERV9oZ4AaABAg

@AdamBien

AdamBien commented Jun 8, 2026

Copy link
Copy Markdown
Author

"...Should I continue building my career in Java, or should I move towards AI, since the market is currently full of AI-related opportunities? Also, with so many MNC layoffs happening, I am worried about making the wrong decision..." Fanib (LInkedIn)

@AdamBien

AdamBien commented Jun 8, 2026

Copy link
Copy Markdown
Author

@AdamBien

AdamBien commented Jun 8, 2026

Copy link
Copy Markdown
Author

https://airails.dev refactoring (java-conventions)

@AdamBien

AdamBien commented Jun 8, 2026

Copy link
Copy Markdown
Author

@AdamBien

AdamBien commented Jun 8, 2026

Copy link
Copy Markdown
Author

Time machine: 47th airhacks.tv episode at 5th February 2018:

"Database Authentication: SSH vs. username / password, Microservices with JSF frontend -- architectural discussion, How to modularize WARs, Dealing with denormalized databases, Java EE authentication (Active Directory), Identity preservation and audits in DB, JAX-RS authentication and principal delegation to EJB / CDI, Development in intranet environment, Reducing coupling between Javascript components like e.g. in React, Developers and operations -- their roles in the future, DeltaSpike project review -- with or without @repository, Impact of 3rd party libraries on build performance -- with some numbers, Unpredictable, long running transactions, Propagating principals from JAX-RS to EJBs, Why it is a bad idea to resend a password on each request?, Dealing with security in projects like e.g. credit card processing"

@rinkevics

Copy link
Copy Markdown

I have to code mini workflow with several steps, almost like choreography saga but within single application. All code could fit in less than 10 classes. There may be several instances of this microservice running.
Sometimes process needs to send out rest call and wait for the response to resume, for instance if customer needs to sign something.

What could be a good lightweight approach to implement this.
Current solution I have is: (1) each step, executed in a separate transaction. (2) process state stored as ENUM in db. (3) And a lock in the db so that only one instance can execute the process.

@haydenjones

Copy link
Copy Markdown

Hi @AdamBien

I write a few REST webapps on Tomcat and Java 21.

  1. Do you think it's feasible to add a set of dependencies to make it seem like I am using microprofile so it might be easier to transition to quarkus later?

  2. Mostly because I am curious, I've written some custom code to track some simple metrics on which endoints are being called. Do you think, I should be using the microprofile metrics api ? What are your experiences? https://microprofile.io/specifications/metrics/

  3. You've mentioned that you like to use enums to configure a project. Is there a sample project you can point to? Do you hardcode the values in the enums or do you use the enums to pull the values from the System.properties ?

  4. What are your thoughts on developing web front ends? I've noticed that you've done videos on angular and HTML web components. What are your current feelings? Does it make a difference on the size/complexity of the website?

Thanks,
Hayden Jones
Toronto, Canada

@WassimAkachi

Copy link
Copy Markdown

Hi @AdamBien,

Vaadin Router is deprecated (https://github.com/vaadin/router#vaadin-router-is-deprecated)
Do you have any recommendation for replacement?

Thanks
Wassim

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