<?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: Creating OSGi bundles</title>
	<atom:link href="http://blog.springsource.org/2008/02/18/creating-osgi-bundles/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.org/2008/02/18/creating-osgi-bundles/</link>
	<description>The voice of SpringSource</description>
	<lastBuildDate>Wed, 08 Feb 2012 17:31:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Andrew Swan</title>
		<link>http://blog.springsource.org/2008/02/18/creating-osgi-bundles/comment-page-1/#comment-236313</link>
		<dc:creator>Andrew Swan</dc:creator>
		<pubDate>Fri, 20 Jan 2012 11:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/02/18/creating-osgi-bundles/#comment-236313</guid>
		<description>Nice write-up, Costin, thanks!</description>
		<content:encoded><![CDATA[<p>Nice write-up, Costin, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: منتديات</title>
		<link>http://blog.springsource.org/2008/02/18/creating-osgi-bundles/comment-page-1/#comment-173917</link>
		<dc:creator>منتديات</dc:creator>
		<pubDate>Sat, 26 Jun 2010 20:13:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/02/18/creating-osgi-bundles/#comment-173917</guid>
		<description>I created bundles for third party jars using BND plugin. All packages are exported. But, still when I try to use it, I get &quot;The constructor is not accessible due to restriction on required library &quot;. Any idea on why this happens and how to avoid this?</description>
		<content:encoded><![CDATA[<p>I created bundles for third party jars using BND plugin. All packages are exported. But, still when I try to use it, I get &#034;The constructor is not accessible due to restriction on required library &#034;. Any idea on why this happens and how to avoid this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OSGi bez irytacji</title>
		<link>http://blog.springsource.org/2008/02/18/creating-osgi-bundles/comment-page-1/#comment-171559</link>
		<dc:creator>OSGi bez irytacji</dc:creator>
		<pubDate>Tue, 09 Mar 2010 11:26:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/02/18/creating-osgi-bundles/#comment-171559</guid>
		<description>[...] Creating OSGi Bundles [...]</description>
		<content:encoded><![CDATA[<p>[...] Creating OSGi Bundles [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OSGi bez irytacji</title>
		<link>http://blog.springsource.org/2008/02/18/creating-osgi-bundles/comment-page-1/#comment-171560</link>
		<dc:creator>OSGi bez irytacji</dc:creator>
		<pubDate>Tue, 09 Mar 2010 11:26:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/02/18/creating-osgi-bundles/#comment-171560</guid>
		<description>[...] Creating OSGi Bundles [...]</description>
		<content:encoded><![CDATA[<p>[...] Creating OSGi Bundles [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raja</title>
		<link>http://blog.springsource.org/2008/02/18/creating-osgi-bundles/comment-page-1/#comment-171267</link>
		<dc:creator>Raja</dc:creator>
		<pubDate>Mon, 08 Feb 2010 00:23:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/02/18/creating-osgi-bundles/#comment-171267</guid>
		<description>I created bundles for third party jars using BND plugin. All packages are exported. But, still when I try to use it, I get &quot;The constructor is not accessible due to restriction on required library &quot;. Any idea on why this happens and how to avoid this?

Thanks,

- Raja.</description>
		<content:encoded><![CDATA[<p>I created bundles for third party jars using BND plugin. All packages are exported. But, still when I try to use it, I get &#034;The constructor is not accessible due to restriction on required library &#034;. Any idea on why this happens and how to avoid this?</p>
<p>Thanks,</p>
<p>- Raja.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hello world!</title>
		<link>http://blog.springsource.org/2008/02/18/creating-osgi-bundles/comment-page-1/#comment-169501</link>
		<dc:creator>Hello world!</dc:creator>
		<pubDate>Tue, 17 Nov 2009 09:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/02/18/creating-osgi-bundles/#comment-169501</guid>
		<description>[...] as for OSGi, you can read what Matt Raible wrote. Don&#8217;t forget to skim Costin Leau&#8217;s blog entry discussing OSGi bundles (&#8221;bundle&#8221; is just a fancy alias for &#8220;jar&#8221;, I&#8217;m [...]</description>
		<content:encoded><![CDATA[<p>[...] as for OSGi, you can read what Matt Raible wrote. Don&#039;t forget to skim Costin Leau&#039;s blog entry discussing OSGi bundles (&#034;bundle&#034; is just a fancy alias for &#034;jar&#034;, I&#039;m [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian.h.gt</title>
		<link>http://blog.springsource.org/2008/02/18/creating-osgi-bundles/comment-page-1/#comment-167515</link>
		<dc:creator>brian.h.gt</dc:creator>
		<pubDate>Wed, 08 Jul 2009 03:07:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/02/18/creating-osgi-bundles/#comment-167515</guid>
		<description>&quot;But due to the fact that the project i was working on was not structured in a set of subprojects so that i could have used eclipse pde for my developing but rather consisted of one huge classpath during build time&quot;

Yeah, it looks like bnd works great for projects that are not structured... but I&#039;m disappointed that it doesn&#039;t work for projects that _are_ structured.

Working with Eclipse and separating your bundles into logical projects with individual manifests is, in my opinion, cleaner and more modular.  However, I have not found bnd to support this.  Hiding packages (so that two classes with the same name and package could potentially exist in separate bundles and not exported) is a feature of OSGi and using one giant unstructured src/bin folder destroys that!

In my perfect world:
1) The manifest should be maintained in only _one_ spot.  Generating it every time doesn&#039;t work well with version control or for just running your src straight out of the box with an IDE.  Saying, &quot;Oh, by the way... you have to run these ANT targets before you open Eclipse&quot; isn&#039;t fun.
2) Compiling a bundle with ANT would be easy with multiple projects, source folders, and manifests.

I won&#039;t be using bnd as a build tool.</description>
		<content:encoded><![CDATA[<p>&#034;But due to the fact that the project i was working on was not structured in a set of subprojects so that i could have used eclipse pde for my developing but rather consisted of one huge classpath during build time&#034;</p>
<p>Yeah, it looks like bnd works great for projects that are not structured&#8230; but I&#039;m disappointed that it doesn&#039;t work for projects that _are_ structured.</p>
<p>Working with Eclipse and separating your bundles into logical projects with individual manifests is, in my opinion, cleaner and more modular.  However, I have not found bnd to support this.  Hiding packages (so that two classes with the same name and package could potentially exist in separate bundles and not exported) is a feature of OSGi and using one giant unstructured src/bin folder destroys that!</p>
<p>In my perfect world:<br />
1) The manifest should be maintained in only _one_ spot.  Generating it every time doesn&#039;t work well with version control or for just running your src straight out of the box with an IDE.  Saying, &#034;Oh, by the way&#8230; you have to run these ANT targets before you open Eclipse&#034; isn&#039;t fun.<br />
2) Compiling a bundle with ANT would be easy with multiple projects, source folders, and manifests.</p>
<p>I won&#039;t be using bnd as a build tool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-04-23 &#171; Niels&#8217; blog</title>
		<link>http://blog.springsource.org/2008/02/18/creating-osgi-bundles/comment-page-1/#comment-164252</link>
		<dc:creator>links for 2009-04-23 &#171; Niels&#8217; blog</dc:creator>
		<pubDate>Fri, 24 Apr 2009 06:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/02/18/creating-osgi-bundles/#comment-164252</guid>
		<description>[...] SpringSource Team Blog » Creating OSGi bundles (tags: bnd osgi spring tutorial) [...]</description>
		<content:encoded><![CDATA[<p>[...] SpringSource Team Blog » Creating OSGi bundles (tags: bnd osgi spring tutorial) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SpringSource Team Blog &#187; Exposing the boot classpath in OSGi</title>
		<link>http://blog.springsource.org/2008/02/18/creating-osgi-bundles/comment-page-1/#comment-143483</link>
		<dc:creator>SpringSource Team Blog &#187; Exposing the boot classpath in OSGi</dc:creator>
		<pubDate>Mon, 19 Jan 2009 20:18:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/02/18/creating-osgi-bundles/#comment-143483</guid>
		<description>[...] to the bootstrapping classpath from OSGi, without bundling it. To express package dependencies, bundles use the OSGi directive inside their manifests - mainly Export-Package and Import-Package for [...]</description>
		<content:encoded><![CDATA[<p>[...] to the bootstrapping classpath from OSGi, without bundling it. To express package dependencies, bundles use the OSGi directive inside their manifests &#8211; mainly Export-Package and Import-Package for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bundles in OSGi &#171; Sukasom</title>
		<link>http://blog.springsource.org/2008/02/18/creating-osgi-bundles/comment-page-1/#comment-114897</link>
		<dc:creator>Bundles in OSGi &#171; Sukasom</dc:creator>
		<pubDate>Mon, 28 Jul 2008 11:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/02/18/creating-osgi-bundles/#comment-114897</guid>
		<description>[...] There is a new concept called &#8220;Bundle.&#8221; A bundle is actually a group of required Java files and resouces.  It is similar to a Jar file which is a zip file containing java class file and resources. However, a Jar file does not have information about OSGi which is used for managing the software component life cycle. It allows developers to add or remove a Java component (bundle) during runtime. Read here for more info on OSGi. Costin Leau wrote a good article on Bundle. [...]</description>
		<content:encoded><![CDATA[<p>[...] There is a new concept called &#034;Bundle.&#034; A bundle is actually a group of required Java files and resouces.  It is similar to a Jar file which is a zip file containing java class file and resources. However, a Jar file does not have information about OSGi which is used for managing the software component life cycle. It allows developers to add or remove a Java component (bundle) during runtime. Read here for more info on OSGi. Costin Leau wrote a good article on Bundle. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

