IBM WebSphere Everyplace Access V5 Handbook for Developers and Administrators Volume II: Application Development

Book description

This IBM Redbooks publication is part of a series of four volumes related to WebSphere® Everyplace® Access Version 5.0. These Redbooks will help you plan, install, administer and develop mobile applications to run in a WebSphere® Everyplace® Access Version 5.0 environment. The information provided in these Redbooks target business-to-employee (B2E) enterprise applications, but most of the scenarios presented will apply to business-to-consumer (B2C) applications as well. In these Redbooks, you will find step-by-step examples and scenarios showing ways to integrate your enterprise applications into a WebSphere Everyplace Access environment using the WebSphere Studio Site Developer and the Everyplace Toolkit, and extend your online and offline application capabilities to use other advanced functions.

In this book you will also find step-by-step sample scenarios illustrating procedures to develop online applications using WebSphere Studio Site Developer and WebSphere Application Site Developer along with the WebSphere Everyplace Toolkit. Sample scenarios also include offline applications using Offline Portal Content and Forms, Transcoding, and DB2e applications using the WebSphere Studio Device Developer.

A basic knowledge of Java technologies such as servlets, JavaBeans, EJBs, JavaServer Pages (JSPs), as well as XML applications and the terminology used in Web publishing, is assumed.

The following IBM WebSphere Everyplace Access V5 Handbook for Developers and Administrators Redbooks are part of this offering:

Volume I: Installation and Administration, SG24-6462
Volume II: Application Development, SG24-6463
Volume III: E-Mail and Database Synchronization, SG24-6676
Volume IV: Advanced Topics, SG24-6677

Please note that the additional material referenced in the text is not available from IBM.

