Echo Application Archetypes

I've put together two Maven Archetypes which can be used to create starter Echo projects. You will need Maven installed from the command line. Mac OS X 10.5+ users should be all set. Windows users will require a Maven installation.

NB: If you've never used Maven before, it will download *A LOT* of plugins on the first run. Also, I've only run this from my own host, so if there are libraries missing from the 'informagen.org' repository. Please let me know!

These projects are built on a thin Echo-WebApp Framework which I've developed. The source and documentation will be posted on informagen.org at some point.

Usage

The first four'-D' parameters used by the Maven archetype:create command are used to select the archetype from the specified server, these parameters should not be changed.

The last three parameters, 'groupId', 'artifactId' and 'version' are be used to specific your new application's package name, project name and initial version number. The values given are given as examples.

The parameters have been seperated, one per line using the backslash character. This is done for readability and is not a requirement.

Each application generated implements the 'Number Guessing Game' described in the on-line Echo documentation. Use these classes as a starting point or delete them.

Simple Application

The Number Guessing game described in the Echo documentation.

              $ mvn archetype:create \
                -DarchetypeGroupId=informagen.archetype \
                -DarchetypeArtifactId=echo-simple \
                -DarchetypeVersion=1.0.0 \
                -DremoteRepositories=http://informagen.org/maven \
                -DgroupId=my.project.name \
                -DartifactId=MyProjectName \
                -Dversion=1.0.0
               
              $ cd MyProjectName
              $ mvn jetty:run
            

From your browser: http://localhost:9090/MyProjectName/

Modified MVC Application

The Number Guessing game which uses an MVC Framework developed by Informagen. The source course for this framework will posted on this site soon.

            
              $ mvn archetype:create \
                -DarchetypeGroupId=informagen.archetype \
                -DarchetypeArtifactId=echo-mvc \
                -DarchetypeVersion=1.0.0 \
                -DremoteRepositories=http://informagen.org/maven \
                -DgroupId=my.project.name \
                -DartifactId=MyProjectName \
                -Dversion=1.0.0
               
              $ cd MyProjectName
              $ mvn jetty:run
            

From your browser: http://localhost:9090/MyProjectName/