Setting up Eclipse for Running and Debugging Distributed OSGiPage edited by David BosschaertThis procedure applies to both the Multi-bundle as well as the Single-bundle distribution. The multi-bundle distribution is used for the walkthrough. (Verified with Eclipse 3.5.1). 1. Import the CXF DOSGi bundles and dependencies as plugins into the workspace 2. select the directory that contains all the bundles of the distribution. For the multi-bundle distribution go to .../dosgi_bundles location of the distribution. For the single-bundle distribution go to the location that contains the cxf-dosgi-ri-singlebundle-distribution-<version>.jar bundle. 3. now you have all the bundles imported in Eclipse and can start developing your distributed OSGi application. 4. Develop your Distributed OSGi application. 5. Launch the whole lot in Equinox. If you do this in debug mode you can set breakpoints in you DOSGi code, step through it etc. 6. Once started you can check that your OSGi service is actually remoted you can request it's WSDL. The one for the Temperature Service developed above looks like this:
Change Notification Preferences
View Online
|
View Change
|
Add Comment
|
