> -----Original Message-----
> From: Timothy Bennett [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: [merlin] Container vs. Application
>
> As I'm trying to get my head around merlin, it seems to me that a merlin
> "container" definition is similar in concept and function to which known
> as
> an application (deployed in the form of a SAR) in phoenix. Is this a fair
> comparison? They both have classloaders and component definitions with
> configurations and assemblies.
Yes.
Container [Merlin] = Block [Phoenix]
Approximately of course.
> With regard to merlin containers, is it possible to have multiple
> container
> definitions within the same XML descriptor file? If so, under what design
> circumstances would it be to deploy some components in one container, and
> other components in a different container. I can assume that each
> container
> would have its own classloader, which has benefits, but are there other
> benefits? Can components deployed in one container access the services of
> components deployed in a different container via service manager lookup?
> If
> so, is there anything special that needs to be done programmatically, or
> does the kernel take care of managing this for you auto-magically?
I think what you're looking for is in the composition tutorial.
Basically, you can 'import' components and containers into your root
container.
See http://avalon.apache.org/sandbox/merlin/starting/advanced/composite.html
J. Aaron Farr
SONY ELECTRONICS
DDP-CIM
(724) 696-7653
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]