i am developing an application which simulates datacubes and their operation. For this application i need to provide support for various database engines such as postgresql, mysql, etc.
i was planning on providing an interface where the user can choose the engine and specify its details.
i have been able to connect to postgresql using the jdbc4 driver available. for this connection i had to compile my program code by including the .jar driver in the classpath during compilation.
but the application as a product should run on JRE and there should be no need to recompile the code. is this possible?
the application should also be customizable to the newer versions of driver and engines available for the database. How can this be done? please guide me in the right direction
HOW CAN THIS CONDITIONALITY BE ACHIEVED?