strolch/strolch_minimal_rest
Robert von Burg acd679636a [New] Added strolch_minimal and strolch_minimal_rest projects
- These projects are the most simple versions of Strolch application
which can be created.
- strolch_minimal is a console based Java SE application
- strolch_minimal_rest is a servlet based web application running on
Tomcat 8. Once started a rest service is available:
  http://localhost:8080/strolch_minimal/rest/greetings?name=eitch
2015-07-09 14:51:06 +02:00
..
src/main [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00
.classpath [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00
.gitignore [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00
README.md [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00
contributors.txt [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00
pom.xml [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00

README.md

Strolch Minimal Rest

A minimal Strolch project for Restful Applications which builds using Maven and the end result starts a servlet based web application which runs in e.g. Apache Tomcat 8.0

Build

On the console run: $ mvn clean package -Dstrolch.env=dev This creates a WAR in target/strolch_minimal.war

Run

Copy the WAR to your webapps/ folder in Tomcat and start Tomcat. If everything goes find, then you should find a line as follows: ComponentContainerImpl start - strolch_minimal_rest:dev All 4 Strolch Components started. Strolch is now ready to be used. Have fun =))

Eclipse

One should only need to add the web application to a server configuration.