Re: [Embedlets-dev] Hey Andrzej, what do you think about this PicoContainer?
Status: Alpha
Brought to you by:
tkosan
|
From: Gregg G. W. <gr...@sk...> - 2003-07-04 13:50:12
|
>Ted Kosan wrote, On 02/07/2003 23.34: > >> Topic tags:[ARCH][JAPL][WIRING][DOCS][MGMT][STRATEGY][NEWBIE] >> _______________________________________________ >> >> Hey Andrzej, >> >> what do you think about this PicoContainer? >> >> http://www.picocontainer.org Nicco Responded >It's still in a very early stage, I'd personally advise to not endorse >it still. On the other hand, it's important that patterns seen there are >also taken into account as possibilities. > >BTW, the "type1,2,3" IOC is totally made up, they invented that strange >definition ;-) This work seems to be a close proximity to the notions of the Configuration class in the Jini2.0 distribution. In the ConfigurationFile implementation, they have provided a Java expression parser so that you can initialize and lace together a deployment with code. my.package.object1 { file = "myfile.ser"; exporter = new JrmpExporter(); } my.package.object2 { cnt = new Integer(42); exporter = new MyJeriExporter(); } The expressions are all evaluated using introspection. The result is that as a developer, you are completely free of all these myriad of decisions about deployment strategies related to protocols, ports, addresses etc. The deployer gets to decide that stuff, and can reconfigure at will. The result is extreme flexibility that is very powerful! ----- gr...@cy... (Cyte Technologies Inc) |