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 available outside Karaf anyways.

Jochen


On Wed, Dec 17, 2014 at 3:27 PM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote:
> I agree, but Karaf is flexible enough to create your own custom
> distribution, where you easily assembly what you need.
> I know that some of you may think that OSGi is enough by itself, and a
> container doesn't make sense, but I disagree about that. Providing an
> easy/flexible/enterprise ready container on top of the framework is very
> interesting for the users.
>
> My $0.02
>
> Regards
> JB
>
>
> On 12/17/2014 03:22 PM, Milen Dyankov wrote:
>>
>> 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
>> one may end up anywhere between installing 2-3 bundles to building custom
>> Karaf.
>>
>> Best,
>> Milen
>>
>> On Wed, Dec 17, 2014 at 2:46 PM, Jean-Baptiste Onofré <j...@nanthrax.net>
>> wrote:
>>>
>>>
>>> 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 - 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
>>>> datasource is, how is defined and how to deal with it) installed. In
>>>> your
>>>> case this is first the blueprint impl to process your blueprint config.
>>>> Then it depend on what really a 'datasource' is in your case you'll need
>>>> some more. Have a look at
>>>> https://repo1.maven.org/maven2/org/apache/karaf/
>>>> features/enterprise/3.0.2/enterprise-3.0.2-features.xml
>>>> to see what Karaf uses if you want to stick with those implementations.
>>>> There you'll see a "jdbc", "jpa", ... features and what bundles they
>>>> consists of. Depending on what exactly is your use case, you may or may
>>>> not
>>>> need to install all of them!
>>>>
>>>> Best,
>>>> Milen
>>>>
>>>>
>>>> On Wed, Dec 17, 2014 at 2:05 PM, Achim Nierbeck
>>>> <bcanh...@googlemail.com>
>>>> wrote:
>>>>
>>>>>
>>>>> 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 <njbartl...@gmail.com>:
>>>>>
>>>>>>
>>>>>> Achim, are you seriously saying that you need the complete Karaf stack
>>>>>> just in order to use a datasource?? That’s nuts.
>>>>>>
>>>>>> RamaKrishna, what is the issue you’re having? If you have a datasource
>>>>>> bundle you can just install it in Felix and it will work. If not,
>>>>>> please
>>>>>> report the errors you get.
>>>>>>
>>>>>> Regards,
>>>>>> Neil
>>>>>>
>>>>>>   On 17 Dec 2014, at 12:51, Achim Nierbeck <bcanh...@googlemail.com>
>>>>>>>
>>>>>>>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>> 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 Felix File install configured
>>>>>>> correctly and installed with your framework.
>>>>>>> For that you'll need some sort of main that does the bootstrapping of
>>>>>>> bundles that need to be part of the "basic" setup.
>>>>>>> ...
>>>>>>> I think I could go on for about 4 to 5 other projects you most likely
>>>>>>>
>>>>>> would
>>>>>>
>>>>>>> need.
>>>>>>> Again, why don't you stick to Karaf as it brings all of this
>>>>>>> infrastructural glueing?
>>>>>>>
>>>>>>> regards, Achim
>>>>>>>
>>>>>>> 2014-12-17 12:13 GMT+01:00 Ramakrishna R <ramakrishna...@gmail.com>:
>>>>>>>
>>>>>>>>
>>>>>>>> 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 RV
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Apache Member
>>>>>>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>>>>>>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>>>>>>>
>>>>>> Committer
>>>>>
>>>>>
>>>>>> &
>>>>>>
>>>>>>> Project Lead
>>>>>>> blog <http://notizblog.nierbeck.de/>
>>>>>>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>>>>>>>
>>>>>>> Software Architect / Project Manager / Scrum Master
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
>>>>>> For additional commands, e-mail: users-h...@felix.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>>
>>>>> Apache Member
>>>>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>>>>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
>>>>> &
>>>>> Project Lead
>>>>> blog <http://notizblog.nierbeck.de/>
>>>>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>>>>>
>>>>> Software Architect / Project Manager / Scrum Master
>>>>>
>>>>>
>>>>
>>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbono...@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
>>> For additional commands, e-mail: users-h...@felix.apache.org
>>>
>>>
>>
>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>



-- 
Our time is just a point along a line that runs forever with no end.
(Al Stewart, Lord Grenville)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to