Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active August 25, 2021 16:15
Show Gist options
  • Save AdamBien/69e6531c873f03ed449e840d04b265ba to your computer and use it in GitHub Desktop.
Save AdamBien/69e6531c873f03ed449e840d04b265ba to your computer and use it in GitHub Desktop.
89thAirhacksQ&A.md

Ask questions and see you at August, 2nd, 2021 8pm CEST: https://youtube.com/c/bienadam/

Also checkout recent episode:

88th 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

@thatsIch
Copy link

I try to keep the deployments as lean as possible.

In case of Apache POI you recommended to patch the application server (like Wildfly) to provide the maven dependency and mark it as provided in the pom.xml.

  • How do you do this with Primefaces and Wildfly? It seems JSF extensions must be included in the deployment.
  • Does the same limitation exist with Quarkus?

@AdamBien
Copy link
Author

AdamBien commented Aug 2, 2021

airhacks.fm podcast conversation with Cagatay Civici: https://airhacks.fm/#episode_150 of PrimeFaces

@anbusampath
Copy link

anbusampath commented Aug 2, 2021

Recently I was looking at various Jakarta EE components implemented by servers then found out underlying nio libraries like grizzly, xnio, Apache mina and Netty. I know Netty is popular among them. Read Blog post that Undertow 3 wants to replace xnio with Netty as well. Do you think we need give some focus on Jakarta EE space for underlying frameworks other than API spec. Idea I had in my mind only if I need simple servlet application which can be interchangeable with various nio frameworks with custom Java runtime image, not needed full Jakarta EE web profile.

@jefrog1844
Copy link

jefrog1844 commented Aug 5, 2021

I am working on a new project and would like to use Payara Micro, JPA, and JSF. I found an article you wrote on B-C-E called "Simplicity by Design" for Java EE 6 that is just what I'm looking for. What would be different today using Java EE 8 or Jarkarta EE 9.X ?

Thanks

@jefrog1844
Copy link

When using microservices along with a rest client, it is suggested that each service is its own domain object and has its own database. If that is the case, then how would JPA work with mappings like OneToMany, ManyToOne, OneToOne? I've seen suggestions that a main database be used that would push views out to the other databases, but that seems to complicate the backend database server(s). Is there a specific technique for Java EE and microservices?

Thanks

@ylberv98
Copy link

Hi Adam,

How to handle large file upload to JAX-RS? In my project when I try to upload large file from a service to a Quarkus backend (using resteasy client in that service), I am getting exceptions:

org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Software caused connection abort: socket write error
...
javax.ws.rs.ProcessingException: RESTEASY004655: Unable to invoke request: java.net.SocketException: Software caused connection abort: socket write error
...
Caused by: java.net.SocketException: Software caused connection abort: socket write error

This only happens while trying to upload kind of large files (over >= 10 MB ). When I upload small files, it works just fine!

Thanks

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