You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2011/08/24 03:19:29 UTC

[jira] [Created] (KARAF-823) Add DOSGi support for Cellar

Add DOSGi support for Cellar
----------------------------

                 Key: KARAF-823
                 URL: https://issues.apache.org/jira/browse/KARAF-823
             Project: Karaf
          Issue Type: New Feature
          Components: cellar-core
            Reporter: Ioannis Canellos
            Assignee: Ioannis Canellos
             Fix For: cellar-3.0.0


It would be nice to have the ability to have distributed services on top of cellar.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-823) Add DOSGi support for Cellar

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090075#comment-13090075 ] 

Jean-Baptiste Onofré commented on KARAF-823:
--------------------------------------------

As Andreas said, we can also enhance and extend the CXF DOSGi implementation. We can talk with Sergey about that.

> Add DOSGi support for Cellar
> ----------------------------
>
>                 Key: KARAF-823
>                 URL: https://issues.apache.org/jira/browse/KARAF-823
>             Project: Karaf
>          Issue Type: New Feature
>          Components: cellar-core
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: cellar-3.0.0
>
>
> It would be nice to have the ability to have distributed services on top of cellar.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-823) Add DOSGi support for Cellar

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090074#comment-13090074 ] 

Jean-Baptiste Onofré commented on KARAF-823:
--------------------------------------------

Maybe we can take a look on the CXF DOSGi implementation and leverage it.

> Add DOSGi support for Cellar
> ----------------------------
>
>                 Key: KARAF-823
>                 URL: https://issues.apache.org/jira/browse/KARAF-823
>             Project: Karaf
>          Issue Type: New Feature
>          Components: cellar-core
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: cellar-3.0.0
>
>
> It would be nice to have the ability to have distributed services on top of cellar.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-823) Add DOSGi support for Cellar

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187542#comment-13187542 ] 

Jean-Baptiste Onofré commented on KARAF-823:
--------------------------------------------

Merged on cellar-2.2.x branch.
                
> Add DOSGi support for Cellar
> ----------------------------
>
>                 Key: KARAF-823
>                 URL: https://issues.apache.org/jira/browse/KARAF-823
>             Project: Karaf
>          Issue Type: New Feature
>          Components: cellar-core
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: cellar-3.0.0, cellar-2.2.3
>
>
> It would be nice to have the ability to have distributed services on top of cellar.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (KARAF-823) Add DOSGi support for Cellar

Posted by "Ioannis Canellos (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos resolved KARAF-823.
------------------------------------

       Resolution: Fixed
    Fix Version/s: cellar-2.2.3

Core functionality is there. 
Integration tests are there.
Anything else can go into separeate issue.
                
> Add DOSGi support for Cellar
> ----------------------------
>
>                 Key: KARAF-823
>                 URL: https://issues.apache.org/jira/browse/KARAF-823
>             Project: Karaf
>          Issue Type: New Feature
>          Components: cellar-core
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: cellar-3.0.0, cellar-2.2.3
>
>
> It would be nice to have the ability to have distributed services on top of cellar.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (KARAF-823) Add DOSGi support for Cellar

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090825#comment-13090825 ] 

Ioannis Canellos edited comment on KARAF-823 at 8/25/11 7:28 AM:
-----------------------------------------------------------------

Please let me share what I had in mind. By dosgi I am referring to remote
services (as described in the osgi compendium chapter 13) and not to a
specific implementation (e.g. cxf dosgi).

Since cellar already provides a) a node discovery mechanism b) means to
dispatch events, commands to remote nodes and c) distributed memory (which
can be used as a remote service registry), I was thinking to implement the
specification (or at least a part of it) on top of cellar.

I also have thought about using an existing implementation like cxf-dosgi,
and r-osgi, but I think that they don't fit well because simply they are
build from scratch (from discovery mechanism to transport layer etc).

Regarding the implementation, what I had in mind is to implement a service
listener that will create a queue (hazelcast queue) for each interface of
the exported service. A ListenerHook that will register a proxy for each
imported service (service that is not found locally but is found remotely).
And the actual proxy that will dispatch remote service call commands (cellar
commands) to the appropriate queue. The rest are already provided by
celllar.

