Team,
I want to know how to configure datasource in Felix container. I have a
blueprint that contains datasource info, this i want to make work in Felix.
In Karaf when i put it in deploy folder it works perfectly. Am not getting
a direction as how to achive this in felix.
--
Cheers
RamaKrishna
Any reason not to stick to Karaf as your container as it uses Felix as its
framework?
Otherwise you'll need to re-assemble the complete stack that is used inside
Karaf.
So you'll need to add the blueprint bundles first, those can be found at
the Aries Project.
Now you'll need to make sure you have
No I'm not saying that,
but if he expects to use blueprint xml definitions for a datasource he'll
need to put all those bundles back in again, in
the end he might end up with the Karaf-minimal distro so where is the point?
regards, Achim
2014-12-17 14:02 GMT+01:00 Neil Bartlett
You probably know this but just to make it clear - Karaf is not directly
comparable with Felix. It can use Felix or Equinox but it comes OOTB with
many bundles pre-installed. That is why your datasource works in Karaf.
It will work in Felix if you have appropriate bundles (that understand what
Hi guys,
if at the end, you install the same bundles as in Karaf (where we also
bring some configuration and convenient commands), the question is why
not directly using Karaf ;)
Regards
JB
On 12/17/2014 02:44 PM, Milen Dyankov wrote:
You probably know this but just to make it clear -
Well if someone says he wants to use B instead of A, I assume he/she has
his reasons. That's why I tend to avoid answering like just stay with A
as it doesn't really help. Besides, you don't really need everything Karaf
comes with, in order to define and use datasources. Depends on the use case
The problem with the easy/flexible/enterprise ready container on top
of the framework is, that a real lot of users (including me) cannot
use it, because their applications *must* run within a
difficult/inflexible/enterprise ready 10 years ago container. Or, in
other words: A solution must be
Don't get me wrong, I use Karaf myself and I love it. And I'm fully with
you about easy/flexible/enterprise ready container statement. Just was
trying to answer the question according to my best knowledge without
pushing on my personal preferences.
Best,
Milen
On Wed, Dec 17, 2014 at 3:27 PM,
To use a blueprint datasource in pure felix you would need to install
blueprint and its dependencies.
If you do not use blueprint for anything else then I would rather
publish the datasource using a simple bundle with just OSGi API.
Simply create and publish the DataSource in an Activator.
An
It makes sense. My point was just about installing a bunch of bundles on
top of Felix to mimic what Karaf already provides.
Regards
JB
On 12/17/2014 03:39 PM, Milen Dyankov wrote:
Don't get me wrong, I use Karaf myself and I love it. And I'm fully with
you about easy/flexible/enterprise ready
10 matches
Mail list logo