Aaron, You might be right, there might be examples which we can't find.
>* Establish a container [Merlin and/or Fortress] in a simple main > method and get some simple output form a service I think Merlin CLI already does that. But the guts of CLI are not typically exposed to a beginner. So if we have an example which just has the simple CLI functionality of loading Merlin Kernel, without all the other code for handling various command line arguments, it would make understanding the Avalon embedding far simpler to beginners. And I think we should keep Merlin and Fortress separate here, cause you understand the nuances, but mixing these would make things harder for beginners. If a separate example for Fortress could be presented also, then more power to you. >* A simple Swing application in which some frame class accesses > components via an embedded container Exactly. It doesn't necessarily has to be a swing class, but again more power to you. Basically any class which is not a component but has a starting point like a main method access the methods of the components loaded within the embedded Merlin Kernel > * A simple webapp which starts up a container and then has a second servlet access services via the container Yeah, very right. This would take things to the next level. I know you use Fortress a lot, but if Merlin is the is the latest and the greatest then such examples preferably should use Merlin only. Or there should be distinction between examples using Merlin and Fortress. And thanks a lot for your assistance. I think these examples would help beginners a lot. Vikas -----Original Message----- From: J Aaron Farr [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 12:20 PM To: Avalon framework users Subject: RE: Accessing components from Non components Matthews and Vikas, Let me make sure I understand. Would some examples which show the following satisfy your needs: * Establish a container [Merlin and/or Fortress] in a simple main method and get some simple output form a service * A simple Swing application in which some frame class accesses components via an embedded container * A simple webapp which starts up a container and then has a second servlet access services via the container Examples like this are around in CVS but I can understand if you're having a hard time finding them or understanding them. Before I go ahead and put together these examples, I want to make sure they would satisfy your questions. -- jaaron <http://jadetower.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