I have implemented the above and also some samples and I am currently
testing it. So far it seems to be working fine, it requires no configuration
(only a property to mark a service as remote), it automatically scales (if
you add more nodes that export the service it automatically load balances
the load etc) and does not introduces any other dependency.

I was thinking to commit it to trunk by the end of the week. wdyt?


      was (Author: iocanel):
    Please let me share what I had in mind. By dosgi I am referring to remote
services (as described in the osgi compendium chapter 13) and not to a
specific implementation (e.g. cxf dosgi).

Since cellar already provides a) a node discovery mechanism b) means to
dispatch events, commands to remote nodes and c) distributed memory (which
can be used as a remote service registry), I was thinking to implement the
specification (or at least a part of it) on top of cellar.

I also have thought about using an existing implementation like cxf-dosgi,
and r-osgi, but I think that they don't fit well because simply they are
build from scratch (from discovery mechanism to transport layer etc).

Regarding the implementation, what I had in mind is to implement a service
listener that will create a queue (hazelcast queue) for each interface of
the exported service. A ListenerHook that will register a proxy for each
imported service (service that is not found locally but is found remotely).
And the actual proxy that will dispatch remote service call commands (cellar
commands) to the appropriate queue. The rest are already provided by
celllar.

I have implemented the above and also some samples and I am currently
testing it. So far it seems to be working fine, it requires no configuration
(only a property to mark a service as remote), it automatically scales (if
you add more nodes that export the service it automatically load balances
the load etc) and does not introduces any other dependency.

I was thinking to commit it to trunk by the end of the week. wdyt?

-- 
*Ioannis Canellos*
*
 http://iocanel.blogspot.com

Apache Karaf <http://karaf.apache.org/> Committer & PMC
Apache ServiceMix <http://servicemix.apache.org/>  Committer
Apache Gora <http://incubator.apache.org/gora/> Committer
*

  
> Add DOSGi support for Cellar
> ----------------------------
>
>                 Key: KARAF-823
>                 URL: https://issues.apache.org/jira/browse/KARAF-823
>             Project: Karaf
>          Issue Type: New Feature
>          Components: cellar-core
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: cellar-3.0.0
>
>
> It would be nice to have the ability to have distributed services on top of cellar.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-823) Add DOSGi support for Cellar

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090829#comment-13090829 ] 

Jean-Baptiste Onofré commented on KARAF-823:
--------------------------------------------

Agree with that. By CXF, I have more in mind if we want to pick up some implementations/codes.

It's clear that it's better to follow the OSGi spec.

> Add DOSGi support for Cellar
> ----------------------------
>
>                 Key: KARAF-823
>                 URL: https://issues.apache.org/jira/browse/KARAF-823
>             Project: Karaf
>          Issue Type: New Feature
>          Components: cellar-core
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: cellar-3.0.0
>
>
> It would be nice to have the ability to have distributed services on top of cellar.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-823) Add DOSGi support for Cellar

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090825#comment-13090825 ] 

Ioannis Canellos commented on KARAF-823:
----------------------------------------

Please let me share what I had in mind. By dosgi I am referring to remote
services (as described in the osgi compendium chapter 13) and not to a
specific implementation (e.g. cxf dosgi).

Since cellar already provides a) a node discovery mechanism b) means to
dispatch events, commands to remote nodes and c) distributed memory (which
can be used as a remote service registry), I was thinking to implement the
specification (or at least a part of it) on top of cellar.

I also have thought about using an existing implementation like cxf-dosgi,
and r-osgi, but I think that they don't fit well because simply they are
build from scratch (from discovery mechanism to transport layer etc).

Regarding the implementation, what I had in mind is to implement a service
listener that will create a queue (hazelcast queue) for each interface of
the exported service. A ListenerHook that will register a proxy for each
imported service (service that is not found locally but is found remotely).
And the actual proxy that will dispatch remote service call commands (cellar
commands) to the appropriate queue. The rest are already provided by
celllar.