Table of contents

  1. Notices
    1. Trademarks
  2. Preface
    1. The team that wrote this redbook
    2. Become a published author
    3. Comments welcome
  3. Part 1: Online applications
    1. Chapter 1: My first pervasive portlet application
      1. Overview
      2. Create a portlet for HTML, WML, and PDA markups
      3. Examine the relevant files and source code (1/2)
      4. Examine the relevant files and source code (2/2)
      5. Run the portlet (1/3)
      6. Run the portlet (2/3)
      7. Run the portlet (3/3)
    2. Chapter 2: Portlet action event handling
      1. Overview
      2. Setup the ActionEvent portlet framework (1/2)
      3. Setup the ActionEvent portlet framework (2/2)
        1. Create the framework with the portlet application wizard
        2. Configure the test environment to support this project
      4. Examine and modify source code (1/2)
      5. Examine and modify source code (2/2)
        1. Examine the model and controller components
        2. Examine the HTML source generated by the wizard
        3. Modify the source for PDA markup
        4. Modify the source for WML markup
      6. Run the project (1/3)
      7. Run the project (2/3)
      8. Run the project (3/3)
    3. Chapter 3: Portlet messaging
      1. Overview
      2. Setup the MessageEvent portlet framework (1/2)
      3. Setup the MessageEvent portlet framework (2/2)
        1. Create the framework with the portlet application wizard
        2. Configure the test environment to support this project
      4. Examine and modify source code (1/2)
      5. Examine and modify source code (2/2)
        1. Examine and modify the model and controller components
        2. Examine and modify the HTML source generated by the wizard
        3. Modify the source for PDA markup
        4. Add view support for the message sender portlet for PDAs
      6. Run the project (1/2)
      7. Run the project (2/2)
    4. Chapter 4: National Language Support (NLS)
      1. Resource bundles (1/2)
      2. Resource bundles (2/2)
        1. Creating resource bundles in WebSphere Studio
        2. Translating resource bundles
        3. Accessing resource bundles in portlets
        4. Accessing resource bundles in JSPs
      3. Translating whole resources
      4. NLS administration
        1. Portlet NLS administration
        2. Portal NLS administration
        3. Setting NLS titles
        4. Adjusting Portal resource bundles
      5. Working with characters
      6. NLS best practices
      7. Sample scenario: NLS bundles (1/4)
      8. Sample scenario: NLS bundles (2/4)
      9. Sample scenario: NLS bundles (3/4)
      10. Sample scenario: NLS bundles (4/4)
        1. NLS bundles
        2. Accessing NLS bundles from JSPs
        3. Running the NLS scenario
        4. Accessing NLS bundles in Java portlets
        5. Adding PDA markup support
      11. Sample scenario: translating whole resources (1/2)
      12. Sample scenario: translating whole resources (2/2)
        1. Adding PDA markup support
    5. Chapter 5: Developing a database access portlet
      1. Create a test database and populate the table
      2. Use the wizard to generate the portlet (1/3)
      3. Use the wizard to generate the portlet (2/3)
      4. Use the wizard to generate the portlet (3/3)
      5. Use the Portal Test Environment to test the portlet
      6. Export the portlet application
      7. Deploy to your WEA/Portal server (1/3)
      8. Deploy to your WEA/Portal server (2/3)
      9. Deploy to your WEA/Portal server (3/3)
      10. Execute the portlet from a Pocket PC
      11. Use proper driver if the database is not DB2 (1/2)
      12. Use proper driver if the database is not DB2 (2/2)
    6. Chapter 6: Using the Credential Vault
      1. Overview
      2. Sample scenario (1/5)
      3. Sample scenario (2/5)
      4. Sample scenario (3/5)
      5. Sample scenario (4/5)
      6. Sample scenario (5/5)
        1. Importing a protected servlet application
        2. Using active credentials
        3. Updating the generated portlet
        4. Running the portlet
        5. Using passive credentials
    7. Chapter 7: Accessing Web Services
      1. Overview
      2. A simple Web Service project (1/4)
      3. A simple Web Service project (2/4)
      4. A simple Web Service project (3/4)
      5. A simple Web Service project (4/4)
        1. A sample Web Service
      6. Creating a Web Services client portlet (1/2)
      7. Creating a Web Services client portlet (2/2)
      8. Run the WSClientPortlet application
  4. Part 2: Transcoding
    1. Chapter 8: Transcoding Technology
      1. Overview (1/2)
      2. Overview (2/2)
        1. Architecture
        2. Preference profiles
        3. XML stylesheets
        4. Annotators
        5. Transcoding plug-ins
      3. XML configuration utility
      4. Request Viewer (1/2)
      5. Request Viewer (2/2)
        1. How to start Request Viewer
      6. Logging and tracing
        1. Message files
        2. Trace files
        3. Gather troubleshooting data
      7. A simple portlet using Transcoding Technology (1/2)
      8. A simple portlet using Transcoding Technology (2/2)
        1. Enable transcoding
        2. Use Request Viewer to monitor the process
    2. Chapter 9: A sample scenario using Transcoding Technology
      1. Overview
      2. WebSphere Everyplace Access configuration
      3. Text transcoding
      4. Image transcoding
      5. Fragmentation portlet (1/3)
      6. Fragmentation portlet (2/3)
      7. Fragmentation portlet (3/3)
      8. Annotations (1/3)
      9. Annotations (2/3)
      10. Annotations (3/3)
      11. Using external annotators
      12. Using stylesheets (1/3)
      13. Using stylesheets (2/3)
      14. Using stylesheets (3/3)
  5. Part 3: Offline applications
    1. Chapter 10: Building a portlet for offline browsing
      1. Build a portlet to fetch content from a Web site
      2. Using a transcoding annotator plugin for Web clipping
      3. Export the portlet to your local file system
      4. Deploy and configure the portlet for offline access
      5. Running the portlet online
      6. Configure Everyplace Client for offline access
      7. Running offline browsing on a PDA
    2. Chapter 11: Building a portlet for offline form access
      1. Building a form based portlet (1/2)
      2. Building a form based portlet (2/2)
      3. Adding field validations
      4. Adding a script to highlight the field in error
      5. Deploying the sample portlet as an offline portlet
      6. Running the portlet from a Pocket PC
      7. Portlet offline configuration (1/2)
      8. Portlet offline configuration (2/2)
      9. Configure the portlet client with offline option
    3. Chapter 12: DB2 Everyplace applications with WebSphere Studio Device Developer
      1. Overview
        1. Introduction
        2. Java 2 Micro Edition
        3. WebSphere Micro Environment
      2. Installing WebSphere Studio Device Developer
      3. Working with WebSphere Studio Device Developer
        1. Using the workbench
        2. Using the Update Manager
      4. Sample scenario (1/10)
      5. Sample scenario (2/10)
      6. Sample scenario (3/10)
      7. Sample scenario (4/10)
      8. Sample scenario (5/10)
      9. Sample scenario (6/10)
      10. Sample scenario (7/10)
      11. Sample scenario (8/10)
      12. Sample scenario (9/10)
      13. Sample scenario (10/10)
        1. Define the database tables for the application
        2. Configure the Pocket PC device for development
        3. Create the project on WebSphere Studio Device Developer
        4. Write the Java classes of the application
        5. Creating the device database
        6. Set up the build and test environment
        7. Testing the application
  6. Part 4: Appendixes
    1. Appendix A: Portlet development platform installation
      1. Prerequisites
      2. WebSphere Studio Site Developer V5.1.1
      3. Install WebSphere Studio Site Developer
      4. Apply fixes to WebSphere Studio Site Developer (1/2)
      5. Apply fixes to WebSphere Studio Site Developer (2/2)
      6. WebSphere Studio Device Developer
      7. WebSphere Everyplace Toolkit V5.0.1
      8. Begin Everyplace Toolkit installation
      9. Install Portal Toolkit V5.0.2.1
      10. Complete Everyplace Toolkit Installation
      11. Complete installation of Micro Environment Tools (1/2)
      12. Complete installation of Micro Environment Tools (2/2)
    2. Appendix B: Additional material
      1. Locating the Web material
      2. Using the Web material
      3. System requirements for downloading the Web material
      4. How to use the Web material
  7. Related publications
    1. IBM Redbooks
    2. Other publications
    3. Online resources
    4. How to get IBM Redbooks
    5. Help from IBM
  8. Index (1/2)
  9. Index (2/2)
  10. Back cover

Product information

  • Title: IBM WebSphere Everyplace Access V5 Handbook for Developers and Administrators Volume II: Application Development
  • Author(s): Juan Rodriguez, George Kroner, Gianfranco Rutigliano, Sung-Ik Son, Guillermo Villavicencio
  • Release date: March 2005
  • Publisher(s): IBM Redbooks
  • ISBN: None