I am evaluating the Rich Ajax platform (RAP) and I need to connect to the DB2 database (and possibly others).
Having done a fair amount of J2EE work, I usually get a DataStore through JNDI and use it to connect to the database. Actual connection parameters are configured outside the application and can be adapted to the conditions of development, testing and production.
- How do I do this from inside the plugin in RAP?
- What is the best way to handle compounds in different environments?
- I also do not want to include DB2 JDBC banks in the plugin, as they may vary slightly between development and production.
source
share