I have implemented the above and also some samples and I am currently
testing it. So far it seems to be working fine, it requires no configuration
(only a property to mark a service as remote), it automatically scales (if
you add more nodes that export the service it automatically load balances
the load etc) and does not introduces any other dependency.

I was thinking to commit it to trunk by the end of the week. wdyt?

-- 
*Ioannis Canellos*
*
 http://iocanel.blogspot.com

Apache Karaf <http://karaf.apache.org/> Committer & PMC
Apache ServiceMix <http://servicemix.apache.org/>  Committer
Apache Gora <http://incubator.apache.org/gora/> Committer
*


> Add DOSGi support for Cellar
> ----------------------------
>
>                 Key: KARAF-823
>                 URL: https://issues.apache.org/jira/browse/KARAF-823
>             Project: Karaf
>          Issue Type: New Feature
>          Components: cellar-core
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: cellar-3.0.0
>
>
> It would be nice to have the ability to have distributed services on top of cellar.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-823) Add DOSGi support for Cellar

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090824#comment-13090824 ] 

Ioannis Canellos commented on KARAF-823:
----------------------------------------

Please let me share what I had in mind. By dosgi I am referring to remote services (as described in the osgi compendium chapter 13) and not to a specific implementation (e.g. cxf dosgi).

Since cellar already provides a) a node discovery mechanism b) means to dispatch events, commands to remote nodes and c) distributed memory (which can be used as a remote service registry), I was thinking to implement the specification (or at least a part of it) on top of cellar.  

I also have thought about using an existing implementation like cxf-dosgi, and r-osgi, but I think that they don't fit well because simply they are build from scratch (from discovery mechanism to transport layer etc). 

Regarding the implementation, what I had in mind is to implement a service listener that will create a queue (hazelcast queue) for each interface of the exported service. A ListenerHook that will register a proxy for each imported service (service that is not found locally but is found remotely). And the actual proxy that will dispatch remote service call commands (cellar commands) to the appropriate queue. The rest are already provided by celllar. 

I have implemented the above and also some samples and I am currently testing it. So far it seems to be working fine, it requires no configuration (only a property to mark a service as remote), it automatically scales (if you add more nodes that export the service it automatically load balances the load etc) and does not introduces any other dependency.

I was thinking to commit it to trunk by the end of the week. wdyt? 

> Add DOSGi support for Cellar
> ----------------------------
>
>                 Key: KARAF-823
>                 URL: https://issues.apache.org/jira/browse/KARAF-823
>             Project: Karaf
>          Issue Type: New Feature
>          Components: cellar-core
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: cellar-3.0.0
>
>
> It would be nice to have the ability to have distributed services on top of cellar.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-823) Add DOSGi support for Cellar

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090549#comment-13090549 ] 

Achim Nierbeck commented on KARAF-823:
--------------------------------------

if dosgi isn't worked on anymore does r-osgi (http://r-osgi.sourceforge.net/) look beneficial?

> Add DOSGi support for Cellar
> ----------------------------
>
>                 Key: KARAF-823
>                 URL: https://issues.apache.org/jira/browse/KARAF-823
>             Project: Karaf
>          Issue Type: New Feature
>          Components: cellar-core
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: cellar-3.0.0
>
>
> It would be nice to have the ability to have distributed services on top of cellar.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-823) Add DOSGi support for Cellar

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090030#comment-13090030 ] 

Andreas Pieber commented on KARAF-823:
--------------------------------------

This feature would be really interesting; but please keep in mind that dosgi hadn't been touched for about a year and there are a lot of upgrades/cleanups required before it is usable again with the latest versions. I might not be true here, but this was my impression as I looked last.

> Add DOSGi support for Cellar
> ----------------------------
>
>                 Key: KARAF-823
>                 URL: https://issues.apache.org/jira/browse/KARAF-823
>             Project: Karaf
>          Issue Type: New Feature
>          Components: cellar-core
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: cellar-3.0.0
>
>
> It would be nice to have the ability to have distributed services on top of cellar.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira