Development -- table of contents
4: Developing applications
Model and environment
4.1: Programming model and environment
4.1.1: Finding supported specifications
4.1.1.1: Supported programming languages
4.1.1.2: Supported XML/XSL APIs and specifications
4.1.2: Tools for developing Web applications
4.1.2.1: IBM Distributed Debugger and Object Level Trace
4.1.2.2: Tips for using VisualAge for Java
4.1.2.3: Tips for using IBM WebSphere Studio
4.2: Building Web applications
Servlets
4.2.1: Developing servlets
4.2.1.1: Servlet lifecycle
4.2.1.2: Servlet support and environment in WebSphere
4.2.1.2.1: Features of Java Servlet API 2.1
4.2.1.2.1a: Features of Java Servlet API 2.2
4.2.1.2.2: IBM extensions to the Servlet API
4.2.1.2.3: Using the WebSphere servlets for a head start
Avoiding the security risks of invoking servlets by class name
4.2.1.2.3b: Security risk example of invoking servlets by class name
4.2.1.3: Servlet content, examples, and samples
4.2.1.3.1: Creating HTTP servlets
Overriding HttpServlet methods
4.2.1.3.2: Inter-servlet communication
Forwarding and including data (request and response)
Example: Servlet communication by forwarding
4.2.1.3.3: Using page lists to avoid hard coding URLs
Obtaining and using servlet XML configuration files (.servlet files)
Extending PageListServlet
Example: Extending PageListServlet
Using XMLServletConfig to create .servlet configuration files
XML servlet configuration file syntax (.servlet syntax)
Example: XML servlet configuration file
4.2.1.3.4: Filtering and chaining servlets
Servlet filtering with MIME types
Servlet filtering with servlet chains
4.2.1.3.5: Enhancing servlet error reporting
Public methods of the ServletErrorReport class
Example JSP file for handling application errors
4.2.1.3.6: Serving servlets by classname
4.2.1.3.7: Serving all files from application servers
4.2.1.3.8: Obtaining the Web application classpath from within a servlet
JSP files
4.2.2: Developing JSP files
4.2.2.1: JavaServer Pages (JSP) lifecycle
4.2.2.1a: JSP access models
4.2.2.2: JSP support and environment in WebSphere
4.2.2.2.1: JSP support for separating logic from presentation
4.2.2.2.2: JSP processors
4.2.2.2.3: Java Server Page attributes
4.2.2.2.4: Batch compiling JSP files
Compiling JSP .91 files as a batch
Compiling JSP 1.0 files as a batch
4.2.2.3: Overview of JSP file content
4.2.2.3.1: JSP syntax: JSP directives
4.2.2.3.2: JSP syntax: Class-wide variables and methods
4.2.2.3.3: JSP syntax: Inline Java code (scriptlets)
4.2.2.3.4: JSP syntax: Java expressions
4.2.2.3.5: JSP syntax: useBean tags
JSP syntax: <useBean> tag syntax
JSP .91 syntax: <BEAN> tag syntax
JSP syntax: Accessing bean properties
JSP .91 syntax: Accessing bean properties
JSP syntax: Setting useBean properties
JSP .91 syntax: Setting bean properties
4.2.2.3.5a: JSP .91 syntax: BEAN tags
4.2.2.3.6: Supported NCSA tag reference
4.2.2.3.7: IBM extensions to JSP syntax
JSP syntax: Tags for variable data
JSP syntax: <tsx:getProperty> tag syntax and examples
JSP syntax: <tsx:repeat> tag syntax
JSP syntax: The repeat tag results set and the associated bean
JSP syntax: Tags for database access
JSP syntax: <tsx:dbconnect> tag syntax
JSP syntax: <tsx:userid> and <tsx:passwd> tag syntax
JSP syntax: <tsx:dbquery> tag syntax
Example: JSP syntax: <tsx:dbquery> tag syntax
JSP syntax: <tsx:dbmodify> tag syntax
Example: JSP syntax: <tsx:dbmodify> tag syntax
Example: JSP syntax: <tsx:repeat> and <tsx:getProperty> tags
4.2.2.3.8: IBM extensions to JSP .91 syntax
JSP .91 syntax: Tags for variable data
JSP .91 <INSERT> tag syntax
JSP .91 syntax: Alternate syntax for the <INSERT> tag
Example: JSP .91 syntax: INSERT tag syntax
JSP .91 <REPEAT> tag syntax
JSP .91 syntax: <REPEAT> tag results set and the associated bean
JSP .91 syntax: JSP tags for database access
JSP .91 syntax: <DBCONNECT> tag syntax
JSP .91 syntax: <USERID> and <PASSWD> tag syntax: JSP tags for database access
JSP .91 syntax: <DBQUERY> tag
Example: JSP .91 syntax: <DBQUERY> tag syntax
JSP .91 syntax: <DBMODIFY> tag syntax
Example: JSP .91 syntax: <DBMODIFY> tag syntax
Example: JSP .91 syntax: <INSERT> and <REPEAT> tags
4.2.2.3a: JSP examples
4.2.2.3a01: JSP code example - login
4.2.2.3a02: JSP code example - view employee records
4.2.2.3a03: JSP code example - EmployeeRepeatResults
4.2.2.3b: JSP .91 examples
XML
4.2.3: Incorporating XML
4.2.3.2: Specifying XML document structure
4.2.3.3: Providing XML document content
4.2.3.4: Rendering XML documents
4.2.3.6: Using DOM to incorporate XML documents into applications
4.2.3.6.1: Quick reference to DOM object interfaces
4.2.3.6.2: Manually generating an XML element node
4.2.3.7: SiteOutliner sample
Web applications
4.2.4: Putting it all together (Web applications)
4.2.4.2: Obtaining and using database connections
4.2.4.2.1: Accessing data with the JDBC 2.0 Optional Package APIs
Creating datasources with the WebSphere connection pooling API
Tips for using connection pooling
Handling data access exceptions
4.2.4.2.2: Accessing data with the JDBC 1.0 reference model
4.2.4.2.3: Accessing relational databases with the IBM data access beans
Example: Servlet using data access beans
4.2.4.2.4: Database access by servlets and JSP files
4.2.4.4: Providing ways for clients to invoke applications
4.2.4.4.1: Providing Web clients a way to invoke JSP files
Invoking servlets and JSP files by URLs
Invoking servlets and JSP files within HTML forms
Example: Invoking servlets within HTML forms
Invoking JSP files within other JSP files
4.2.4.4.2: Providing Web clients access to servlets
Invoking servlets within SERVLET tags
Invoking servlets within JSP files
Various topics
4.2.5: Using the Bean Scripting Framework
4.2.5.1: BSF examples and samples
4.2.8: Programming high performance Web applications
4.2.9: Setting language encoding in Web applications
4.2.10: Converting WAR files to Web applications (wartowebapp script)
Personalization
4.4: Personalizing applications
4.4.1: Tracking sessions
4.4.1.1: Session programming model and environment
4.4.1.1.1: Deciding between session tracking approaches
Using cookies to track sessions
Using URL rewriting to track sessions
4.4.1.1.2: Controlling write operations to persistent store
4.4.1.1.3: Securing sessions
4.4.1.1.4: Deciding between single-row and multirow schema for sessions
4.4.1.1.6: Limitations in session support
4.4.1.1.7: Tuning session support
Tuning session support: Session persistence
Tuning session support: Multirow schema
Tuning session support: Write frequency
Tuning session support: Base in-memory session pool size
4.4.1.1.8: Best practices for session programming
4.4.2: Keeping user profiles
4.4.2.1: Data represented in the base user profile
4.4.2.2: Customizing the base user profile support
4.4.2.2.1: Extending data represented in user profiles
4.4.2.2.2: Adding columns to the base user profile implementation
4.4.2.3: Accessing user profiles from a servlet
Pervasive computing
4.5: Employing pervasive computing
Samples
IBM WebSphere Application Server