Overview: Webshop
An example project with which you can generate a simple Shop web application.
Prerequisites
First you have to get the following:- Eclipse 3.0 (>M7) (download)
- Tomcat 5.x (download)
- openArchitectureWare plugin for Eclipse (download)
- Sysdeo Tomcat-Eclipse plugin (download)
Installation
- Install Eclipse to your favorite folder (unzipping).
- Unzip the plugins to the "plugins" folder of your Eclipse installation directory
- Install Tomcat 5.x (unzipping)
- Start Eclipse (Eclipse will generate the "workspace" dir)
- Set your Tomcat directory and version in Eclipse (In Eclipse menu: "Window" -> "Preferences" -> "Tomcat")
- Copy the projects from the sample ("webShop" and "webShopMeta") to your Eclipse "workspace" dir
- Import both projects by right clicking in the "Package Explorer" ->"Import..." -> "Existing Project into Workspace"
- Set the application context : right click on the project "webShop"->"Tomcat project"->"Update context in server.xml"
- Set your eclipsehome in the build.properties from "webShopMeta"-project -> save it
- Right clicking on the build.xml -> "run ant" -> "Run" (the default task "build")
- Now the generator reads the xmi file and generates all the code using the templates
- Now you can start Tomcat by clicking the appropriate button in the toolbar
- (Note: if you do not see three little buttons showing small, ugly cats, you should right click on the toolbar
- "Customize Toolbar..." -> "Commands" and activate the tomcat actions in that view)
- see http://localhost:8080/webShop/start.do
Screenshot

