Hi community,
currently, I'm working on a JIRA plugin, that requires a connection to an external database.
To make the plugin as flexible as possible, I do not want to hardcode the DB connection. Instead there should be a way to configure the connection to the external DB using the UI.
My question now is:
Are there any best practices on how to manage DB connections in a Plugin? Or are there even libraries, helping in the connection management?
Currently I'm thinking of storing the connection information using the PluginSettings and managing the lifecycle of the connection manually within a OSGi component.