Wiki source code of Deployment
Version 21.1 by David Avendasora on 2010/11/30 07:35
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
21.1 | 1 | === WebObjects Deployment Types === |
2 | |||
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 | |||
5 | ===== Standard Deployment ===== | ||
6 | |||
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 | |||
9 | * **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. | ||
10 | |||
11 | * **wotaskd** 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. | ||
12 | |||
13 | * **HTTP Adapter** is a native application that forwards requests from a web server to application instances and returns responses from instances back to the server. | ||
14 | |||
15 | * **WebServer (Apache, IIS)** | ||
16 | |||
17 | ===== Servlet Deployment (Tomcat) ===== | ||
18 | |||
19 | * Tomcat | ||
20 | * HTTP Adapter or Module | ||
21 | * WebServer (Apache, IIS) | ||
22 | |||
23 | ===== AJP Deployment ===== | ||
24 | |||
25 | * WebServer (Apache) | ||
26 | |||
27 | A deployment setup consists of 4 parts: | ||
28 | |||
29 | * Your Application | ||
30 | * wotaskd.woa | ||
31 | * JavaMonitor.woa (formally know as WOMonitor) | ||
32 | * A module for your Web server (Apache or IIS) | ||
33 | |||
34 | 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. | ||
35 | |||
36 | 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. | ||
37 | |||
38 | === Deployment Podcast === | ||
39 | |||
40 | 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. | ||
41 | |||
42 | === Differences between Apple's and Wonder's versions of the deployment tools === | ||
43 | |||
44 | wotaskd and JavaMonitor were released by Apple to the community as open source when WebObjects 5.4 was released in 2007. They were added to Wonder and improvements and bug fixes were made to the tools. We strongly suggest that you use the [[Wonder Versions>>WO:Wonder JavaMonitor and wotaskd]]. |