Hi Henrik,

Sorry for replying with no answer but I am planning of doing similar with 
UserAdmin, e.g connect the jdbc backend to get authentication information.

The architecture would be similar to JAAS where users can plugin different 
backends for authentication. Similar to this actually 
https://karaf.apache.org/manual/latest/security

If you like to collaborate i would be interested in hearing your ideas.

Cheers
Daghan

Sent by MailWise<http://www.mail-wise.com/installation/2> – See your emails as 
clean, short chats.


-------- Original Message --------
From: Henrik Niehaus <henrik.nieh...@gmx.de>
Sent: Thursday, September 8, 2016 02:40 AM
To: osgi-dev@mail.osgi.org
Subject: Re: [osgi-dev] Working example tx-control with JPA

Thanks Peter,
I actually got that working and used it to implement a MySQL backend for Felix 
UserAdmin. But know I want to switch to JPA, because for bigger object 
structures it gets quite complicated to do it all with JDBC only. Unfortunately 
I cant get this reference

@Reference EntityManagerFactoryBuilder emfb;

to be resolved. That's why I was asking for an example.

-Henrik

Am 07.09.2016 um 18:34 schrieb Peter Kriens:
You could take a look at https://github.com/osgi/osgi.enroute.examples.jdbc

It wasn’t completely finished and reviewed but I think it works.

Kind regards,

Peter Kriens

On 7 sep. 2016, at 18:33, Henrik Niehaus 
<henrik.nieh...@gmx.de<mailto:henrik.nieh...@gmx.de>> wrote:

Does anybody have a working example for tx-control with JPA? I know
there is a brief explation at [1], but I'm struggling with the
configuration and don't exactly know, which dependencies to use. It
would be very nice, if someone could provide a small self contained code
example (preferably a bnd workspace).

BR

-Henrik

[1] http://aries.apache.org/modules/tx-control/localJPA.html

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org<mailto:osgi-dev@mail.osgi.org>
https://mail.osgi.org/mailman/listinfo/osgi-dev




_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org<mailto: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

Reply via email to