We are updating our application to Quarkus and I have this requirement of supporting datasouces that users of our application can create. This is already supported in Widlfly , but does not seem to be supported on Quarkus . Before implementing this in our system we created a PoC which we share in this post. The problem Agroal is the part of Quarkus responsible for DataSources and pool connections. It is easy to configure datasources in Quarkus, but some properties only works during development time, after the JAR for distribution is built then you can't change some properties. The solution is programatically create datasources so the application is flexible in a way that we can add datasets using system properties. We also must make sure that all supported data base drivers are in the application so users just needs to setup properties and no other action is required. All drivers dependencies Datasource from property We can create datasources using a map of properties. The proper...
Blog about programming and client applications. Target Programming languages are JavaFX, Visage, HTML 5+ Javascript or even command line apps :-D