<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: OSGi Declarative Services, Eclipse Galileo Feature #2</title>
	<atom:link href="http://eclipsesource.com/blogs/2009/06/23/eclipse-galileo-feature-top-10-list-number-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://eclipsesource.com/blogs/2009/06/23/eclipse-galileo-feature-top-10-list-number-2/</link>
	<description>Eclipse Equinox OSGi</description>
	<lastBuildDate>Fri, 03 Feb 2012 14:17:31 +0100</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: webdesigner</title>
		<link>http://eclipsesource.com/blogs/2009/06/23/eclipse-galileo-feature-top-10-list-number-2/comment-page-1/#comment-9701</link>
		<dc:creator>webdesigner</dc:creator>
		<pubDate>Sat, 28 May 2011 12:49:41 +0000</pubDate>
		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=2004#comment-9701</guid>
		<description>thanks for the useful info</description>
		<content:encoded><![CDATA[<p>thanks for the useful info</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norm Heske</title>
		<link>http://eclipsesource.com/blogs/2009/06/23/eclipse-galileo-feature-top-10-list-number-2/comment-page-1/#comment-2524</link>
		<dc:creator>Norm Heske</dc:creator>
		<pubDate>Fri, 31 Jul 2009 12:44:33 +0000</pubDate>
		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=2004#comment-2524</guid>
		<description>Chris,

I submitted Bug 285272.

Norm</description>
		<content:encoded><![CDATA[<p>Chris,</p>
<p>I submitted Bug 285272.</p>
<p>Norm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Aniszczyk</title>
		<link>http://eclipsesource.com/blogs/2009/06/23/eclipse-galileo-feature-top-10-list-number-2/comment-page-1/#comment-2385</link>
		<dc:creator>Chris Aniszczyk</dc:creator>
		<pubDate>Thu, 23 Jul 2009 21:54:43 +0000</pubDate>
		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=2004#comment-2385</guid>
		<description>Norm, it&#039;s a bit complicated as your bundle doesn&#039;t need to have any direct dependencies on DS. 

In most cases, you shouldn&#039;t have a dependency to DS via an &lt;code&gt;Import-Package&lt;/code&gt; or &lt;code&gt;Require-Bundle&lt;/code&gt;. In the new version of DS that shipped with Eclipse 3.5, you can use POJOs with DS.

However, I think we could do some extra validation in PDE when you validate a launch configuration and we come across a bundle that uses DS but DS isn&#039;t in the list of bundles we launch against. Could you open a bug for this?</description>
		<content:encoded><![CDATA[<p>Norm, it&#8217;s a bit complicated as your bundle doesn&#8217;t need to have any direct dependencies on DS. </p>
<p>In most cases, you shouldn&#8217;t have a dependency to DS via an <code>Import-Package</code> or <code>Require-Bundle</code>. In the new version of DS that shipped with Eclipse 3.5, you can use POJOs with DS.</p>
<p>However, I think we could do some extra validation in PDE when you validate a launch configuration and we come across a bundle that uses DS but DS isn&#8217;t in the list of bundles we launch against. Could you open a bug for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norm Heske</title>
		<link>http://eclipsesource.com/blogs/2009/06/23/eclipse-galileo-feature-top-10-list-number-2/comment-page-1/#comment-2378</link>
		<dc:creator>Norm Heske</dc:creator>
		<pubDate>Thu, 23 Jul 2009 03:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=2004#comment-2378</guid>
		<description>Thanks Chris. Should the example template add that as a required bundle or have a comment to that effect? I suspect others will also have trouble running the example.</description>
		<content:encoded><![CDATA[<p>Thanks Chris. Should the example template add that as a required bundle or have a comment to that effect? I suspect others will also have trouble running the example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Aniszczyk</title>
		<link>http://eclipsesource.com/blogs/2009/06/23/eclipse-galileo-feature-top-10-list-number-2/comment-page-1/#comment-2377</link>
		<dc:creator>Chris Aniszczyk</dc:creator>
		<pubDate>Wed, 22 Jul 2009 16:11:41 +0000</pubDate>
		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=2004#comment-2377</guid>
		<description>That&#039;s correct Norm. 

You have to make sure that the DS bundle is added to your launch configuration and started (the default is for the bundle to be automatically started, but you have to add it to the launch configuration first).</description>
		<content:encoded><![CDATA[<p>That&#8217;s correct Norm. </p>
<p>You have to make sure that the DS bundle is added to your launch configuration and started (the default is for the bundle to be automatically started, but you have to add it to the launch configuration first).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norm Heske</title>
		<link>http://eclipsesource.com/blogs/2009/06/23/eclipse-galileo-feature-top-10-list-number-2/comment-page-1/#comment-2367</link>
		<dc:creator>Norm Heske</dc:creator>
		<pubDate>Tue, 21 Jul 2009 23:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=2004#comment-2367</guid>
		<description>Not sure if I was doing something non-standard, but I was having a hard time getting the OSGi Declarative Services Example provided in Galileo to run. Eventually, I explicitly added the org.eclipse.equinox.ds bundle and its associated dependent bundles and it worked. Seems to me that ds bundle is not flagged as required and the xml files are ignored.</description>
		<content:encoded><![CDATA[<p>Not sure if I was doing something non-standard, but I was having a hard time getting the OSGi Declarative Services Example provided in Galileo to run. Eventually, I explicitly added the org.eclipse.equinox.ds bundle and its associated dependent bundles and it worked. Seems to me that ds bundle is not flagged as required and the xml files are ignored.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Víctor</title>
		<link>http://eclipsesource.com/blogs/2009/06/23/eclipse-galileo-feature-top-10-list-number-2/comment-page-1/#comment-1915</link>
		<dc:creator>Víctor</dc:creator>
		<pubDate>Tue, 07 Jul 2009 10:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=2004#comment-1915</guid>
		<description>Thanks for the Hint, Chris! :D</description>
		<content:encoded><![CDATA[<p>Thanks for the Hint, Chris! <img src='http://eclipsesource.com/blogs/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Aniszczyk</title>
		<link>http://eclipsesource.com/blogs/2009/06/23/eclipse-galileo-feature-top-10-list-number-2/comment-page-1/#comment-1894</link>
		<dc:creator>Chris Aniszczyk</dc:creator>
		<pubDate>Tue, 30 Jun 2009 12:35:11 +0000</pubDate>
		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=2004#comment-1894</guid>
		<description>Hi Victor. As of Eclipse, it&#039;s possible to use DS in a lazy fashion due to the specification updates in OSGi r4.2

PDE provides the latest tooling for DS files in Eclipse 3.5 and Equinox provides the latest DS runtime.

Just remember that your component files need to be in the new DS 1.1 namespace...
    http://www.osgi.org/xmlns/scr/v1.1.0

Also, ensure that the bundles are lazy started...
    Bundle-ActivationPolicy: lazy

That should be it! Good luck!</description>
		<content:encoded><![CDATA[<p>Hi Victor. As of Eclipse, it&#8217;s possible to use DS in a lazy fashion due to the specification updates in OSGi r4.2</p>
<p>PDE provides the latest tooling for DS files in Eclipse 3.5 and Equinox provides the latest DS runtime.</p>
<p>Just remember that your component files need to be in the new DS 1.1 namespace&#8230;<br />
    <a href="http://www.osgi.org/xmlns/scr/v1.1.0" rel="nofollow">http://www.osgi.org/xmlns/scr/v1.1.0</a></p>
<p>Also, ensure that the bundles are lazy started&#8230;<br />
    Bundle-ActivationPolicy: lazy</p>
<p>That should be it! Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Víctor</title>
		<link>http://eclipsesource.com/blogs/2009/06/23/eclipse-galileo-feature-top-10-list-number-2/comment-page-1/#comment-1892</link>
		<dc:creator>Víctor</dc:creator>
		<pubDate>Tue, 30 Jun 2009 09:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=2004#comment-1892</guid>
		<description>Hi Ian,

nice articles regarding our beloved Galileo release train. Even for a day by day user, Eclipse keeps surprising with new cool features!

Correct me if wrong, but I&#039;ve used DS in Ganymede, and found a rather odd issue regarding Service contribution: these will only be contributed if the bundle is activated. Otherwise, they are not. I found that it killed the real power behind DS. I had t create my own support bundle that activated those bundles defining declarative services. 

I believe the PDE team was working to change this for 3.5, based on the latest OSGi spec update. Is DS lazy loading already supported in 3.5?

Cheers,
Víctor.</description>
		<content:encoded><![CDATA[<p>Hi Ian,</p>
<p>nice articles regarding our beloved Galileo release train. Even for a day by day user, Eclipse keeps surprising with new cool features!</p>
<p>Correct me if wrong, but I&#8217;ve used DS in Ganymede, and found a rather odd issue regarding Service contribution: these will only be contributed if the bundle is activated. Otherwise, they are not. I found that it killed the real power behind DS. I had t create my own support bundle that activated those bundles defining declarative services. </p>
<p>I believe the PDE team was working to change this for 3.5, based on the latest OSGi spec update. Is DS lazy loading already supported in 3.5?</p>
<p>Cheers,<br />
Víctor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamil Demecki</title>
		<link>http://eclipsesource.com/blogs/2009/06/23/eclipse-galileo-feature-top-10-list-number-2/comment-page-1/#comment-1846</link>
		<dc:creator>Kamil Demecki</dc:creator>
		<pubDate>Wed, 24 Jun 2009 21:34:10 +0000</pubDate>
		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=2004#comment-1846</guid>
		<description>Hi

Declarative services is cool solution. I emphasize &quot;declarative&quot; word to express way of divide logic. But why using XML to define this spliting logic ?

Dividing is fine, one code is responsible for services and other how these services inter-operate (like in Guice). Also Ejb3 come out from XML to Java and annotations.

From I know, one strong point of XML is easy GUI wizards which operate on this XML, but one consistent solution in Java take advantage, specially speed of refactoring.

Eclipse is cool, speed of searching dependencies in plugin.xml is ok in middle-size project, but why not Java Module to express this declarative logic ?</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Declarative services is cool solution. I emphasize &#8220;declarative&#8221; word to express way of divide logic. But why using XML to define this spliting logic ?</p>
<p>Dividing is fine, one code is responsible for services and other how these services inter-operate (like in Guice). Also Ejb3 come out from XML to Java and annotations.</p>
<p>From I know, one strong point of XML is easy GUI wizards which operate on this XML, but one consistent solution in Java take advantage, specially speed of refactoring.</p>
<p>Eclipse is cool, speed of searching dependencies in plugin.xml is ok in middle-size project, but why not Java Module to express this declarative logic ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

