On Saturday 29 May 2004 16:09, Eike Stepper wrote: > could anyone suggest how to componentize my code on the one hand > and to deploy parts of it to a client without merlin on the other?!
I think you first need to ask yourself; "What part of Avalon/Merlin will bring me the benefits in my system?" You mention config, logging, jmx, so let's start with that. Easiest to write off is JMX. It is a facility in Merlin, and if you don't use Merlin it is fairly difficult to instantiate it on its own. Logging; Let the components be LogEnabled (or extend AbstractLogEnabled). The client then directly instantiate a Logger, either your own or one of the simple ones, like ConsoleLogger. Configuration; Basically the same thing here. Merlin handles the server side, and on the client side, you instantiate a DefaultConfigurationBuilder and build a Configuration from whereever you stick it. This expects that you can manage the 'instantiation' on the client without problem, and don't need 'assembly' support there. Cheers Niclas -- +------//-------------------+ / http://www.bali.ac / / http://niclas.hedhman.org / +------//-------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]