Re: OSGI service dynamic discovery using zookeeper

2012-10-11 Thread Freeman Fang
Hi, Not really a step by step example, just FYI, the fabric-cxf code Willem mentioned is here[1] [1]https://github.com/fusesource/fuse/tree/master/fabric/fabric-cxf/src/main/java/org/fusesource/fabric/cxf - Freeman Fang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fu

Re: OSGI service dynamic discovery using zookeeper

2012-10-11 Thread Roger
Hi Willem, Thanks for your reply. Like what you have mentioned, I would like to look up the address from the registry (zookeeper). Verify concept Now I understand that the OSGI framework does not automatically discover the remote services published in the r

Re: OSGI service dynamic discovery using zookeeper

2012-10-11 Thread Willem jiang
It is easy to let the zookeeper know when you publish the service. But you client need more work to know the real service address by looking up the address from the zookeeper. CXF client has the failover feature[1] could help you do this kind of work, you just need to configure the endpoint addr

OSGI service dynamic discovery using zookeeper

2012-10-11 Thread Roger
Hi everyone, Recently, I have just started exploring on the OSGI service dynamic discovery using the zookeeper. Background info -- I am using the eclipse osgi jars to start the bundles. I followed the instruction from the apache website to configure the zookeeper