Re: [osgi-dev] [FDC-External]: Re: DB2 Enroute OSGi Connectivity

2020-01-14 Thread Tim Ward via osgi-dev
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  wrote:
> 
> Thanks Tim. Sorry to respond so late... I will look into the PAX-JDBC. Does 
> wrapping the DB2 Jar is still supported?
>  
> From: osgi-dev-boun...@mail.osgi.org  On 
> Behalf Of Tim Ward via osgi-dev
> Sent: Monday, January 6, 2020 4:04 AM
> To: Matthews, Kevin ; OSGi Developer Mail List 
> 
> 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 
> ,
>  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  > 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
> kevin.matth...@fiserv.com 
>  
> 
>  
> Fiserv 
> 
>  | Join Our Team 
> 
>  | Twitter 
> 
>  | LinkedIn 
> 
>  | Facebook 
> 
> 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 
> 
>  
> 
>  
> 
>  
> 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
> osgi-dev@mail.osgi.org 
> https://mail.osgi.org/mailman/listinfo/osgi-dev 
> 

Re: [osgi-dev] [FDC-External]: Re: DB2 Enroute OSGi Connectivity

2020-01-10 Thread Matthews, Kevin via osgi-dev
Thanks Tim. Sorry to respond so late... I will look into the PAX-JDBC. Does 
wrapping the DB2 Jar is still supported?

From: osgi-dev-boun...@mail.osgi.org  On Behalf 
Of Tim Ward via osgi-dev
Sent: Monday, January 6, 2020 4:04 AM
To: Matthews, Kevin ; OSGi Developer Mail List 

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,
 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 
mailto:osgi-dev@mail.osgi.org>> 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
kevin.matth...@fiserv.com



Fiserv
 | Join Our 
Team
 | 
Twitter
 | 
LinkedIn
 | 
Facebook
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



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
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev