|Re: Which database with RCP? [message #550213 is a reply to message #550174]
||Thu, 29 July 2010 10:31
| Florian Philipp
Registered: February 2010
As far as I know, RCP does not contain any database bindings or other "preferences" for a certain system. Therefore you basically do what you do with every third-party library:|
1. Decide on a system based on your needs (you really didn't specify your requirements, therefore I can't help you with that decision).
2. If you need to include third-party JAR files in your application, you wrap the JARs in a plugin.
3. If you need to include native code in your application, you wrap that in fragments.
Database connection handling sounds like a fun thing to do with OSGi services. You could provide individual connections as OSGi services using OSGi's "Service Factory" concept for connection pooling.
Hope this helps,
Powered by FUDForum
. Page generated in 0.01562 seconds