Hi Kevin, I’m afraid that I don’t know the answer to that, as I don’t know what license you’re using to consume the DB2 driver, and even if you told me I am not a lawyer.
All the best, Tim > On 10 Jan 2020, at 14:55, Matthews, Kevin <[email protected]> wrote: > > Thanks Tim. Sorry to respond so late... I will look into the PAX-JDBC. Does > wrapping the DB2 Jar is still supported? > > From: [email protected] <[email protected]> On > Behalf Of Tim Ward via osgi-dev > Sent: Monday, January 6, 2020 4:04 AM > To: Matthews, Kevin <[email protected]>; OSGi Developer Mail List > <[email protected]> > Subject: [FDC-External]: Re: [osgi-dev] DB2 Enroute OSGi Connectivity > > Hi Kevin, > > Unfortunately you are correct that DB2 doesn’t provide an OSGi-enabled > version of its driver, however it is possible to make it work (with a little > effort). > > Implementing the JDBC Service specification yourself is pretty trivial (all > you need to do is to register a single service implementing up to four > methods), and would allow you to embed the DB2 driver in the bundle that you > write. > > There is also a JDBC service implementation at PAX-JDBC > <https://urldefense.proofpoint.com/v2/url?u=https-3A__ops4j1.jira.com_wiki_spaces_PAXJDBC_pages_104103940_DB2-2Bdriver-2Badapter&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=S513DSbbTVeI1oTfyBzCAl9XxIzlSovqUwCuGBPsJNs&s=gi-gYZqL412X06V73jNPaPIMwId-25gF5DEajr37cHo&e=>, > however this still requires you to wrap the DB2 Jar into an OSGi bundle. > > I hope this helps, > > Tim > > > On 2 Jan 2020, at 13:37, Matthews, Kevin via osgi-dev <[email protected] > <mailto:[email protected]>> wrote: > > Hello, we are looking to modularizing our legacy application using OSGI to > connect to DB2 database . Has anyone successfully use OSGI enroute to connect > to a DB2 database? I have used PostgreSQL and MySQL which already comes with > OSGI bundle manifest but it seems DB2 doesn’t have the bundle manifest. > > Thanks, > > Kevin Matthews > Sr Application Analyst – Rapid Connect Development > Global Business Solutions > Office: 954-845-4222 | Mobile: 561-465-6694 > [email protected] <mailto:[email protected]> > > <image001.png> > > Fiserv > <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.fiserv.com_&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=S513DSbbTVeI1oTfyBzCAl9XxIzlSovqUwCuGBPsJNs&s=04NDXFFbgzS5Lvu77wJRPQh4nYhQBZkg3I00mdqfYXE&e=> > | Join Our Team > <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.careers.fiserv.com_&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=S513DSbbTVeI1oTfyBzCAl9XxIzlSovqUwCuGBPsJNs&s=zewc4dQ69Q4F-p4QGi0wTRhm6Jq51W7HRFXXbphnjf4&e=> > | Twitter > <https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_fiserv_&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=S513DSbbTVeI1oTfyBzCAl9XxIzlSovqUwCuGBPsJNs&s=wWCr_rLEQpVVewTEbOl213OfwenL2IPgp25BoIEdGXY&e=> > | LinkedIn > <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_company_fiserv_&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=S513DSbbTVeI1oTfyBzCAl9XxIzlSovqUwCuGBPsJNs&s=267-fKVIV4ARTykAk4sL7fYgYL7oY_bg8lCAJNgLlLo&e=> > | Facebook > <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.facebook.com_Fiserv_&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=S513DSbbTVeI1oTfyBzCAl9XxIzlSovqUwCuGBPsJNs&s=BflX7Vnqs6r4WbYbx7C_Q1wOA59Jr3qDCl7ncWbrkzI&e=> > FORTUNE Magazine World's Most Admired Companies® 2014 | 2015 | 2016 | 2017 | > 2018 | 2019 > © 2019 Fiserv, Inc. or its affiliates. Fiserv is a registered trademark of > Fiserv, Inc. Privacy Policy > <https://urldefense.proofpoint.com/v2/url?u=http-3A__fiserv.com_about_privacypolicy.aspx&d=DwMGaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=DhuxLF27WYthG-oLriBpSFsbSw1I5i2d895wxh8VY20&m=BIEknoCR_FKxnPpOj0Y-Bee0m8jPof-E79bKGvU0u9U&s=b7HNbknTsxVdKPi_kXbH7pz31TqQJrr_tXTxCa1kKPI&e=> > > > > > > The information in this message may be proprietary and/or confidential, and > protected from disclosure. If the reader of this message is not the intended > recipient, or an employee or agent responsible for delivering this message to > the intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. If you > have received this communication in error, please notify Fiserv immediately > by replying to this message and deleting it from your computer. > _______________________________________________ > OSGi Developer Mail List > [email protected] <mailto:[email protected]> > https://mail.osgi.org/mailman/listinfo/osgi-dev > <https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.osgi.org_mailman_listinfo_osgi-2Ddev&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=S513DSbbTVeI1oTfyBzCAl9XxIzlSovqUwCuGBPsJNs&s=7j1WEjFBfmvW-wxVboWVLn9VTgkihXvlhVn1eJWESfQ&e=>
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
