Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created September 2, 2024 12:45
Show Gist options
  • Save AdamBien/95544fc7692e0ce518ffb17573507443 to your computer and use it in GitHub Desktop.
Save AdamBien/95544fc7692e0ce518ffb17573507443 to your computer and use it in GitHub Desktop.
126thAirhacksQ&A.md
@AdamBien
Copy link
Author

AdamBien commented Sep 2, 2024

Hi Adam,
you have wrote a blog post back in 2017 of how json will replace DTO, I want to know how you are dealing with validation of the JSON objects, and if we can use bean validation to validate JSON objects.

(from: https://gist.github.com/AdamBien/edbfe339f2f1fbc7e5e2b219d51d5735?permalink_comment_id=5171407#gistcomment-5171407 by dempile)

@AdamBien
Copy link
Author

AdamBien commented Sep 2, 2024

The the time machine or questions from the 26th airhacks.tv:

"
Java EE 8 News, the guardians and the background
JSF 2, NIO, asynchronous programming, performance and 2k concurrent users
Injecting subtypes and delayed execution
Character encoding and JAX-RS
How to deal with shared business methods (IBAN)
Subjective opinions about BPM with objective arguments
JPA entity injection and merging best practices
Multitenancy in Java EE
How to pass tenant information with the request?
How to migrate away from RichFaces?
Source code analysis for transaction processing
Where to put BaseEntity in ECB?
Redeployment in Docker
Distributed service discovery, distributed transactions, logging and debugging and microservices
"

http://www.adam-bien.com/roller/abien/entry/26th_airhacks_q_a_java / https://gist.github.com/AdamBien/3c1efcbf296ce35fdeedfe5790bba893

@wodarski
Copy link

wodarski commented Sep 2, 2024

Hello Adam,

What is your opinion about running Application Servers (Wildfly, JBoss EAP, etc) on Kubernetes/Openshift?

I work in a company that runs almost 300 Jakarta EE Applications with JBoss EAP 7.4/Java 11 using Domain Mode in a "Traditional infrastructure" (physical servers).

Recently my company acquired Openshit to run on premises. However, our Operations Team thinks we should not run JBoss EAP inside Openshift because none of these applications are "Cloud Native Microservices" (their words), therefore they wouldn't take any advantage of Openshift (I strongly disagre).

Many of these applications are very simple (thin wars), just some rest endpoints calling databases. For me, it makes no sense rewrite all these applications in Quarkus or other java cloud native framework.

As a developer, I think we would benefit deploying these applications to Openshift versus Traditional Infrastrucure. Managing physical servers is very tricky.

What do you think? Should we stop using JBoss EAP for new applications?

Should we rewrite all our applications in cloud native frameworks (Quarkus, Spring Boot, etc)?

Greetings from Brazil.

@crazy-devops
Copy link

crazy-devops commented Sep 2, 2024

Hi, Adam

Is it possible to use CRaC with a Java application in a Docker container to create a single image that can reload environment-specific settings, or must there be a separate Docker image per environment?

What are the pros and cons of using RecordBuilder vs. Lombok’s @Builder annotation on record classes vs. a manual approach? Any opinion on which is preferred?

What’s your opinion on using a Java stack for cross-platform GUI development, specifically with Gluon + JavaFX + GraalVM? Is it too late for Java desktop applications? Should another language or framework be considered instead?

Greetings

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