Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active May 29, 2025 14:53
Show Gist options
  • Save AdamBien/74fcde9b08475112003c772ed8384462 to your computer and use it in GitHub Desktop.
Save AdamBien/74fcde9b08475112003c772ed8384462 to your computer and use it in GitHub Desktop.
135thAirhacksQ&A.md
@AdamBien
Copy link
Author

Hi Adam,

I hope you're doing well! I wanted to get your thoughts on good load balancer tools for on-premise applications. I've worked with GSLB in the past, but I’ve found it a bit limited compared to the more feature-rich offerings from major cloud providers.

I’d really appreciate your recommendations or any insights you might have on this.

Thanks in advance!
Roshini Revindranathan

from: https://gist.github.com/AdamBien/728f7aac35f434b6c0a87d192e61f73d?permalink_comment_id=5581139#gistcomment-5581139

@eniuane
Copy link

eniuane commented May 24, 2025

Hi Adam,

First, let me thank you for your amazing work over the years.

Now my question 😄

How would you map in a project that use BCE an "entity" like e.g. Post from a Blog, I have a Post class on the entity layer, that is my JPA entity.
I would use that in the request and response from my rest api but I don't want to return the whole JPA entity to my client.

A good approach would be to have a PostDto class on the Boundary layer for the response?

And how would you do if you want a different request for the creation of the Post as well, it could be a CreatePostDto on the Boundary layer?

Thanks,
João

@eniuane
Copy link

eniuane commented May 26, 2025

Hi again Adam,

Finally had time to watch your presentation(really nice one!) on Javaone25,

How do manage the use of "main" branch only, regarding CI/CD and multiple people working there?

Thanks,
João

@lprimak
Copy link

lprimak commented May 29, 2025

Hi, Adam,

I have some feedback / followup commends and questions to your last AirHacks Episode.
Great job By-the-way!

Do you have an updated benchmark for RequestScoped vs. EJB? I know Quarkus doesn't have EJBs, but I want to know if I need to wait for "EJB Replacement" for performance in JVM Quarkus, or is RequestScoped currently good enough without optimizations such as pooling and max concurrency that are still only available in EJB currently?
I did see you mention my question in the latest air hacks but really didn’t answer it. Do you want to elaborate a bit? Thank you!

@lprimak
Copy link

lprimak commented May 29, 2025

Hi, Adam,

I have lots of Jakarta EE code that really can’t be migrated to Quarkus and really doesn’t need fast startup etc.

Would like to update you that I’m working on Payara so startup I almost as good as Quarkus.
Deployment is certainly just as fast as Quarkus, Project Leyden is a game changer here, and with JDK 24,
startup performance is almost as good as Quarkus is now.

Advantage of Quarkus is not as spectacular now as it was because Java is getting better in general and optimization are getting spread through all Java products.
Reflection is no longer a "no-go" for performance with Project Leyden.
Franz’ optimization work is paying off for all Java apps
Markus Karg JVM and Jersey optimization is out with Java 24 and at least doubled API performance for all frameworks.
I also worked with Payara to optimize their stuff to match Quarkus app deploy performance. Especially with Leyden.

@lprimak
Copy link

lprimak commented May 29, 2025

Hi, Adam,

Did you hear about Project jtaccuino which is Jupyter notebook in Java and it’s awesome. Written in JavaFX.
Another way Python is no longer the "only way" to do data science.

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