Changes for page Deployment

Last modified by Gavin Eadie on 2013/07/02 18:57

From version 22.1
edited by David Avendasora
on 2010/11/30 02:16
Change comment: There is no comment for this version
To version 24.1
edited by David Avendasora
on 2010/11/30 07:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,24 +1,40 @@
1 -=== Introduction ===
1 +=== WebObjects Application Server Types / Deployment Styles ===
2 2  
3 -This page have child pages for information about specific deployment tasks, check the child page list at the bottom of this page.
3 +There are three ways to deploy your WebObjects Application. They all have different components and configurations, but they all take a .woa bundle.
4 4  
5 -=== Deployment Basics ===
5 +===== Standard Deployment =====
6 6  
7 -A deployment setup consists of 4 parts:
7 +This is the way 95%+ of all WebObjects applications are deployed. This is the type of deployment for which there is the most documentation for, and the most support for. It consists of 3 Major pieces:
8 8  
9 -* Your Application
10 -* wotaskd.woa
11 -* JavaMonitor.woa (formally know as WOMonitor)
12 -* A module for your Web server (Apache or IIS)
9 +* **JavaMonitor** - a Web front-end to manage your wotaskd configuration. You can use one copy of JavaMonitor to manage multiple wotaskd daemons running on different application servers.
13 13  
14 -wotaskd.woa is a daemon and is also a WebObjects application. Its main task is to start up instances of your applications when the application server is restarted. wotaskd also receives lifebeats from your application instances, if wotaskd stops receiving lifebeats after a certain amount of time, it will assume that your application is dead.
11 +* **wotaskd** - a daemon whose main task is to start up instances of your applications when the application server (host) is restarted. wotaskd also receives lifebeats from your application instances. If wotaskd stops receiving lifebeats after a certain amount of time it will assume that your application is dead.
15 15  
16 -JavaMonitor is simply a Web front-end to manage your wotaskd configuration. You can use one copy of JavaMonitor to manage multiple wotaskd daemons running on different application servers.
13 +* **HTTP Adapter** - This is an application that serves as the interface between your web server and your application instances. The HTTP adaptor routes requests from the web server to the appropriate application instance and sends the responses generated back to the web server. The adaptor does this while performing load balancing to distribute an application's users among its active instances. Load balancing helps to spread the user load of your site evenly across your application hosts.
17 17  
18 -The job of the module for your Web server is to talk to wotaskd to find the list of available applications and act as a request proxy between the browser on the client-side and your application.
15 +* **Webserver (Apache, IIS)**
19 19  
20 -Usually, people run wotaskd, JavaMonitor, their applications and the Web server on the same server, but it's also possible to run each part on different servers if needed.
17 +Usually, people run wotaskd, JavaMonitor, their applications and the Web server on the same server, but it's also possible to run each part on different servers, or to have multiple servers filling each roll if needed.
21 21  
19 +===== Servlet Deployment (Tomcat) =====
20 +
21 +* Tomcat
22 +* HTTP Adapter or Module
23 +* WebServer (Apache, IIS)
24 +
25 +===== Apache Java Protocol (AJP) Deployment =====
26 +
27 +Andrew Lindesay has written an open-source [[AJP>>http://en.wikipedia.org/wiki/Apache_JServ_Protocol]] adaptor for WebObjects 5 which should allow you to deploy your WebObjects application without servlets or the 'wotaskd' infrastructure. Such a deployment is most easily achieved with versions of the Apache HTTP server 2.2 or better as they have built-in support for load-balancing and AJP request-forwarding.
28 +
29 +This adaptor is distributed under the [[LEWOStuff>>LEWOStuff-Overview]] open-source framework. It is however stand-alone and has no direct dependency on other libraries or frameworks other than obviously WO 5. For more details on this, see the relevant section of the PDF overview supplied with the LEWOStuff framework.
30 +
31 +* AJP Adaptor
32 +* WebServer (Apache)
33 +
34 +All three of these Application Servers / Deployment Styles can run on any platform that supports Java 1.5 or later. The ones that there is documentation for are:
35 +
36 +{{children page="Platforms" sort="title"}}{{/children}}
37 +
22 22  === Deployment Podcast ===
23 23  
24 24  You can learn more about deployment by listening to the [[Practical Deployment>>http://www.wocommunity.org/podcasts/wowodc/east09/WOWODC09E-Deployment.mov]] session from WOWODC 2009, available from the [[podcast page>>http://www.wocommunity.org/webobjects_screencasts.html]] on wocommunity.org.