Hi,all my friends:
    I am a fresh man  of learning the  excellent Carbon platform.And recently I 
have some questions about many basic concepts of Carbon.
    I searched many information about WSO2 and looked a little source code of 
Carbon,i find that there are many basic concepts which i don't understand well 
in the Carbon platform:
    Bundle,may be a jar file implement some function.
    Component,contains a set of Bundles.
    Feature contains a set of Components or a set of Components and other 
Features.
    Artifacts,may be a aar service. Could the Artifact be contained in a 
component?
    Carbon application, I know a Carbon app can contains many Artifacts,and a 
Carbon app can contains Components.
    But what's the relationship between Feature and Carbon application?
    which contains which? or they don't have any relationship? And can you 
explain it with much more details?
    When I add a feature through the Feature Manage interface provided by the 
Carbon server,how can other feature use the new added Feature's function? may 
be they can use something in OSGI? register the new added Feature to the OSGI 
environment,so other features get new added feature's function through the OSGI 
environment? am I right.
    Here I talk about the OSGI,in the OSGI ,there are two ways to get service.
    1. through the config file with "Import/Export Package".

    2. through the register service,there are also two methods,one is through 
the BundleContext ,and the other is Declarative Service,mainly config the 
component.xml,and export the Class writed in the component.xml. 【does the 
exported Class here is the concept of component of OSGI?  I think so】
    Some trouble here, why WSO2's concept of Component is different from OSGI's 
concept of component?
    In the OSGI,a bundle contains many component, and In Carbon ,a component 
contains many bundle.
    If I am right above, which concept of OSGI does WSO2's Component correspond 
to   ?
                                             which concept of OSGI does WSO2's 
Feature correspond to?
                                           and does WSO2 have something  like  
the component of OSGI?
     Eager to learn~


     Looking  forward to your reply!
     Thank you 
Best wishes.             
                                                                                
                                               Shi Liang liang
    
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to