Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created October 6, 2020 06:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamBien/c832d9c1226b84df5591d5bebc6e822b to your computer and use it in GitHub Desktop.
Save AdamBien/c832d9c1226b84df5591d5bebc6e822b to your computer and use it in GitHub Desktop.
80thAirhacksQ&A.md

Ask questions and see you at November, 2nd, 8.PM. CET: https://vimeo.com/event/154379

Also checkout recent episode:

79th airhacks.tv

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

Upcoming airhacks.tv events are also going to be announced at meetup.com/airhacks

@djafaka
Copy link

djafaka commented Oct 19, 2020

Ok I found the problem.
I have to change the content of the dockerfile generated:

FROM airhacks/payara-micro
ENV ARCHIVE_NAME demo2.war
COPY ./target/demo2.war ${DEPLOYMENT_DIR}

And I need to change the code of the PingResource generated, there is a compile problem if you don't change the code:

@GET
public String ping() {
    return  " Jakarta EE with MicroProfile 2+!";
}

I will adapt the archetype to those modifs...
Thank you
Karim

@AdamBien
Copy link
Author

Ok I found the problem.
I have to change the content of the dockerfile generated:

FROM airhacks/payara-micro

Use airhacks/payara

Payara fish is the server I used in projects, workshops and conferences and what my clients are using as well. Wildfly and Co. would work as well. Payara-micro was just a PoC.

ENV ARCHIVE_NAME demo2.war
COPY ./target/demo2.war ${DEPLOYMENT_DIR}

And I need to change the code of the PingResource generated, there is a compile problem if you don't change the code:

@GET
public String ping() {
    return  " Jakarta EE with MicroProfile 2+!";
}

I will adapt the archetype to those modifs...
Thank you
Karim

@dempile
Copy link

dempile commented Oct 29, 2020

Hi Adam,

I would like to centralize the authentication of all our enterprise applications in one place using Keycloak, We have several JSF-Jakarta EE applications and few apps that uses frontend libraries.
How can I use Keycloak with Soteria in order to secure the apps that have JSF pages since keycloak is oriented to secure endpoint resources. And if you can hack something to clarify how we could secure JSF pages and Rest Endpoint it would be very nice.

Thanks

@JosefMaderKreiner
Copy link

Hi Adam,

Microservices build with eclipse Microprofile / Jakarta EE are really efficient. State of the art implementations like Quarkus or Openliberty need just a view MBs to host a REST-service. Even though there are a lot of discussions about the right size of Microservices.

Actually there are still use-cases where you need a lot of resources.

What do you think are good technical limitations for Microservices written in Jakarta EE / Microprofile.
Is a Microservices which needs about 10 GB RAM and 4 Cores still micro? Do you restrict resources in your projects?

Thanks for your advice!

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