Table of Contents Previous Section
How WebObjects Applications Work
WebObjects applications come in two flavors, depending on how much processing you plan to do on the client's computer. Server-based WebObjects applications run entirely on the server, handling HTTP requests and generating HTML pages. Applications that are based on WebObjects' Java Client technology pass objects directly between the server and the client. Although you can construct hybrid applications that use both technologies, for purposes of explanation it's simpler to keep the two technologies separate.
Server-Based WebObjects Applications
When you run a WebObjects application, it communicates with the web browser through the chain of processes shown in Figure 4.
Figure 4. Chain of Communication Between the Browser and an HTML-based WebObjects Application
- A Web server. Any HTTP server that uses the Common Gateway Interface (CGI), the Netscape Server API (NSAPI), the Internet Server API (ISAPI), or the Apache API. Although (usually) necessary for deployment, you don't actually need a web server while you develop your WebObjects applications.
- A WebObjects adaptor . A WebObjects adaptor connects WebObjects applications to the web by acting as an intermediary between web applications and HTTP servers.
- A WebObjects application process. The application process receives incoming requests and responds to them, usually by returning a dynamically-generated HTML page. You can run multiple instances of this process if one instance is insufficient to handle the application load.
Table of Contents Next Section