Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
67thAirhacksQ&A.md

Ask questions and see you at October, 7th, 6.PM. CET: http://www.ustream.tv/channel/adambien

Also checkout recent episode:

66th 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.

@tonyherstell

This comment has been minimized.

@geilsonfonte

This comment has been minimized.

Copy link

geilsonfonte commented Sep 18, 2019

Hello Adam!

Currently we deploy dozens of WARs in a single Java EE 6 app server. In our experience, this leads to all sort of problems, such as: memory leaks, classloader issues, unclean server state...

Given that using containers is not currently an option for political reasons, what could be the next best solution? Do the latest servers handle multiple apps better, or is this practice effectively abandoned?

Thanks!

@VAGGELIS

This comment has been minimized.

Copy link

VAGGELIS commented Sep 24, 2019

Hi Adam,

a)
Searching with/in text in RDBMS like Mysql with like query e.t.c is really bad for performance.

I'm trying to find a way to use something like Apache Lucene with EclipseLink . I checked Hibernate Search but this is only for Hibernate. Any ideas?
Also, In my case i cannot use an extrernal server like Solr. I 'm looking for some library.

b) About jee testing. I checked up the TestContainers (https://www.testcontainers.org) to integrate real databases instances and not memory databases (like derby) to our junit code as we used to . What is opinion about this approach?

c) We have increased max connections in Wildfly datasource but if this number is reached then wildfly gives no other connection to other requests so it will be frozen..... Any proposal for handling this situation? (besides increasing all the time the max connections).
Or we just keep increasing datasource and database max connections....we can check percona article about 100.000 connections in a single mysql server instance https://www.percona.com/blog/2019/02/25/mysql-challenge-100k-connections/!!!!!

Thanks!!!!
Vaggelis

@deratzmann

This comment has been minimized.

Copy link

deratzmann commented Sep 30, 2019

Hey, Adam.
We are trying to create a new app with quarkus.
Do you have an idea how to not store datasource passwords in quarkus (agroal conn pool) in clear text or environment vars? I cannot really find one. E.g. through an keystore alias like in payara. This might be an important topic while migrating productive apps.
The current examples are only clear text entries in files that might be checked in into a git repo.

Best regards.

Bastian

@AdamBien

This comment has been minimized.

Copy link
Owner Author

AdamBien commented Oct 7, 2019

What is you opinion about Kotlin? (i am using Kotlin in a new project)...

going right to point , my core question about the Fluid Logic pattern, do you think that right now there is a new Strategies to implement this?

--by Hermer F.

@AdamBien

This comment has been minimized.

Copy link
Owner Author

AdamBien commented Oct 7, 2019

Blog comment by David:
Thread-safe vs. transaction aware: http://adambien.blog/roller/abien/entry/is_in_an_ejb_injected#comment-1570212848900

@AdamBien

This comment has been minimized.

Copy link
Owner Author

AdamBien commented Oct 7, 2019

Blog comment by Alexander:
JPA integration tests and JPA detection:
http://adambien.blog/roller/abien/entry/cloud_ready_configuration_for_jpa#comment-1569591937338

@AdamBien

This comment has been minimized.

Copy link
Owner Author

AdamBien commented Oct 7, 2019

Blog comment by Kevin:
Java EE, Jakarta EE and PDF specifications:
http://adambien.blog/roller/abien/entry/java_ee_is_dead_completely#comment-1569412157914

@AdamBien

This comment has been minimized.

Copy link
Owner Author

AdamBien commented Oct 7, 2019

@AdamBien

This comment has been minimized.

Copy link
Owner Author

AdamBien commented Oct 7, 2019

@AlexanderHofmeister

This comment has been minimized.

Copy link

AlexanderHofmeister commented Oct 7, 2019

How productive is quarkus.io in your opinion right now (0.23.2) ?
How would you handle large initial SQL files as initial data with quarkus, but keep a low size jar (aka thin war)?

Greetings from germany :)

@ghassen-chetioui

This comment has been minimized.

Copy link

ghassen-chetioui commented Oct 7, 2019

Hello Adam,
What is the the right approach to interact with an AMQP brocker (RabbitMQ) in a Jakarta EE application. It would be really great if you can hack something when you have some free time :)
Thanks !
Ghassen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.