|
Running
Mobile XSQL & BC4J Applications from JDeveloper 3.1
Requirements
1. JDeveloper 3.1 (Build 661 or later)
2. Oracle8i somewhere on the network or local
3. Cellphone simulator from http://www.phone.com
4. Palm Emulator and browser on the emulator
Preparation: JDeveloper (Common to all clients)
1. Extract the xmldemo.zip
file into your JDeveloper 3.1 directory (overwrite files that already exist).
2. Start Oracle JDeveloper 3.1.
3. Open the workspace: myprojects\mobile.jws.
4. Create a new connection called demo that connects
to a scott/tiger schema on an Oracle database.
5. Open XSQLConfig.xml and edit the demo connection infomation
to point to the same schema as in step 4.
6. Save all files.
7. Rebuild the HRserver project.
Cell Phone Demo Setup
Preparation: Cellphone Simulator
1. Run upsdkW32He.exe to install the Cellphone Simulator
2. Reboot your machine (only if you are prompted to)
3. Start the Cellphone Simulator
4. Open the Settings|UP.link Setting menu option.
5. Set the Home URL to: http://xxx.xxx.xxx.xxx:7070/DeptClient_html/index.xsql.
Fill in your IP address for the x's.
6. Hit OK. (You may get an errormessage. This is because
your demo is not running yet)
Palm Pilot Demo Setup
Follow these two steps:
1. Download and install the Palm Pilot Emulator
2. Install Handweb (or any other browser for palm pilots)
that you like on your system.
Steps to download and install the Palm Pilot Emulator:
Download the Palm Pilot Emulator from http://www.palm.com/devzone/pose/pose.html
for Windows NT. Next, you must obtain a ROM Image File for which you need
to follow the instructions on http://www.palm.com/devzone/pose/pose.html.
Note: Be sure to get the ROM file corresponding to the Emulator
OS release.
1. Extract the Emulator and the ROM files using
WinZip.
2. Click on the "Emulator" program in the directory
where you unzipped Emulator and Select "New Emulator Session".
3. Click the Browse... button to specify
the path for the ROM image file. Set it to point to the location where
your ROM image file is located.
4. Save the configuration
If all goes well, you should be able to see the Palm Pilot Emulator
on your desktop!
Steps to install a browser on your Palm Pilot
You need to have a browser running on your Palm Emulator to do anything
meaningful on the web. So you need to install one.
Preparation: Palm Pilot Configuration
Right click anywhere on the palm emulator and choose Settings|Properties...
Check the "Redirect NetLib calls to host TCP/IP"
Now you should be able to specify URL to your demo just as you do on
a browser on your computer. Enjoy!
Running the Demo
1. Hide the Cellphone Simulator for now.
2. Open JDeveloper and hit the Run button on index.xsql
in the HRclient project.
3. This will bring up your default browser.
4. Execute a query and insert a new department.
5. Open the Cellphone Simulator.
6. Execute a query (see the new department) and insert
a new department.
7. Open the Palm Pilot Simulator.
8. Execute a query (see the new departments) and insert
a new department.
9. Go back to your browser and show the new departments.
Resetting the Demo
Reset the DEPT table by:
1. Rightclicking the reset.xsql file in JDeveloper and
selecting Run.
2. Or, from your browser: http://xxx.xxx.xxx.xxx:7070/DeptClient_html/reset.xsql.
Fill in your IP address for the x's.
|