<?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: Running Spring Applications on OSGi with the SpringSource Application Platform</title>
	<atom:link href="http://blog.springsource.org/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.org/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/</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: vishalj</title>
		<link>http://blog.springsource.org/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/comment-page-1/#comment-167104</link>
		<dc:creator>vishalj</dc:creator>
		<pubDate>Tue, 26 May 2009 14:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/#comment-167104</guid>
		<description>Hi Rob,

So Struts code (in repository) instantiates action classes(my appliction code) using TCCL ?</description>
		<content:encoded><![CDATA[<p>Hi Rob,</p>
<p>So Struts code (in repository) instantiates action classes(my appliction code) using TCCL ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudheer Krishna</title>
		<link>http://blog.springsource.org/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/comment-page-1/#comment-167103</link>
		<dc:creator>Sudheer Krishna</dc:creator>
		<pubDate>Tue, 26 May 2009 12:33:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/#comment-167103</guid>
		<description>Then how is teh Struts code (in repository) able to instantiate action classes(my application code) in pickup ?

Isnt it through TCCL ?</description>
		<content:encoded><![CDATA[<p>Then how is teh Struts code (in repository) able to instantiate action classes(my application code) in pickup ?</p>
<p>Isnt it through TCCL ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Harrop</title>
		<link>http://blog.springsource.org/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/comment-page-1/#comment-167098</link>
		<dc:creator>Rob Harrop</dc:creator>
		<pubDate>Tue, 26 May 2009 12:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/#comment-167098</guid>
		<description>That really depends on what thread you are on and what the entry point to your unit of work is.

For single bundle web applications, the TCCL is the CL of the bundle itself. For other units of work that are dispatched by dm Server the same is true. For user-created threads, the TCCL is effectively unknown.

Rob</description>
		<content:encoded><![CDATA[<p>That really depends on what thread you are on and what the entry point to your unit of work is.</p>
<p>For single bundle web applications, the TCCL is the CL of the bundle itself. For other units of work that are dispatched by dm Server the same is true. For user-created threads, the TCCL is effectively unknown.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vishalj</title>
		<link>http://blog.springsource.org/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/comment-page-1/#comment-167097</link>
		<dc:creator>vishalj</dc:creator>
		<pubDate>Tue, 26 May 2009 12:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/#comment-167097</guid>
		<description>Thanks 

out of curiosity ,what is TCCL set to for each bundle and what all is visible to it</description>
		<content:encoded><![CDATA[<p>Thanks </p>
<p>out of curiosity ,what is TCCL set to for each bundle and what all is visible to it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Harrop</title>
		<link>http://blog.springsource.org/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/comment-page-1/#comment-167096</link>
		<dc:creator>Rob Harrop</dc:creator>
		<pubDate>Tue, 26 May 2009 12:05:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/#comment-167096</guid>
		<description>That output means that the TCCL is the CL for one of your bundles, not the dm Server generated CL. To take advantage of the TCCL support you need to package all your bundles inside a PAR file and then deploy them that way.

You can find information on PAR files in the Programmer&#039;s Guide: http://static.springsource.com/projects/dm-server/1.0.x/programmer-guide/html/ch05s02.html#developing-applications-packaging-par

Rob</description>
		<content:encoded><![CDATA[<p>That output means that the TCCL is the CL for one of your bundles, not the dm Server generated CL. To take advantage of the TCCL support you need to package all your bundles inside a PAR file and then deploy them that way.</p>
<p>You can find information on PAR files in the Programmer&#039;s Guide: <a href="http://static.springsource.com/projects/dm-server/1.0.x/programmer-guide/html/ch05s02.html#developing-applications-packaging-par" rel="nofollow">http://static.springsource.com/projects/dm-server/1.0.x/programmer-guide/html/ch05s02.html#developing-applications-packaging-par</a></p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vishalj</title>
		<link>http://blog.springsource.org/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/comment-page-1/#comment-167095</link>
		<dc:creator>vishalj</dc:creator>
		<pubDate>Tue, 26 May 2009 12:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/#comment-167095</guid>
		<description>This is my scenario

I have three bundles in all 
Bundle datalayer with the export of package of abc.xyz 

Bundle JMS with a class MYListener(being exported)
in the constructor of MYListener i am trying to get the instance of abc.xyz.MyClass 
Thread.currentThread().getContextClassLoader().loadClass(
		&quot;abc.xyz.MyClass&quot;).newInstance();

Bundle PAX with a class MYClass where in init block i am getting new instance of MYListener using new MYListener();

When i printed the TCCL 
	System.out.println(Thread.currentThread().getContextClassLoader());

it came out to be BundleDelegatingClassLoader  for [PAX Bundle (PAX)]</description>
		<content:encoded><![CDATA[<p>This is my scenario</p>
<p>I have three bundles in all<br />
Bundle datalayer with the export of package of abc.xyz </p>
<p>Bundle JMS with a class MYListener(being exported)<br />
in the constructor of MYListener i am trying to get the instance of abc.xyz.MyClass<br />
Thread.currentThread().getContextClassLoader().loadClass(<br />
		&#034;abc.xyz.MyClass&#034;).newInstance();</p>
<p>Bundle PAX with a class MYClass where in init block i am getting new instance of MYListener using new MYListener();</p>
<p>When i printed the TCCL<br />
	System.out.println(Thread.currentThread().getContextClassLoader());</p>
<p>it came out to be BundleDelegatingClassLoader  for [PAX Bundle (PAX)]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Harrop</title>
		<link>http://blog.springsource.org/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/comment-page-1/#comment-167094</link>
		<dc:creator>Rob Harrop</dc:creator>
		<pubDate>Tue, 26 May 2009 11:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/#comment-167094</guid>
		<description>Are all your bundles in the same PAR? 

Where in time are you accessing the TCCL?

Can you write the the toString() of the TCCL out to console? This contains relevant information about which loader is being used.</description>
		<content:encoded><![CDATA[<p>Are all your bundles in the same PAR? </p>
<p>Where in time are you accessing the TCCL?</p>
<p>Can you write the the toString() of the TCCL out to console? This contains relevant information about which loader is being used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Harrop</title>
		<link>http://blog.springsource.org/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/comment-page-1/#comment-167092</link>
		<dc:creator>Rob Harrop</dc:creator>
		<pubDate>Tue, 26 May 2009 11:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/#comment-167092</guid>
		<description>You mention that you have a bundle importing &#039;abc.xyz&#039; but not where it is exported from. The CCL will import all exported packages for all bundles in a PAR file but not for all bundles across the framework.

Rob</description>
		<content:encoded><![CDATA[<p>You mention that you have a bundle importing &#039;abc.xyz&#039; but not where it is exported from. The CCL will import all exported packages for all bundles in a PAR file but not for all bundles across the framework.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vishalj</title>
		<link>http://blog.springsource.org/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/comment-page-1/#comment-167090</link>
		<dc:creator>vishalj</dc:creator>
		<pubDate>Tue, 26 May 2009 10:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/#comment-167090</guid>
		<description>hi does this classloader have visibility to the other classes in the bundle</description>
		<content:encoded><![CDATA[<p>hi does this classloader have visibility to the other classes in the bundle</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SpringSource Team Blog &#187; SpringSource dm Server 1.0.0 reaches GA</title>
		<link>http://blog.springsource.org/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/comment-page-1/#comment-123316</link>
		<dc:creator>SpringSource Team Blog &#187; SpringSource dm Server 1.0.0 reaches GA</dc:creator>
		<pubDate>Tue, 30 Sep 2008 20:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/main/2008/05/02/running-spring-applications-on-osgi-with-the-springsource-application-platform/#comment-123316</guid>
		<description>[...] and the engineering team for getting this very substantial release out. The team had to solve some tricky issues to make deployment of standard WAR files on the dm Server seamless. In particular, I commend the [...]</description>
		<content:encoded><![CDATA[<p>[...] and the engineering team for getting this very substantial release out. The team had to solve some tricky issues to make deployment of standard WAR files on the dm Server seamless. In particular, I commend the [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

