[wiki] New: IocContainerInternals/AdvancedStuff/ScriptingAndXmlConfigurationFiles
| Newsgroups | gmane.comp.java.jicarilla.cvs |
|---|---|
| Message-ID | <[email protected]> |
Date: 2004-03-05T23:18:14
Editor: 130.89.169.128 <>
Wiki: JicarillaWiki
Page: http://lsd.student.utwente.nl/jicarilla/IocContainerInternals_2fAdvancedStuff_2fScriptingAndXmlConfigurationFiles
no comment
New Page:
[wiki:IocContainerInternals Contents] | [wiki:IocContainerInternals/TheBasics/CommonPatterns Previous] | [wiki:IocContainerInternals/AdvancedStuff/JarsWarsSarsEarsApplicationFormats Next]
= Scripting and XML Configuration Files =
''(part of the IocContainerInternals paper)''
Well, that was a lot of talk about container internals. Let's start talking about how they interface with the application developer. In the majority of cases, this is not just pure java. Some kind of scripting language, or xml configuration files (or an xml-based scripting language), or some custom heuristic or config file, or a mix of those, is used to make the task of assembling components into a container easier.
== A code example ==
''TODO''
{{{
pure java
}}}
{{{
the same bit in groovy
}}}
{{{
the same bit in an xml config file
}}}
== Declaration or method calls ==
''TODO''
* security
* simplicity
* one hides more than the other
== Autodiscovery and autoassembly ==
''TODO''
* search for the config files (ie META-INF/web.xml)
* monitor filesystem or classloader
* a seperate topic?
== A way back? ==
''TODO''
* testable code
* flexible code
* changeable system
''TODO''
* more?
----
[wiki:IocContainerInternals Contents] | [wiki:IocContainerInternals/TheBasics/CommonPatterns Previous] | [wiki:IocContainerInternals/AdvancedStuff/JarsWarsSarsEarsApplicationFormats 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