<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.11" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Completing the picture: Spring, OSGi, and the SpringSource Application Platform</title>
	<link>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/</link>
	<description>The voice of SpringSource</description>
	<pubDate>Thu, 24 Jul 2008 02:47:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.11</generator>

	<item>
		<title>by: jonnie savell</title>
		<link>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/#comment-105582</link>
		<pubDate>Wed, 07 May 2008 19:15:07 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/#comment-105582</guid>
					<description>hei!

i chatted with you at the booth and i have been looking at the documentation since. one thing i didn't ask about ...

context:
(1) you showed how a web application can (via spring configuration) be wired to a named service with a given interface type), the instance of which was provided by a bundle.
(2) you also showed how a bundle can import packages and bundles.

question: can a bundle import a service (according to interface type) like the application, rather than just importing a package or a bundle? obviously, the dependent bundle must import the package (associated with the service interface type) or the bundle (which contains the service interface type), but a bundle which advertises a service dependency must do more than just import a package or a bundle because it doesn't necessarily know how to do anything with that service type other than invoke methods on it.

am i making any sense?

the answer might already be out there, but i need some dope now.

-jonnie</description>
		<content:encoded><![CDATA[<p>hei!</p>
<p>i chatted with you at the booth and i have been looking at the documentation since. one thing i didn&#039;t ask about &#8230;</p>
<p>context:<br />
(1) you showed how a web application can (via spring configuration) be wired to a named service with a given interface type), the instance of which was provided by a bundle.<br />
(2) you also showed how a bundle can import packages and bundles.</p>
<p>question: can a bundle import a service (according to interface type) like the application, rather than just importing a package or a bundle? obviously, the dependent bundle must import the package (associated with the service interface type) or the bundle (which contains the service interface type), but a bundle which advertises a service dependency must do more than just import a package or a bundle because it doesn&#039;t necessarily know how to do anything with that service type other than invoke methods on it.</p>
<p>am i making any sense?</p>
<p>the answer might already be out there, but i need some dope now.</p>
<p>-jonnie
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Adrian Colyer</title>
		<link>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/#comment-105138</link>
		<pubDate>Sat, 03 May 2008 07:52:25 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/#comment-105138</guid>
					<description>[quote comment="105084"]AP - excellent idea. To demonstrate the power, is it possible to re-assemble Eclipse and run it under AP?[/quote]

Eclipse is "just" a set of bundles that run on top of Equinox. In principle therefore you could install all of the Eclipse bundles into the AP and have them run. At the heart of the AP the Equinox bundle we use is unmodified from the one that Eclipse distributes. There would be three technical considerations involved in getting this to work:

1) Creating the structure that the Eclipse bundles expect to find (plugins and features directories) under the "repository/bundles/usr" AP repository location
2) Resolving any conflicts with Equinox hooks (this one would definitely need some investigation). The reason that we can use Equinox unmodified, and that Eclipse can do the same, is that Equinox provides a large number of low-level hooks for customizing its behaviour. The AP takes advantage of these hooks to integrate its special features, and so does Eclipse. I don't know without investigation whether the two could easily co-exist.
3) Providing a "par" file to install into the AP that would bootstrap Eclipse when run (this one should be relatively easy).

Although running Eclipse the IDE on the AP would be of limited benefit (but an interesting demonstration), running Eclipse RCP applications, and especially Eclipse RAP applications is a very attractive proposition. Both of these use an OSGi-based development model and deploy most naturally to an OSGi-based runtime. This should make the AP the natural home for deploying and running Rich Internet Applications written using Eclipse RAP. We have yet to develop this support, but it is certainly a direction of interest for us.</description>
		<content:encoded><![CDATA[<p>[quote comment=&#034;105084&#034;]AP - excellent idea. To demonstrate the power, is it possible to re-assemble Eclipse and run it under AP?[/quote]</p>
<p>Eclipse is &#034;just&#034; a set of bundles that run on top of Equinox. In principle therefore you could install all of the Eclipse bundles into the AP and have them run. At the heart of the AP the Equinox bundle we use is unmodified from the one that Eclipse distributes. There would be three technical considerations involved in getting this to work:</p>
<p>1) Creating the structure that the Eclipse bundles expect to find (plugins and features directories) under the &#034;repository/bundles/usr&#034; AP repository location<br />
2) Resolving any conflicts with Equinox hooks (this one would definitely need some investigation). The reason that we can use Equinox unmodified, and that Eclipse can do the same, is that Equinox provides a large number of low-level hooks for customizing its behaviour. The AP takes advantage of these hooks to integrate its special features, and so does Eclipse. I don&#039;t know without investigation whether the two could easily co-exist.<br />
3) Providing a &#034;par&#034; file to install into the AP that would bootstrap Eclipse when run (this one should be relatively easy).</p>
<p>Although running Eclipse the IDE on the AP would be of limited benefit (but an interesting demonstration), running Eclipse RCP applications, and especially Eclipse RAP applications is a very attractive proposition. Both of these use an OSGi-based development model and deploy most naturally to an OSGi-based runtime. This should make the AP the natural home for deploying and running Rich Internet Applications written using Eclipse RAP. We have yet to develop this support, but it is certainly a direction of interest for us.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Adrian Colyer</title>
		<link>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/#comment-105136</link>
		<pubDate>Sat, 03 May 2008 07:40:18 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/#comment-105136</guid>
					<description>[quote post="324"]Question: If you're using Maven, won't you be in trouble any time you need a dependency which isn't in the repository (of which there are many and will always be many) because your artifactIds are different than the real artifact ids?[/quote]

