Oh, thanks for the tutorial, I was unaware of the "export" and "ls" commands. LSNED I guess.

Anyway, question, as a result of your proposal, when I enter "list" at the Karaf command prompt -- what will I receive, what you're proposing to rename bundles:list (what we presently see by default), or this new services:list?

Also, shouldn't this services:list *replace* the osgi:ls command, so we're not maintaining two very similar commands (as it looks like the former will sufficiently handle what the latter does)?

Thanks,
Glen

On 12/02/2011 07:56 AM, Christian Schneider wrote:
Hi Glen,

it is about OSGi services. Bundles can offer or use Services.
In my first Karaf Tutorial I show how to provide and consume services:
http://www.liquid-reality.de/display/liquid/2011/02/15/Karaf+Tutorial+Part+1+-+Installation+and+First+application

Basically a service is a Java object that is registered in the OSGi service registry and can be fetched from it by other bundles. The idea is to communicate between bundles by using services.

Christian

Am 02.12.2011 13:21, schrieb Glen Mazza:
I'm confused--what is the difference between a service and a Karaf feature (i.e., from the JIRA text "For service:list I would like to change the functionality to focus on services as the first level.") -- the only two units of program up until now I've been aware of are bundles and features, so am unsure where "services" fit in here--is that a synonym for feature?

Thanks,
Glen

On 12/02/2011 06:23 AM, j...@nanthrax.net wrote:
Hi Christian,

As discussed on IRC yesterday, +1

Regards
JB

--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://wwx.talend.com

----- Reply message -----
From: "Christian Schneider"<ch...@die-schneider.net>
To:<dev@karaf.apache.org>
Subject: New design for service:list
Date: Fri, Dec 2, 2011 11:05 am


I just opened an issue for a new design of the service:list command. The
idea is to focus on service instead of bundle on the first level.
https://issues.apache.org/jira/browse/KARAF-1077

Any feedback is very welcome.

Christian








--
Glen Mazza
Talend Community Coders
http://coders.talend.com
blog: http://www.jroller.com/gmazza

Reply via email to