Skip Headers

Oracle9iAS Wireless Developer's Guide
Release 2 (9.0.2)

Part Number A90485-02
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

9
Mobile Service Developer's Tools

Each section of this document presents a different topic. These sections include:

9.1 Mobile Studio

9.1.1 In-house Mobile Studio

Mobile Studio is an online environment for quickly building, testing and deploying wireless applications. It lets any developer quickly develop mobile applications that are immediately accessible from all devices.

As a developer, you do not need to download or install any software to start using the Studio; provides a completely web-based development and testing environment. To access Mobile Studio on your Oracle9iAS Wireless instance, go to: http://oracle9iasw-host:port/studio.

9.1.1.1 Register with Mobile Studio

As a developer, you must register with your instance of Studio to access the Studio web site. To register, click on the register button on the Studio home page and provide the required details to register. Once you register, Studio provides you with a personal application area to test your applications and also provides links to sample applications.

9.1.1.2 Develop HelloWorld Application

In this walkthrough you will create a HelloWorld mobile application.

  1. First you will create simple static page that outputs Oracle9iAS Wireless XML when accessed through a web server.

    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!DOCTYPE SimpleResult PUBLIC "-//ORACLE//DTD SimpleResult 1.1//EN" 
    "http://xmlns.oracle.com/ias/dtds/SimpleResult_1_1_0.dtd">
    <SimpleResult>
        <SimpleContainer>
            <SimpleText>
                <SimpleTitle>HelloWorld Page</SimpleTitle>
                <SimpleTextItem>Hello World</SimpleTextItem>
            </SimpleText>
        </SimpleContainer>
    </SimpleResult>
    
    
  2. Host the above helloworld.xml sample page on you web server.

  3. Log into the Studio and select the CreateNew application button.

  4. In the Create Application page fill in the following:

    Name: MyHelloWorld

    URL: URL to the helloworls.xml file (such as http://server:port/....)

    Deviceclass: Select "all devices"

    Description: My First Studio Sample

  5. Click Create.

9.1.1.3 Test and Debug HelloWorld Application

In this walkthrough you will test and debug the HelloWorld application created in the previous walkthrough.

  1. Start the Mobile Simulator.

  2. Enter the following URL in the Go window:
    http://9iASWEServer.domain/ptg/rm
    This is the URL of the device portal for your Oracle9iAS Wireless Server installation.

  3. Login into the Oracle9iAS Wireless Portal with your studio username and password.

  4. Select the MyHelloWorld application.
    The Oracle9iAS Wireless Server retrieves the helloworld.xml page and displays it.

  5. You can debug the MyHelloWorld application by looking at the log file from you Studio web page. To view the log:

    • go to the Studio web site and login with you studio username and password

    • Select the Log icon for the MyHelloWorld application. The system pops up the log viewer on the web site. The log viewer displays the content retrieved.

9.1.1.4 Deploy the HelloWorld Application

To deploy an application you will must be part of a Domain. In this walkthrough you will create a Domain and then deploy the MyHelloWorld application to an Oracle9iAS Wireless Server.

  1. From the Studio Menu select MyDomains.

  2. Enter the following in the Create Domain Window

    Name: SampleDomain
    Enter a password and confirm the password selection.
    Set as Default should be checked.

  3. Click on MyStudio on the Studio Menu.

  4. Select the MyHelloWorld application and select deploy.

  5. On the Deploy Application Page, click the Deploy button. This will deploy the application on to the Domain Host defined by your administrator.

9.1.2 Oracle Online Mobile Studio

You can also use OracleMobile's hosted Online Studio (a developer portal) to quickly and easily build, test and deploy your mobile applications.

OracleMobile's hosted Online Studio enables any developer, systems integrator or independent software vendor to quickly develop a mobile application that is immediately accessible from any device. This unique, next generation environment allows companies to benefit from faster time to market, increased productivity, and a dramatically simplified testing cycle, while providing access to the latest mobile applications and tools. It enables you to focus on your business logic which is your core competency, while we focus on the device complexity, our core competency.

For more information on Oracle Online Mobile Studio, and to use OracleMobileOnline Studio, see Oracle Technology Network (OTN) at: http://otn.oracle.com.

9.2 Oracle9iAS Wireless SDK

9.2.1 Overview

Oracle9iAS Wireless SDK is a light development version of Oracle9iAS Wireless. It is an off-line environment that enables developers to create and test MobileXML applications. With Oracle9iAS Wireless SDK, application developers can test and simulate applications without needing to support a complete Oracle9iAS Wireless installation.

The SDK can be separated into two sub-components: transcoder and messaging.

Oracle9iAS Wireless SDK transcoder can be used to test Mobile XML applications, new XSL stylesheet transformers and new device descriptions. It provides most of the functionality available in Oracle9iAS Wireless device portal.

Oracle9iAS Wireless SDK messaging API is the same as PushAPI, which delivers all kinds of messages through Push server or Push Messaging gateway. Push Messaging gateway is based on SOAP technology. Push server is build on top of Oracle9iAS Wireless. The implementation of Push Server has been simplified in Mobile SDK so that SDK does not have dependencies on SOAP or Oracle9iAS Wireless. Only a Push Server simulator is shipped with SDK, which can send out emails only. All messages with other transports will be converted to email and send to an email address called 'default email'. Therefore, a SMTP email server and a valid email address are needed.

9.2.2 Installation

Oracle9iAS Wireless SDK is a J2EE application. It should be deployed on Oracle9i Application Server using the OC4J deployment tool. For more details please refer to the OC4J documentation.

9.2.3 Structure

Oracle9iAS Wireless SDK contains the following important files and directories:

9.2.4 Configuration

9.2.4.1 SDK Transcoder

Oracle9iAS Wireless SDK transcoder is a J2EE web application. The configuration file for the application is WEB-INF/web.xml. Some of the configuration properties can be modified at run-time using the SDK administration page.


Note:

The changes made from the SDK administration page do not get persisted in web.xml. You will have to modify web.xml manually if you want to use the new settings permanently.


Here is the list of user configurable settings:

9.2.4.2 Properties Files

The SDK transcoder uses two properties files for additional configuration. Normally you should not need to modify those files.

9.2.5 SDK Messaging

9.2.5.1 Prerequisites

9.2.5.2 Configuration Parameters

Required Parameters

The SDK reads SMTP mail server and default email from the Java VM System properties. Property name for SMTP server is mobile-sdk.email.server.host and property name for default email is mobile-sdk.default_email. These two parameters are required to run SDK.

There are two ways to set those parameter:

  1. Programatically

    • In your application that you need to call

    • System.setProperty("mobile-sdk.email.server.host","smtp.company.com");

    • System.setProperty("mobile-sdk.default_email","default-email@company.com"); before the first call to the messaging API

  2. Passing command line parameters to the Java VM

    • java -Dmobile-sdk.email.server.host=smtp.company.com -Dmobile-sdk.default_email=default-email@company.com.

Not Required Parameters

MessagingGatewayURL, username and password of the constructors of Push and PushLite classes are not going to be used. But, you have to pass something to construct the instance. Passing three nulls will be permissible.

9.2.5.3 Push and PushLite

Push and PushLite have the same functionality: deliver messages to Push server (Push Server simulator in SDK). But, why do we need them both?

Push takes an instance of Packet as parameter. Packet has a message object, senders, recipients and additional information, which helps to deliver the message. For example: priority, speed of delivery, delay etc.

PushLite can send out text messages only. It's very easy to use. The users don't need to know any other classes like Packet, Message, and AddressData etc.

The reason that they co-exist in the same API is because Push and PushLite give developers an opportunity to choose the API to meet their needs. If you want to send text messages fast, use PushLite. If you need more control over the message, use Push.

The source files for both classes are in the examples directory.

9.2.6 Device Description

Oracle9iAS Wireless SDK stores the device description as XML files in its repository directory. Each XML file stores the description of one device. The XML root element is <LDEV>. All element attributes and subelements are exactly the same as in the Oracle9iAS Wireless repository XML representation (there are a few exceptions that will be explained below). The advantage of that is that you can download the Oracle9iAS Wireless repository, save all <LDEV> elements from the repository XML file as separate files, copy them into the SDK repository directory (or modify web.xml file), and the SDK will use exactly the same device descriptions as your real server. Or, you can add a new device description to the SDK repository, fully test it, and then deploy it on your real Oracle9iAS Wireless server. In order to upload a new device to the real Oracle9iAS Wireless server you will need to create a new XML file with the following format:

<?xml version = '1.0' encoding = 'UTF-8'?>
<PanamaObjects>
  <LDEV_LIST>
    <LDEV ...>
          The new device description goes here
        </LDEV>
  </LDEV_LIST>
</PanamaObjects>

Where the <LDEV> element is the one stored in the XML file in the SDK repository directory.

Here is the complete list of attributes and subelements that comprises the LDEV element. Please keep in mind that all String values are case sensitive.

9.2.6.1 Attributes

name - a String - the name of the device. The value of this attribute must be the same as the name of the XML file (without the .xml extension) in which the device description is stored. The value must be unique.

mimeType - a String - the MIME type that the device expects, for example: "text/vnd.wap.wml" or "text/html"

encoding - a String - the content encoding. The IANA character set names are published at:

http://www.iana.org/assignments/character-sets

The "mimeType" and the "encoding" attributes are used to create the Content-Type HTTP header that is sent back to the end user device. For more details please see the HTTP 1.1 specification at:

http://www.rfc.net/rfc2616.html

9.2.6.2 Example

Content-Type: text/vnd.wap.wml; charset=ISO-8859-1

deviceCategory - a String - the device category. Oracle9iAS Wireless groups all devices in the following six categories:

See Chapter 10, "Core Technologies" for more details of the different device classes.

manufacturer - a String - the company name. For example: Nokia, Ericsson, Palm, Motorola, etc.

model - a String - the device model.

softKeys - an Integer - the number of soft keys that the device has.

screenCols - an Integer - the number of characters (per row) that the device can display.

screenRows - an Integer - the number of rows text data that the device can display.

screenWidth - an Integer - the screen width in pixels.

screenHeight - an Integer - the screen height in pixels.

imageCapable - a Boolean - whether the device supports images or not.

colorCapable - a Boolean - whether the device supports colors or not.

bitsPerPixel - an Integer - the number of bits per pixel used to represent either the color or the gray scale.

videoCapable - a Boolean - whether the device supports streaming video or not.

voiceCapable - a Boolean - whether the device supports voice or not.

system - a Boolean - whether this is a "system" device or not.

maxDocSize - size of document (in bytes) that a device can accept.

supportsAmpersandEntity - ampersand character can be used in XML-friendly devices.

supportsRelativeURL - a Boolean - whether the device supports relative URLs or not. In general all browsers should resolve relative URLs but of them do not do it.

prolog - xml prolog at the start of the content sent to a device. Specifies content type.

description - a String - a short description of the device.

needsURLCaching - a Boolean - whether the URLs for this device should be cached or not.


Note:

This attribute has been deprecated. Both, the Oracle9iAS Wireless SDK and the Oracle9iAS Wireless server will always cache the URLs for all devices.


supportsCookie - a Boolean - whether the device supports "cookies" or not.

defaultTransformer - a String - the name of the XSL transformer to be used for this device.


Note:

This attribute has been deprecated in the Oracle9iAS Wireless server. It has been replaced by the "Transformers" subelement which contains the list of transformers to be used for the different versions of the Mobile XML. In the current version the SDK supports only a single version of the Mobile XML language. And it reads the default Transformer attribute for the transformer to be used.


9.2.6.3 Subelements:

9.2.7 Deploy the HelloWorld Application

To deploy an application you will must be part of a Domain. In this walkthrough you will create a Domain and then deploy the MyHelloWorld application to an Oracle9iAS Wireless Server.

  1. From the Studio Menu select MyDomains.

  2. Enter the following in the Create Domain Window

    Name: SampleDomain
    Enter a password and confirm the password selection.
    Set as Default should be checked.

  3. Click on MyStudio on the Studio Menu.

  4. Select the MyHelloWorld application and select deploy.

  5. On the Deploy Application Page, click the Deploy button. This will deploy the application on to the Domain Host defined by your administrator.

9.2.8 Device Detection

Oracle9iAS Wireless SDK uses the same device detection mechanism as Oracle9iAS Wireless server. See Chapter 10, "Core Technologies" for more details.

9.2.9 Default Main Wireless Application

Oracle9iAS Wireless SDK comes with a default demo wireless application. This application is a single JSP page: Home.jsp. This JSP page looks in the apps directory to find user-specific applications. A user application can be a .jsp, .xml or .mxml file. The main wireless application displays a link to every one of the files it finds in the apps directory. If you want to test your application, copy its main page into the apps directory. If your application contains more than one file, then only the first page must be copied into the apps directory. All other pages should be in a separate directory (it could be a subdirectory of the apps directory). See the sample applications for more details.

9.3 Overview of JDeveloper with Oracle9iAS Wireless

JDeveloper provides a mechanism to develop, debug and test Oracle9iAS Wireless XML JSPs and XML pages in a single tool by providing an Oracle9iAS Wireless addin for JDeveloper. Developers can create JSP pages with embedded BC4J data tags with Oracle9iAS Wireless XML tags and by invoking these servlets through OC4J, they can run any BC4J application on a wireless device emulator. By using the power of the schema-driven editor, developers can create Oracle9iAS Wireless XML pages that they can further call from their JSP pages. Based on the source of the device request, the correct device stylesheet is applied to the XML document. Figure 9-1, "Simplified Request Path" shows how the servlet works (and could use BC4J as a data source for example).

To maximize developer productivity, JDeveloper provides a comprehensive set of integrated tools to support the complete development lifecycle, from source control, modeling, and coding through debugging, testing, profiling, and deploying. JDeveloper simplifies J2EE development by providing wizards, editors, visual design tools, and deployment tools to create high-quality, standard J2EE components including applets, JavaBeans, JavaServer Pages (JSP), servlets, and Enterprise JavaBeans (EJB). JDeveloper also provides a public Addin API to extend and customize the development environment and to seamlessly integrate with external products.

To simplify the development of scalable, high-performance J2EE applications, JDeveloper offers an open and extensible J2EE framework called Business Components for Java (BC4J). BC4J is an object-relational mapping tool that implements Sun's J2EE design patterns, allowing developers to quickly build sophisticated J2EE applications.

9.3.1 JDeveloper and Oracle9iAS Wireless SDK

The SDK primarily consists of a Java servlet which links to a repository of stylesheets. Based on the source of the HTTP request, the correct stylesheet is applied by the servlet to transform the data to the target markup language for that device. By providing an addin for integrating the SDK into JDeveloper, we provide the developer a mechanism to develop, debug and test Oracle9iAS Wireless XML JSPs and XML pages in a single tool. The developer can create JSP pages with embedded BC4J data tags and Oracle9iAS Wireless XML tags and by invoking these servlets through OC4J, they can run any BC4J application on a wireless device emulator. By using the power of the schema-driven editor they can create Oracle9iAS Wireless XML pages that they can further call from their JSP pages. Figure 9-1, "Simplified Request Path" demonstrates how the servlet works (and could use BC4J as a data source for example):

Figure 9-1 Simplified Request Path

Text description of jdev1.gif follows.

Text description of the illustration jdev1.gif

  1. A request is received from a wireless client (which is routed from the gateway to the application server) for an Oracle9iAS Wireless JSP page. The structure of such a JSP is as follows:

    <%@ page language="java" import="oracle.jbo.*" contentType="text/vnd.oracle.iAS 
    Wireless XML;charset=WINDOWS-1252" %> 
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>  
    <SimpleResult>  
    <SimpleContainer>  
    <SimpleText>  
    <SimpleTextItem>Browse Form</SimpleTextItem>  
    </SimpleText>  
    <jbo:ApplicationModule id="am"
    configname="mypackage.MypackageModule.MypackageModuleLocal" 
    releasemode="Stateful" />  
    <jbo:DataSource id="ds" appid="am" viewobject="DeptView" rangesize="3"/> 
    <jbo:DataHandler appid="am" />  
    <SimpleText>  
    <SimpleTextItem>DeptView Browse Form</SimpleTextItem>  
    </SimpleText>  
    <SimpleTable>  
    <SimpleTableBody>  
    <SimpleRow>  
    <SimpleCol><jbo:DataScroller datasource="ds" /></SimpleCol>  
    <SimpleRow>  
    <SimpleRow>  
    <SimpleCol><jbo:DataTable datasource="ds" /></SimpleCol>  
    </SimpleRow>  
    </SimpleTableBody>  
    </SimpleTable>  
    <SimpleContainer>  
    <jbo:ReleasePageResources />  
    </SimpleResult> 
    
    
  2. The application server then launches the REQUEST MANAGER (RM) servlet which then handles the requests coming from the client. As a part of its init() process, the RM servlet looks for the repository containing the XSLT stylesheets and loads it up into memory.

  3. The servlet then executes the JSP page (the JSP page may have BC4J data tags) that are then interpreted and executed. The data is populated in the page with SimpleResult tags.

  4. The RM servlet now received this XML page.

  5. It then applies the correct transformation to the data received based upon the content type and the source of the HTTP request.

  6. Finally the correct markup is sent back to the client where the request originated.

9.3.2 The Addin and the Wizards

There are two simple wizards which allow a user to create an Oracle9iAS Wireless JSP and an Oracle9iAS Wireless XML document respectively.

The execution flow is as follows:

  1. Create a new Oracle9iAS Wireless JSP by going through the following steps:

    1. Choose File|New|Web Objects|9iAS Wireless JSP Wizard. The Oracle9iAS JSP Wizard is launched.

    2. Specify a name for the JSP (or choose the default)

    3. Select if you want to generate code for a form or menu (or both) and click OK. A new Oracle9iAS WE JSP is created. In addition this automatically performs the following actions:

      • Updates the web.xml file with the relevant servlet information (servlet name, class, parameters, etc.) and adds it to the current project. Here is the web.xml file:

        <?xml version = '1.0' encoding = 'windows-1252'?>  
        <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
        2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">  
        <web-app> 
        <display-name>Oracle 9iAS App</display-name><description>Oracle 9i Application
        Server Wireless SDK Application</description>  
        <context-param>  
        <param-name>omsdk.repository.path</param-name>  
        <param-value>D:\OMSDK\repository</param-value>  
        </context-param>  
        <context-param>  
        <param-name>omsdk.apps.path</param-name>  
        <param-value>D:\OMSDK\apps</param-value>  
        </context-param>  
        <context-param>  
        <param-name>omsdk.log.path</param-name>  
        <param-value>D:\OMSDK\logs</param-value>  
        </context-param>  
        <servlet>  
        <servlet-name>sdk</servlet-name>  
        <servlet-class>oracle.panama.sdk.SdkServlet</servlet-class>  
        <init-param>  
        <param-name>xml.validation.mode</param-name>  
        <param-value>none</param-value>  
        </init-param>  
        <init-param>  
        <param-name>log.level</param-name>  
        <param-value>debug</param-value>  
        </init-param>  
        <init-param>  
        <param-name>autoreload.transformers</param-name>  
        <param-value>true</param-value>  
        </init-param>  
        <init-param>  
        <param-name>autoreload.devices</param-name>  
        <param-value>true</param-value>  
        </init-param>  
        <init-param>  
        <param-name>home.page.url</param-name>  
        <param-value>Home.jsp</param-value>  
        </init-param>  
        <load-on-startup>1</load-on-startup>  
        </servlet>  
        <servlet>  
        <servlet-name>lfv</servlet-name>  
        <servlet-class>oracle.panama.sdk.util.LogFileViewer</servlet-class>  
        </servlet>  
        <servlet-mapping>  
        <servlet-name>sdk</servlet-name>  
        <url-pattern>/rm</url-pattern>  
        </servlet-mapping>  
        <servlet-mapping>  
        <servlet-name>lfv</servlet-name>  
        <url-pattern>/log</url-pattern>  
        </servlet-mapping>  
        <session-config>  
        <session-timeout>30</session-timeout>  
        </session-config>  
        <mime-mapping>  
        <extension>mxml</extension>  
        <mime-type>text/vnd.oracle.iAS Wireless XML</mime-type>  
        </mime-mapping>  
        <mime-mapping>  
        <extension>log</extension>  
        <mime-type>text/plain</mime-type>  
        </mime-mapping>  
        <welcome-file-list>  
        <welcome-file>index.jsp</welcome-file>  
        <welcome-file>index.html</welcome-file>  </welcome-file-list>  
        </web-app> 
        
        
      • Adds the relevant libraries to the classpath as shown below:

        Figure 9-2 Classpath

        Text description of jdev2.gif follows.

        Text description of the illustration jdev2.gif

      • Creates the following JSP file as shown below (with the relevant content-type):

        <?xml version="1.0" encoding="WINDOWS-1252" standalone="yes" ?>  
        <!DOCTYPE SimpleResult PUBLIC "-//ORACLE//DTD SimpleResult 1.1.0//EN" 
        "http://xmlns.oracle.com/ias/dtds/SimpleResult_1_1_0.dtd">  
        <%@ page contentType="text/vnd.oracle.iAS Wireless XML; charset=WINDOWS-1252" 
        %>  
        <%@ page language="java" %>  
        <%@ page import='java.util.*' %>  
        <Simpleresult>  
        <Simplecontainer>  
        <Simpletext>  
        <Simpletextitem>  
        The current time is <% out.println((new java.util.Date()).toString()); %>  
        </Simpletextitem>  
        </Simpletext>  
        <menu>  
        <choice next="choice1.jsp">Choice 1</choice>  
        <choice next="choice2.jsp">Choice 2</choice>  
        <choice next="choice3.jsp">Choice 3</choice>  
        </menu>  
        </Simplecontainer>  
        </Simpleresult>
        


      Note:

      The content-type of this page is text/vnd.oracle.iAS Wireless XML, NOT html.


  2. Since this is a JSP page, you can include BC4J data tags in the page that means you can data enable it. However, instead of having HTML tags like a typical JSP would have, this page would have Oracle9iAS Wireless XML tags (which makes it akin to a data-bound UIX page). Assuming that the page is syntactically correct, when you run this page by right-clicking on it, the following steps occur:

    • It launches the embedded OC4J,

    • Invoke the correct servlet(s) and

    • Launches the user's default browser and pass the URL based on the application's root context.

The difference between a typical JSP and the Oracle9iAS Wireless JSP is that the former is automatically run-able by any servlet engine, where as the latter is more like an XML document which needs to be processed by a servlet. In this case, its behavior is similar to a UIX page.

9.3.3 Instructions to use the Addin and Wizards

9.3.3.1 Installation Steps

Here are the instructions for installing Oracle9iAS Wireless Wizards and configuring the JDeveloper properties file to run the addin and the wizards.

  1. Download the addin zip file from http://otn.oracle.com (in the "products", then "Jdeveloper" section) and unzip it to a directory (for example: D:\omsdkAddin).

  2. Add the project's output path to the $[JDEV_HOME]\bin\jdev.conf file (for example: AddJavaLibFile ../../../../classes)


    Note:

    This (AddJavaLibFile) needs to be at the very end of the file, not anywhere else!


  3. Add this project's main Addin to the $[JDEV_HOME]\bin\addins.properties file. For example:

    • AddinCount=100

    • Addin99=oracle.iaswe.iasWEAddin

  4. Add the iAS Gallery elements to $(JD9i)\lib\gallery.xml file.

  5. Find the element called Web Objects and update it to read as follows:

    <Item class="oracle.ide.gallery.GalleryElement">  
    <name>9iAS WE XML Wizard</name>  
    <wizardClass>oracle.iaswe.iasWEXMLWizard</wizardClass>  
    <wizardParameters/> 
    </Item> 
    <Item class="oracle.ide.gallery.GalleryElement">  
    <name>9iAS WE JSP Wizard</name>  
    <wizardClass>oracle.iaswe.iasWEJSPWizard</wizardClass>  
    <wizardParameters/> 
    </Item>
    

9.3.4 Running Instructions

  1. Run JDeveloper

  2. Create a New Project for Testing

  3. Select Menu File | New ...

  4. Click on the Web Objects|iAS WE JSP Wizard and create the JSP file

    • Notice Web.xml was added to project

    • Double click on the Project to see the libraries added to project

    • Look at the contents for correctness

  5. Click on the Oracle9iAS XML Wizard and create the xml file similarly.

    • Look at the contents for correctness

    • Right click on these nodes to notice the option

    • Click on the Run menu to see the options

  6. Now you can add the BC4J data tags in your JSP pages to access the data in the application logic tier.

9.4 Third-party Mobile Simulators

Although you will be able to test you mobile applications using a regular Web Browser on your personal computer, it is recommended that you perform testing using various device emulators with different form factors. This will allow you to understand the constructs on Oracle9iAS Wireless XML with respect to rendition on varying device form factors.

Various mobile browser vendors have emulators available that can run on a typical desktop environment. This section lists mobile browser emulators available, categorized into different form factors. The list below is a sample, and provides an introduction to various mobile simulators available; it is not an exhaustive list of all emulators available.

9.4.1 Phones

The typical phone device is considered to have a small form factor, although there are phones in the market that support form factor and functionality similar to a PDA device. The browser simulators that support relatively small form factors include Nokia6210, and Phone.com's HDML and WML simulators. Below is a list of phone browser simulators that can be used to test you Oracle9iAS Wireless applications. These simulators run on your Personal computer, and connect to the Oracle9iAS Wireless server over HTTP protocol.

9.4.1.1 Openwave SDK 3.2

This is an HDML (HandHeld Markup Language) simulator provided by Openwave. You can simulate application behavior on phones that support HDML browsers. HDML is a proprietary markup language supported by Openwave browsers only.


Note:

This version of SDK can support both WML and HDML. Ensure that Oracle9iAS Wireless is generating HDML for requests from this simulator. You can use the web tool and configure Oracle9iAS Wireless to generate HDML for requests from this simulator. Openwave SDK is provided by Openwave Systems Inc. For more information go to http://developer.openwave.com.


9.4.1.2 Openwave SDK 4.1 and 5.0

You can use SDK 4.1 to simulate your application with WML 1.1 Openwave browsers and SDK 5.0 to simulate with WML 1.3 Openwave browsers. Openwave SDK is provided by Openwave Systems Inc.For more information go to http://developer.openwave.com.

9.4.1.3 Nokia Mobile Internet Toolkit

This toolkit is provided by Nokia and has a simulator for Nokia's WML browser. You can simulate your application on different Nokia phones. The Mobile Internet Tool Kit is provided by Nokia Corporation. For more information go to http://www.forum.nokia.com.

9.4.1.4 Ericsson's WapIDE 3.1.1 SDK

This SDK is provided by Ericsson and allows you to simulate WML applications on various Ericsson phones. The WapIDE 3.1.1 SDK is provided by Telefonaktiebolaget LM Ericsson. For more information see www.ericsson.com.

9.4.1.5 Yospace Simulator

Yospace provides various WAP simulators that can used to test your application experience on various WML browsers. Yospace simulator is provided by Yospace Holdings Ltd. For more information go to http://www.yospace.com.

9.4.2 PDA

The typical PDA device is considered to have a medium form factor. The form factor of PDA is higher than that of a typical phone. The simulators that support PDA-style devices are PocketPC and PalmOS simulators. There are other simulators that support PDA style form factor and also other phone devices with a PDA form factor.

9.4.2.1 Palm OS Simulator

Simulates the Palm OS on your personal computer. You can typically install on to the Palm OS simulator a PQA or browsers such as Eudora. This enables you to test and simulate you application behavior on a PalmOS. Palm, Inc. provides this simulator. For more information see www.palmos.com.

9.4.2.2 PocketPC SDK

The PocketPC SDK is a desktop application and contains a PocketPC simulator that runs on your personal computer. You can use a browser application on PocketPC such as Pocket Internet Explorer, or similar, to test your application on a PocketPC device. Microsoft Corporation provides PocketPC SDK. For more information go to http://www.microsoft.com.

9.4.3 Voice

Voice device are classified as a separate form factor. This is because voice devices, unlike other data devices, do not allow the user to scan the entire document. On voice devices, the user must wait until the voice browser reads the entire document; it is also difficult for users to "scroll" the document.

9.4.3.1 IBM Voice Server SDK

IBM provides a Voice Server SDK running on a personal computer, and supports VoiceXML technology. You can use IBM's Voice Server SDK to test your VoiceXML applications. The Voice Server SDK is provided by IBM Corporation. For more information see www.ibm.com.

9.4.3.2 VoiceGenie

VoiceGenie hosts a developer Voice Gateway that allows you to test your applications over voice. Also VoiceGenie provides Genie IDE that simulates the Voice platform to test your applications. VoiceGenie Technologies Inc. provides both the developer voice gateway and the Genie IDE. For more information see developer.voicegenie.com.

9.5 Deploying Your Applications

Oracle9iAS Wireless provides Web-based, role-specific tools to create, manage, and deploy mobile services. These webtools include wizards for developing and managing repository objects, and utilities for managing the server and deploying Oracle9iAS Wireless.

After creating your applications, use Oracle9iAS Wireless webtools to deploy them to your customers using your Wireless instance.

For more information on these web-based tools, see Oracle9i Wireless Getting Started and System Guide.


Go to previous page Go to next page
Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index