Dan, we've updated the FAQ on the repository site itself to address this question. Please see question 13: "I currently use the public Maven 2 repository to access my Spring JARs. How does this effect me?" (http://www.springsource.com/repository/app/faq#q13) and question 14: " Can I mix use of the SpringSource Bundle Repository with other artifact repositories, for example, the public Maven 2 repository?" (). 

Hope this helps clarify things,
Regards, Adrian.</description>
		<content:encoded><![CDATA[<p>[quote post=&#034;324&#034;]Question: If you&#039;re using Maven, won&#039;t you be in trouble any time you need a dependency which isn&#039;t in the repository (of which there are many and will always be many) because your artifactIds are different than the real artifact ids?[/quote]</p>
<p>Dan, we&#039;ve updated the FAQ on the repository site itself to address this question. Please see question 13: &#034;I currently use the public Maven 2 repository to access my Spring JARs. How does this effect me?&#034; (http://www.springsource.com/repository/app/faq#q13) and question 14: &#034; Can I mix use of the SpringSource Bundle Repository with other artifact repositories, for example, the public Maven 2 repository?&#034; (). </p>
<p>Hope this helps clarify things,<br />
Regards, Adrian.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Alexander Shvets</title>
		<link>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/#comment-105084</link>
		<pubDate>Fri, 02 May 2008 20:44:58 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/#comment-105084</guid>
					<description>AP - excellent idea. To demonstrate the power, is it possible to re-assemble Eclipse and run it under AP?</description>
		<content:encoded><![CDATA[<p>AP - excellent idea. To demonstrate the power, is it possible to re-assemble Eclipse and run it under AP?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Dan Diephouse</title>
		<link>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/#comment-104970</link>
		<pubDate>Fri, 02 May 2008 00:40:42 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/#comment-104970</guid>
					<description>Question: If you're using Maven, won't you be in trouble any time you need a dependency which isn't in the repository (of which there are many and will always be many) because your artifactIds are different than the real artifact ids? For instance, I include an artifact from another repository (like some non-spring product) and it depends on commons-beanutils. Because the artifactIds are different, you'll end up with two versions of the same artifact because one of them will have an artifact id like com.springsource.commons-beanutils.</description>
		<content:encoded><![CDATA[<p>Question: If you&#039;re using Maven, won&#039;t you be in trouble any time you need a dependency which isn&#039;t in the repository (of which there are many and will always be many) because your artifactIds are different than the real artifact ids? For instance, I include an artifact from another repository (like some non-spring product) and it depends on commons-beanutils. Because the artifactIds are different, you&#039;ll end up with two versions of the same artifact because one of them will have an artifact id like com.springsource.commons-beanutils.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mik&#8217;s Blog &#187; Blog Archive &#187; SpringSource Application Platform and IDE implications</title>
		<link>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/#comment-104951</link>
		<pubDate>Thu, 01 May 2008 21:37:24 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2008/05/01/completing-the-picture-spring-osgi-and-the-springsource-application-platform/#comment-104951</guid>
					<description>[...] Tasktop Technologies has been having a great time working on these tools with SpringSource, and you can expect a lot more Eclipse-based innovation coming from both the commercial SpringSource Tool Suite and the open source SpringSource Application Platform Tools.   &#60;=&#62; [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Tasktop Technologies has been having a great time working on these tools with SpringSource, and you can expect a lot more Eclipse-based innovation coming from both the commercial SpringSource Tool Suite and the open source SpringSource Application Platform Tools.   &lt;=&gt; [&#8230;]
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
