Introduction to WebObjects J2EE Programming Guide
Explains how to develop J2EE components using WebObjects and deploy WebObjects applications inside servlet containers.
Organization of This Document
The document addresses two major points, each contained in its own chapter:
Servlets explains how you develop WebObjects applications to be deployed as servlets and how to add servlet capability to existing applications.
JavaServer Pages tells you how to write JSP-based applications, which can be thought of as JSP applications that use WebObjects technology or hybrids—applications that use JSP pages to accomplish some tasks and WebObjects components or direct actions to perform others.
Special Issues addresses special issues to consider when you deploy WebObjects applications as servlets or when you develop JSP-based applications.
Document Revision History lists the revisions made to this document.
See Also
To get the most out of this document, you must be familiar with WebObjects application development. In particular, you need to know how to create applications using Project Builder and how to layout WebObjects components using WebObjects Builder.
For additional WebObjects documentation and links to other resources, visit http://developer.apple.com/webobjects .
In addition to WebObjects development experience, you also need to be acquainted with the syntax used in JSP pages and with the layout of WAR (Web Application Archive) files. You can find information about JSP and J2EE in the following documents:
Java Servlet Programming , 2nd edition (O’Reilly) provides an in-depth treatise on servlets. You can find more information at http://java.oreilly.com .
J2EE Technology in Practice (Sun) provides an overview of J2EE technology.
JavaServer Pages Technology Syntax (Sun) is a short document that describes the syntax used in JSP pages. You can download it from http://java.sun.com/products/jsp/technical.html . For more information on JSP and servlets, see http://java.sun.com/products/jsp .
Java Servlet Technology contains the latest information on Sun’s Java Servlet technology. You can view it at http://java.sun.com/products/servlet/ .
WebObjects Developer also includes a commented application project that shows you how JSP pages can take advantage of WebObjects components and direct actions. The example—using the client/server approach—includes two WebObjects application projects named SchoolToolsClient and SchoolToolsServer. The projects are located at /Developer/Examples/JavaWebObjects .
The three servlet containers supported in WebObjects are listed in Table I-1 .
Table I-1 Servlet containers supported in WebObjects
Platform
Container
Version
Mac OS X Server
Tomcat
3.2.4
Solaris
WebLogic
7.0
Windows 2000
WebSphere
4.0.4
Next
Copyright © 2002, 2005 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2005-08-11