Wiki source code of Servlet Deployment Setup
Version 15.1 by David Avendasora on 2009/04/06 08:23
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
8.1 | 1 | == Introduction == |
2 | |||
3 | WO developers have been able to deploy their applications as a WAR bundle in a J2EE container since WO 5.1, and as an independent SSDD (Servlet Single Directory Deployment) bundles and WAR files since WO 5.2. This article guides you through the simple setup in WOLips to allow you to deploy you application to a servlet container such as [[Apache Tomcat>>http://tomcat.apache.org/]]. | ||
4 | |||
5 | == Prerequisites == | ||
6 | |||
7 | 1. Eclipse 3.4 & WOLips 5640 or later [[installed>>http://wiki.objectstyle.org/confluence/display/WOL/Installing+WOLips]]. | ||
8 | 1. Servlet Container of your choice installed. For this article I'll be setting it up using a completely stock install of Tomcat 6.0.18. | ||
9 | 1. An existing WebObjects project. | ||
10 | |||
11 | == Step 1 - Project Properties == | ||
12 | |||
13 | 1. Right-Click on your project in the WO Explorer tab of the WOLips perspective in Eclipse and select "Properties" or select "Properties" from the "Project" menu. | ||
![]() |
12.1 | 14 | [[image:Picture 4.png]] |
![]() |
14.1 | 15 | 1. Select "WOLips Deployment" from the left-hand side and check the "Servlet Deployment" checkbox and the "Autogenerate web.xml" checkbox. |
16 | [[image:Picture 7.png]] |