<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://eclipse.dzone.com"  xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dz="http://www.developerzone.com/modules/dz/1.0">
<channel>
 <title>Eclipse Zone - Comments for &quot;Is There a Place for OSGi  in Enterprise Application Development? (Part 2)&quot;</title>
 <link>http://eclipse.dzone.com/news/there-place-osgi-enterprise-ap-0</link>
 <description>Comments for &quot;Is There a Place for OSGi  in Enterprise Application Development? (Part 2)&quot;</description>
 <language>en</language>
<item>
 <title>Aslam,Interesting</title>
 <link>http://eclipse.dzone.com/news/there-place-osgi-enterprise-ap-0#comment-2498</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Aslam,&lt;/p&gt;&lt;p&gt;Interesting article. &lt;/p&gt;&lt;p&gt;Your observation about the danger of inadvertently increasing complexity through modularization is I believe quite valid; especially for operations if they are expected to manage complex runtime assemblies.&lt;/p&gt;&lt;p&gt;The Infiniflow Enterprise OSGi runtime (see www.paremus.com) explicitly avoids this issue via enforcing a model driven approach, using SCA (Service Component Architecture) to define the runtime structure; the structural elements then dynamically instantiated from the relevant OSGi artifacts; see also the open source project newton.codecauldron.org.&lt;/p&gt;&lt;p&gt;The result, an OSGi based dynamic composite systems which are simpler to manage than traditional counterparts; primarily because at every point in time the runtime assembly is uniquely defined by, and can only be changed via, it&#039;s corresponding SCA model.&lt;/p&gt;&lt;p&gt;For those interested - the associated open source project Newton may be found at newton.codecauldron.org, along with several Newton related community projects. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Richard&lt;/p&gt;</description>
 <pubDate>Tue, 08 Apr 2008 06:55:38 -0400</pubDate>
 <dc:creator>rn82497</dc:creator>
 <guid isPermaLink="false">comment 2498 at http://eclipse.dzone.com</guid>
</item>
<item>
 <title>Just a quick clarification</title>
 <link>http://eclipse.dzone.com/news/there-place-osgi-enterprise-ap-0#comment-2454</link>
 <description>&lt;!--paging_filter--&gt;Just a quick clarification on DDD&#039;s bounded contexts and modules before I get shot down in flames :-)

In DDD terms, bounded contexts are not modules!  Bounded contexts are may be created around team structures, system boundaries and other demarcations.  However, the one of the areas in strategic design is the creation of bounded contexts and after some refactoring to deeper models, conceptual contours around specific parts of your problem domain will emerge.  Also, when you start distilling your core domain the sub-domains __may__ become candidates for modules.

In my experience, strategic design techniques from the world DDD is an excellent mechanism for discovery of modules.

Cheers,
Aslam</description>
 <pubDate>Mon, 07 Apr 2008 10:42:16 -0400</pubDate>
 <dc:creator>aslamkhn</dc:creator>
 <guid isPermaLink="false">comment 2454 at http://eclipse.dzone.com</guid>
</item>
<item>
 <title>Hi Andrew,

Thanks for the</title>
 <link>http://eclipse.dzone.com/news/there-place-osgi-enterprise-ap-0#comment-2453</link>
 <description>&lt;!--paging_filter--&gt;Hi Andrew,

Thanks for the kind words :-)

The idea is to expose only the classes in packages in a bundle.  The cleaner approach is to expose Java interfaces instead of classes so that other bundles that &quot;import&quot; the &quot;exported&quot; interfaces really don&#039;t need to know about implementation specifics.
You cannot expose XML configurations (or other forms of configurations, i.e. non-Java classes) because it will never be &quot;loaded&quot; by the OSGi class loader.  However, the classes in your bundle can access anything on the classpath specified for the bundle, even if it is tucked away from public access deep in your bundle.

A workaround may be to setup some custom attributes in your bundle and then dig around the OSGi API to exploit this.  This sounds like a hack and I am certain that a more elegant solution to expose XML configuration via a class may be cleaner.

Cheers,
Aslam</description>
 <pubDate>Mon, 07 Apr 2008 10:34:40 -0400</pubDate>
 <dc:creator>aslamkhn</dc:creator>
 <guid isPermaLink="false">comment 2453 at http://eclipse.dzone.com</guid>
</item>
<item>
 <title>thanks for the 2nd article.</title>
 <link>http://eclipse.dzone.com/news/there-place-osgi-enterprise-ap-0#comment-2445</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;thanks for the 2nd article.  very helpful.&lt;/p&gt;&lt;p&gt; just a quick question -- does OSGi allow exporting and controlling of meta-data as well as packages etc?  i.e. to export some xml config and keep some separate?  Or is the idea that you put it into packages to control it? &lt;/p&gt;&lt;p&gt;Cheers,&lt;br /&gt;Andrew &lt;/p&gt;</description>
 <pubDate>Mon, 07 Apr 2008 06:36:38 -0400</pubDate>
 <dc:creator>andrewm</dc:creator>
 <guid isPermaLink="false">comment 2445 at http://eclipse.dzone.com</guid>
</item>
</channel>
</rss>
