Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active November 23, 2019 14:47
Show Gist options
  • Save AdamBien/2735e9c8845fe1eba40720281d9c2c09 to your computer and use it in GitHub Desktop.
Save AdamBien/2735e9c8845fe1eba40720281d9c2c09 to your computer and use it in GitHub Desktop.
68thAirhacksQ&A.md

Ask questions and see you at November, 1st, 6.PM. CET: http://www.ustream.tv/channel/adambien

Also checkout recent episode:

67th airhacks.tv

Please keep the questions Java EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.

@agimshen
Copy link

Hello Adam

What is the best way to achieve consistency in microservices?
What is Quarkus? As a jakarta ee developer in 2019, should you care/learn about Quarkus, what are it's benefits or drawbacks?

Thank you

@robert-niestroj
Copy link

robert-niestroj commented Oct 31, 2019

In one of your podcasts you talked with Robert Scholte about maven clean and that it should not be used. So my question - when this command exists when should it be used? Why it's not removed or deprecated? Recently i stopped using clean and after a while ran into a problem. After a dependency upgrade in pom.xml in /target folder the dependency appeard twice - old and new version, causing problem in runtime. mvn clean solved the problem. I think it still has it's place.

@gbourant
Copy link

gbourant commented Nov 1, 2019

Hi Adam,

Let's assume that you are building a service and you have to deploy it on bare metal servers using either of the below:

  1. Docker/Docker Swarm (no auto scaling feature out of the box)
  2. Kubernetes
  3. OKD/OpenShift

Since i would like to use the out of the box auto scaling feature i would choose the 2nd or 3rd option.

My question is : OKD/OpenShift puts another layer of abstraction on top of Kubernetes, does it worth using OKD/OpenShift with the extra layer/complexity?

Thank you.

@guiphh
Copy link

guiphh commented Nov 1, 2019

Hi Adam,
First, thank you for the show and the podcast, really inspiring and great resources :)

Now the questions:

  1. I've created a Quarkus app and I'm using freemarker to template html frontend because I find it simple and easy to implement. Is it a good approach and how to secure my app for CSRF attacks and so on...? Or do I need to use javascript only and POST JSON?

  2. In your hibernate with panache video, the properties of the Workshop class are left public. Could you please explain why?

  3. I've used your enhydrator to do a poc for etl work. Would you still recommend it nowadays (now that nashorn has been deprecated) or would you recommend a new approach?

Thank you,
Guillaume

@sebargarcia
Copy link

Hi Adam, looking at the specs in Microprofile (Config, OpenApi, Health Check, Metrics, etc.) , Do you recommend include and use them in a Monolithic Jakarta EE APP (single war)? Because If application server like payara, wildfly or tomee already includes them we can use it and keep our war thin. What are the benefits of this libraries in a monolithic app?

Tthank you.

@dempile
Copy link

dempile commented Nov 1, 2019

Hi Adam,
We have completed all the microservices connection system with CDC and an Apache Kafka Cluster and its time to go production, do you think it's recommended to use OKD 3.11 instead of Openshift 3.11. If no what kind of alternative do you recommend in selfhosted in-premise environment.
Thanks

@ggam
Copy link

ggam commented Nov 23, 2019

@mhrnr You can use Expression Language in order to get configuration value from a CDI bean. See an example: https://github.com/eclipse-ee4j/soteria/blob/master/test/app-custom-rememberme/src/main/java/org/glassfish/soteria/test/TestAuthenticationMechanism.java#L40

That's part of the spec and so is totally portable. A future version of the spec will probably add MicroProfile Config support.

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