server.xml  Server-side click-across applications

Chapter 2: Developer Features

Creating a database element using a JNDI data source resource

This example uses the Unwired Accelerator sample database to illustrate how to use a JNDI data source resource in the definition of a database application.

StepsCreating a database element using a connection cache reference

  1. Log in to Web Studio, select Build | Applications, then click New to access the Application Builder.

  2. When the Application Builder displays, click the down-arrow to the right of the Add button, and select Database Element.

  3. When the Web Studio – New Web Element window appears, select the Connection Cache option.

  4. Complete these fields:

  5. Click Preview. You see the data that corresponds to the SQL query.

  6. Click Next.

  7. On the next three windows (Split, Define, and, Filter), click Next to bypass the options. See the “Data-capable post-processing options” section in Chapter 5 of the Enterprise Portal Developer’s Guide for descriptions of these options.

  8. In the Window Preview, enter Sales Update for the Element Name, then click Next.

  9. In the Continuous Capture window, click Finish. Do not click Continue in this window.

  10. Back in the Application Builder, click Save and complete the options on the Web Studio – New Application Finish window.

  11. In the Finish window, under the Content tab, in the Name field, enter salesup.

    Accept all the other defaults, and click Finish.

  12. In the pop-up confirmation, click OK.





Copyright © 2005. Sybase Inc. All rights reserved. Server-side click-across applications

View this book as PDF