<?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: What modularity can do for you (part 1)</title>
	<atom:link href="http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/</link>
	<description>Blog by a developer for a developer</description>
	<lastBuildDate>Tue, 24 Aug 2010 13:52:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: louie liu</title>
		<link>http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/comment-page-1/#comment-13332</link>
		<dc:creator>louie liu</dc:creator>
		<pubDate>Tue, 15 Sep 2009 16:01:43 +0000</pubDate>
		<guid isPermaLink="false">http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/#comment-13332</guid>
		<description>We are currently working on the jboss negotiation and seam application security configuration to allow user auto login to application.  We run into some issues.  In your comments in the following blog, you mention about have it work for  you.  I wonder if you have any blog talking about this.

http://www.coderanch.com/t/439299/JBoss/JBoss-Seam-Single-Sign

Thanks a lot.

Louie</description>
		<content:encoded><![CDATA[<p>We are currently working on the jboss negotiation and seam application security configuration to allow user auto login to application.  We run into some issues.  In your comments in the following blog, you mention about have it work for  you.  I wonder if you have any blog talking about this.</p>
<p><a href="http://www.coderanch.com/t/439299/JBoss/JBoss-Seam-Single-Sign" rel="nofollow">http://www.coderanch.com/t/439299/JBoss/JBoss-Seam-Single-Sign</a></p>
<p>Thanks a lot.</p>
<p>Louie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Recent Links Tagged With "modularity" - JabberTags</title>
		<link>http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/comment-page-1/#comment-4721</link>
		<dc:creator>Recent Links Tagged With "modularity" - JabberTags</dc:creator>
		<pubDate>Fri, 12 Dec 2008 15:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/#comment-4721</guid>
		<description>[...]   The Future of the Internet according to Jonathan Zittrain Saved by bizuri on Fri 21-11-2008   OSGi: What modularity can do for you (part 1) Saved by The3Heads on Fri 21-11-2008   BadA head structure Saved by ThereseTragedy on Tue [...]</description>
		<content:encoded><![CDATA[<p>[...]   The Future of the Internet according to Jonathan Zittrain Saved by bizuri on Fri 21-11-2008   OSGi: What modularity can do for you (part 1) Saved by The3Heads on Fri 21-11-2008   BadA head structure Saved by ThereseTragedy on Tue [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Warren</title>
		<link>http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/comment-page-1/#comment-3715</link>
		<dc:creator>Paul Warren</dc:creator>
		<pubDate>Fri, 07 Nov 2008 08:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/#comment-3715</guid>
		<description>An alternative approach to bridging the web world and the OSGi world is to use the servlet bridge (here http://www.eclipse.org/equinox/server/http_in_container.php) to embed an instance of OSGi into your web application.  

As OSGi includes a servlet container you can include static resources (HTML, js, etc), servlets, and with a bit of additional work JSPs, in your bundles just fine.   There are extension points that allows you to register you web resources with the OSGi world.  The outer &quot;servlet bridge&quot; web app contains a servlet that bridges the web appication and the OSGi instance; i.e. it forwards incoming requests to the OSGi instance.

Yes, this does mean that your standard unit of deployment is now the bundle (in the true sense of the meaning) not the .war.  Some see this as a disadvantage.  Others, including me, who understand that eventually bundles will be a standard unit of deployment into all traditional application servers see this as an advantage in that you can start getting your developers used to bundles now.  The servlet bridge can be incorprated into your web apps and you can carefully move more and more elements of your web app into the bundles.</description>
		<content:encoded><![CDATA[<p>An alternative approach to bridging the web world and the OSGi world is to use the servlet bridge (here <a href="http://www.eclipse.org/equinox/server/http_in_container.php)" rel="nofollow">http://www.eclipse.org/equinox/server/http_in_container.php)</a> to embed an instance of OSGi into your web application.  </p>
<p>As OSGi includes a servlet container you can include static resources (HTML, js, etc), servlets, and with a bit of additional work JSPs, in your bundles just fine.   There are extension points that allows you to register you web resources with the OSGi world.  The outer &#8220;servlet bridge&#8221; web app contains a servlet that bridges the web appication and the OSGi instance; i.e. it forwards incoming requests to the OSGi instance.</p>
<p>Yes, this does mean that your standard unit of deployment is now the bundle (in the true sense of the meaning) not the .war.  Some see this as a disadvantage.  Others, including me, who understand that eventually bundles will be a standard unit of deployment into all traditional application servers see this as an advantage in that you can start getting your developers used to bundles now.  The servlet bridge can be incorprated into your web apps and you can carefully move more and more elements of your web app into the bundles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/comment-page-1/#comment-2293</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 03 Sep 2008 17:24:04 +0000</pubDate>
		<guid isPermaLink="false">http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/#comment-2293</guid>
		<description>An example of use case for these web resources might be something like an Administration tool where you want to be able to add new administration areas, to include new web pages, images, behaviors, and styles by adding new modules to the application.

Thanks Jacob, I am going to check out Spring DM. Chris recommended that to me as well.</description>
		<content:encoded><![CDATA[<p>An example of use case for these web resources might be something like an Administration tool where you want to be able to add new administration areas, to include new web pages, images, behaviors, and styles by adding new modules to the application.</p>
<p>Thanks Jacob, I am going to check out Spring DM. Chris recommended that to me as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jacob.orshalick</title>
		<link>http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/comment-page-1/#comment-2290</link>
		<dc:creator>jacob.orshalick</dc:creator>
		<pubDate>Wed, 03 Sep 2008 13:59:49 +0000</pubDate>
		<guid isPermaLink="false">http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/#comment-2290</guid>
		<description>&lt;blockquote cite=&quot;Mike&quot;&gt;does OSGI provide any support for modules with web resources?&lt;/blockquote&gt;

Yes, war projects can be modules, but to get them working with the servlet container takes a bit of work (due to class-loading constraints).  Spring DM 1.1 supports this, see &lt;a href=&quot;http://static.springframework.org/osgi/docs/1.1.1/reference/html/web.html&quot; rel=&quot;nofollow&quot;&gt;Chapter 8. Web Support&lt;/a&gt;.

&lt;blockquote cite=&quot;Mike&quot;&gt;can I drop in a new module and have new pages added to my web application?  I would think this means that new classes are being added to the classpath as well as new resources, such as jsp, images, javascripts, and stylesheets would need to be added to the application’s web root.&lt;/blockquote&gt;

From what I&#039;m aware of, there isn&#039;t support for this at the moment (really outside of the scope of a standard war deployment), although I certainly think what you are looking for would be quite useful.  In fact I have a client that would love to have this ;)  Not sure how you would achieve this off hand with a standard war deployment.  Did you have any ideas?

You could always ping the &lt;a href=&quot;http://forum.springframework.org/forumdisplay.php?f=43&quot; rel=&quot;nofollow&quot;&gt;forums for Spring DM&lt;/a&gt; and find out if there are plans for support of something similar.</description>
		<content:encoded><![CDATA[<blockquote cite="Mike"><p>does OSGI provide any support for modules with web resources?</p></blockquote>
<p>Yes, war projects can be modules, but to get them working with the servlet container takes a bit of work (due to class-loading constraints).  Spring DM 1.1 supports this, see <a href="http://static.springframework.org/osgi/docs/1.1.1/reference/html/web.html" rel="nofollow">Chapter 8. Web Support</a>.</p>
<blockquote cite="Mike"><p>can I drop in a new module and have new pages added to my web application?  I would think this means that new classes are being added to the classpath as well as new resources, such as jsp, images, javascripts, and stylesheets would need to be added to the application’s web root.</p></blockquote>
<p>From what I&#8217;m aware of, there isn&#8217;t support for this at the moment (really outside of the scope of a standard war deployment), although I certainly think what you are looking for would be quite useful.  In fact I have a client that would love to have this <img src='http://solutionsfit.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   Not sure how you would achieve this off hand with a standard war deployment.  Did you have any ideas?</p>
<p>You could always ping the <a href="http://forum.springframework.org/forumdisplay.php?f=43" rel="nofollow">forums for Spring DM</a> and find out if there are plans for support of something similar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/comment-page-1/#comment-2268</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 02 Sep 2008 01:54:15 +0000</pubDate>
		<guid isPermaLink="false">http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/#comment-2268</guid>
		<description>Jacob, does OSGI provide any support for modules with web resources? For example, can I drop in a new module and have new pages added to my web application? I would think this means that new classes are being added to the classpath as well as new resources, such as jsp, images, javascripts, and stylesheets would need to be added to the application&#039;s web root. Is there any support for this by any OSGI container or tool?

Nice graphics. Appropriate, subtle, and attractive.</description>
		<content:encoded><![CDATA[<p>Jacob, does OSGI provide any support for modules with web resources? For example, can I drop in a new module and have new pages added to my web application? I would think this means that new classes are being added to the classpath as well as new resources, such as jsp, images, javascripts, and stylesheets would need to be added to the application&#8217;s web root. Is there any support for this by any OSGI container or tool?</p>
<p>Nice graphics. Appropriate, subtle, and attractive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/comment-page-1/#comment-2221</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 28 Aug 2008 14:25:22 +0000</pubDate>
		<guid isPermaLink="false">http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/#comment-2221</guid>
		<description>That&#039;s great and all but can I use Seam to generate my stateful entities?

Good job on the OSGi intro. :)</description>
		<content:encoded><![CDATA[<p>That&#8217;s great and all but can I use Seam to generate my stateful entities?</p>
<p>Good job on the OSGi intro. <img src='http://solutionsfit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jacob.orshalick</title>
		<link>http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/comment-page-1/#comment-2219</link>
		<dc:creator>jacob.orshalick</dc:creator>
		<pubDate>Thu, 28 Aug 2008 13:15:41 +0000</pubDate>
		<guid isPermaLink="false">http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/#comment-2219</guid>
		<description>Good to hear from you Peter!  Thanks for the clarification here.  I have updated the posting to reflect this point.  I have been using Spring DM for OSGi wiring up to this point but I will certainly take a look into the other options you suggested as well.  Please let me know if you have any further comments, they are much appreciated.</description>
		<content:encoded><![CDATA[<p>Good to hear from you Peter!  Thanks for the clarification here.  I have updated the posting to reflect this point.  I have been using Spring DM for OSGi wiring up to this point but I will certainly take a look into the other options you suggested as well.  Please let me know if you have any further comments, they are much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Kriens</title>
		<link>http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/comment-page-1/#comment-2218</link>
		<dc:creator>Peter Kriens</dc:creator>
		<pubDate>Thu, 28 Aug 2008 09:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://solutionsfit.com/blog/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/#comment-2218</guid>
		<description>Very nice introduction! Just one thing, service are &lt;em&gt;NOT&lt;/em&gt; proxied by the framework. You directly use the object registered by the other bundle. To support the dynamism, the user of the code must clean up when the service disappears. Though this sounds like a tad of unwanted work, there are many helpers like ServiceTracker, iPOJO, Spring-DM, Declarative Services, etc. that makes handling these dependencies trivial. Several of these helper systems use proxies.

We tried to keep the spec as minimal as possible guaranteeing interoperability, allowing others to provide competing products to make it easier because this is so often in the eye of the beholder. 

Thanks for the article! Kind regards,

   Peter Kriens</description>
		<content:encoded><![CDATA[<p>Very nice introduction! Just one thing, service are <em>NOT</em> proxied by the framework. You directly use the object registered by the other bundle. To support the dynamism, the user of the code must clean up when the service disappears. Though this sounds like a tad of unwanted work, there are many helpers like ServiceTracker, iPOJO, Spring-DM, Declarative Services, etc. that makes handling these dependencies trivial. Several of these helper systems use proxies.</p>
<p>We tried to keep the spec as minimal as possible guaranteeing interoperability, allowing others to provide competing products to make it easier because this is so often in the eye of the beholder. </p>
<p>Thanks for the article! Kind regards,</p>
<p>   Peter Kriens</p>
]]></content:encoded>
	</item>
</channel>
</rss>
