[CVS site] words
Paul Hammant <paul-yCVjj/[email protected]> Tue, 10 Feb 2004 14:23:10 -0600
| Newsgroups | gmane.comp.java.nanocontainer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit in site/docs on MAIN
index.html +7 -8 1.3 -> 1.4
words
----------
site /docs
index.html 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- index.html 10 Feb 2004 07:54:42 -0000 1.3
+++ index.html 10 Feb 2004 20:23:10 -0000 1.4
@@ -1,23 +1,22 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
- <title>NanoContainer homepage</title>
+ <title>NanoContainer</title>
</head>
<body>
<h2>Introduction</h2>
-NanoContainer is is a script enabled front end for <a
+NanoContainer is a script-enabled front end for <a
href="http://www.picocontainer.org">PicoContainer</a>. Tree of
-components can be composing using :<br>
+components can be composed using :<br>
<ol>
- <li>A General scripting language like Jython, Javascript (Rhino),
-Beanshell, Groovy and even XML (our syntax).</li>
- <li>Via reflection in do-it-yourself component by component way </li>
+ <li>Built in support for general scripting languages like Jython,
+Javascript (Rhino), Beanshell, Groovy and even XML (our syntax).</li>
+ <li>Via reflection in do-it-yourself component by component way. </li>
<li>To an open builder API for bespoke script design (we have a
-Servlet sub-project that uses this)</li>
+Servlet sub-project that uses this in conjuction with web.xml).</li>
</ol>
<br>
Note - We're deliberately trying to be language agnostic here.<br>
-<br>
<h2>General Script Examples</h2>
<h3>Groovy</h3>
<pre>class MyContainerBuilder {<br> buildContainer(parent, assemblyScope) {<br> pico = new org.picocontainer.defaults.DefaultPicoContainer(parent)<br> pico.registerComponentImplementation(org.nanocontainer.testmodel.DefaultWebServerConfig)<br> pico.registerComponentImplementation(org.nanocontainer.testmodel.WebServerImpl)<br> return pico<br> }<br>}</pre>