[Embedlets-dev] Re: A few release 003 questions
Status: Alpha
Brought to you by:
tkosan
|
From: Andrzej J. T. <an...@ch...> - 2003-03-10 03:40:20
|
Ted: > Here are a few questions that came up as I have been looking through the > release 003 code: Too bad version 0.04 just got posted. <grins> > 1) In the core Embedlet build.xml file, if the 'compile' target depends on > > the 'init' target, why are the 'build.dir' and 'build.classes' > directories being made in both of these targets? Compile didn't used to depend on init, so it's just a historical artifact is all. If you try to create a directory in Ant that already exists, nothing happens, so it's not a big deal. > 2) The org.embedlet.Adapter class's Javadoc page states that 'The Adapter > class is the base class for all Embedlets'. Should 'Embedlets' here be > 'Adapters'? Yes. I fixed that and posted a new version to the CVS source tree. It is NOT fixed in the 0.04 release zip file. That's what happens when you copy/paste files sometimes. ;-) > 3) Looking at the org.embedlet.container class the following question occurred > to me: Will Embedlets be able to contain Embedlets? Nope! An embedlet has to extend the org.embedlet.Embedlet abstract class (which in turn extends org.embedlet.Component). An Embedlet is a component, which lives in and is managed by an Embedlet-compliant Container. An Embedlet does not extend org.embedlet.Container which it would have to do to contain other components (which doesn't make much sense). Only Outpost extends the Container contract. Hope this helps! Andrzej Jan Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com |