[
https://issues.apache.org/jira/browse/KARAF-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209811#comment-14209811
]
Christian Schneider edited comment on KARAF-3035 at 11/13/14 2:08 PM:
----------------------------------------------------------------------
There are two new modules in pax-jdbc that can handle DataSource creation much
better than what we have now in karaf. I propose we rather try to migrate to
that solution than improve the current one.
Of course we can still provide jdbc:* commands but they are not absolutely
necessary anymore with pax-jdbc-config.
See
https://ops4j1.jira.com/wiki/display/PAXJDBC/Create+DataSource+from+config
https://ops4j1.jira.com/wiki/display/PAXJDBC/Pooling+and+XA+support+for+DataSourceFactory
Basically you just install some features and create a small config and the
DataSource is created for you including pooling and XA support. Thanks to
Guillaume there is now also the choice between aries jdbc and dbcp2 for pooling
and XA support.
This only applies to jdbc of course. There is no similar support for jms and I
am not sure if it is possible to create such support as the is no
ConnectionFactoryFactory service or similar defined in the OSGi spec (as far as
I know).
WDYT?
was (Author: [email protected]):
There are two new modules in pax-jdbc that can handle DataSource creation much
better than what we have now in karaf. I propose we rather try to migrate to
that solution than improve the current one.
Of course we can still provide jdbc:* commands but they are not absolutely
necessary anymore with pax-jdbc-config.
See
https://ops4j1.jira.com/wiki/display/PAXJDBC/Create+DataSource+from+config
https://ops4j1.jira.com/wiki/display/PAXJDBC/Pooling+and+XA+support+for+DataSourceFactory
Basically you just install some features and create a small config and the
DataSource is created for you including pooling and XA support. Thanks to
Guillaume there is now also the choice between aries jdbc and dbcp2 for pooling
and XA support.
WDYT?
> Use aries transaction jdbc / jms for pooling
> --------------------------------------------
>
> Key: KARAF-3035
> URL: https://issues.apache.org/jira/browse/KARAF-3035
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 4.0.0
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: 4.0.0, 3.0.3, 2.4.1
>
> Attachments: templates.zip, vcs-diff1271163984438294153.patch,
> vcs-diff4588490555533395514.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)