[wiki] New: IocContainerInternals/TheBasics/CommonPatterns
| Newsgroups | gmane.comp.java.jicarilla.cvs |
|---|---|
| Message-ID | <[email protected]> |
Date: 2004-03-05T23:11:07 Editor: 130.89.169.128 <> Wiki: JicarillaWiki Page: http://lsd.student.utwente.nl/jicarilla/IocContainerInternals_2fTheBasics_2fCommonPatterns no comment New Page: [wiki:IocContainerInternals Contents] | [wiki:IocContainerInternals/TheBasics/TheSmartHashMap Previous] | [wiki:IocContainerInternals/AdvancedStuff/ScriptingAndXmlConfigurationFiles Next] = Common Patterns = ''(part of the IocContainerInternals paper)'' By now we've seen quite a few of the basic concepts that exist, in some form, inside just about every IoC container. We've seen some sample interfaces and some sample code that provide hints at possible ways to model a container. Let's take a look at some of the patterns and choices that are used in containers. These are not really design patterns, but they are about architecture. == Component type assumptions == ''TODO'' * some kind of spec. Explain how assumptions like only dealing with... * javabean * avalon component * dependency injection * servlet * JMX aware * JNDI aware * ... ...can simplify things. == Caching limitations == ''TODO'' * support subset of all possible caching setups. (move from previous page) -- or -- * coding pattern to delegate caching setups elsewhere (helper or directly to the component) == Concept merging == ''TODO'' * union of factory & container (spring is good example) * union of container with embeddor (merlin+repository is good example) * union of unnamed features and plumbing with the container (ie classloading, metadata) * union of protocol handling with the container (ie servlets) == Facades, frontends and helpers == ''TODO'' * providing simpler interface * isolate assembler from complexities * purposefully limit choice * model frontend like * an assembler (merlin) * builder (pico) * manager+config (fortress) * embeddor (phoenix) ...is all much the same ---- [wiki:IocContainerInternals Contents] | [wiki:IocContainerInternals/TheBasics/TheSmartHashMap Previous] | [wiki:IocContainerInternals/AdvancedStuff/ScriptingAndXmlConfigurationFiles Next] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click