Hi Nikolai.
I'm not aware of any Aries work yet around the Enterprise OSGi JDBC spec
so a contribution that provides and registers a DataSourceFactory for
Derby would be very useful.
A new sample that demonstrated this would be ideal; and enlistment of
JTA DataSources with the JTA Transaction Manager service would be a good
demonstration of the JTA RI and potentially useful for container-managed
JPA in the future. So I don't think there is any overlap with what
you're describing with any existing work in Aries.
Regards,
Ian
On 13/01/2010 13:40, Tankov, Nikolai wrote:
Hi,
I was checking the examples and saw that there are no examples which
demonstrate how transactions (JTA Transaction Services Specification) and DB
drivers (JDBC Service Specification) can be used.
Do you plan to include transactional scenario in one of the existing examples?
If no I can extend Derby bundle with an implement of interface
org.osgi.service.jdbc.DataSourceFactory defined into OSGi enterprise spec.
After that I can use it together with the existing transaction implementation
in a simple example.
What do you think about this idea?
The implementation of JTA DataSource for JPA is also interesting. Are there any
plans for an implementation? Or it is implemented but I did not found it :)
Thanks!
Nikolai.