Following is brief information about mobile application sources. This information is provided to help you troubleshoot problems and advise developers. See the Unwired Accelerator Developer’s Guide for detailed information.
Web application – capture Web content and display it in an application. The captured content is updated dynamically as the source Web content changes. The Web element wizard guides you through creating a Web element and provides different capture strategies, which represent the different HTML objects that you can capture from Web pages.
Database – query a back-end database and display the results in an application, or create and update records. When you create a database element, you can either enter a JNDI resource name or a JDBC connection URL for the datasource.
JNDI data source – use the Java Naming and Directory Interface (JNDI) to connect the application to the data source. The following default JNDI data source resources are included in Unwired Accelerator:
java:/com/env/jdbc/portaldb – connects to the portal database
java:/com/env/jdbc/sampledb – connects to the sample database
java:/com/env/jdbc/agdb – connects to the M-Business Anywhere database
java:/com/env/jdbc/msales – connects to the mobile sales demo database
java:/com/env/jdbc/mpharma – connects to the mobile pharmacy demo database
In Mobile Web Studio, on the New Application Database Element Definition window, select the JNDI resource name from the drop-down list; for example, “portaldb” for portal database, or “sampledb” for the sample database. You can use these data sources, or add other data sources.
JDBC connection cache – connection information is defined when the application server is set up, and available to application developers building JDBC applications. A disadvantage is that connection changes, which must be made through the application server, may cause applications to break.
In general, connection cache definitions are safer and easier to use, but if a connection to a database is required that is not available through a connection cache, you may have to either use the full JDBC specification, or to create the necessary connection cache definition through the application server.
XML – capture an application that is XML-based rather than HTML-based. XML is used to describe data, while HTML is mainly used to display data. XML is a common tool for transmitting and manipulating data in Web development. This type of application is generally used by portal administrators who are familiar with XML to Extensible Stylesheet Language (XSLT) transformations.
Web services – provide access to software that is available over the Internet and uses a standardized XML messaging system to invoke the service and supply the response. Web services are a useful way to provide data to a variety of consumers; for example, traffic reports, stock quotes, and travel services. This section provides basic introductory material about Web services and describes how to implement Web services in your portal.
Enterprise applications (SAP, PeopleSoft) – provide access to enterprise applications using client interfaces. SAP requires an API that you can download and configure; see the Unwired Accelerator Installation Guide for details.
JSP/ASP applications – capture Java Server Pages (JSP) Web applications and display them in an application.
HTML – specify HTML code that you can arrange within an application with other element types.
Document – create applications into which you load an application document (Microsoft Word, Microsoft Excel, PDF, and so on).
File – create applications that are based on files. The file must contain data arranged in a format that can be mapped to grid data.
Copyright © 2005. Sybase Inc. All rights reserved. |