Approx 2 hrs.
Usefulness: 3 stars out of 5.
The purpose of this Wiki entry is to outline my progress with the desire to learn how to create a Web Application in an iPhone. Specifically, I just wanted to know how to handle the iPhone UI aspects...the rest of the Web Application building stuff, I wanted to be in a separate tutorial. Here are my comments:
Commentary: I finished this stuff, there were quite a few small mistakes (maybe a difference of JDeveloper from when tutorial was created. Mine: Studio Edition Version 11.1.1.0.1, Build JDEVADF_MAIN.BOXER_GENERIC_081203.1854.5188. Date when I embarked upon this attempt: June 26, 2009). I also found the tutorial to contain too many concepts for an absolute beginner. All I wanted to know was how to create an iPhone application...specifically the UI aspect. It went into creating validated database controls, etc..., which I want to learn later. I'm a strong believer in getting the right granularity in a tutorial...should be do-able in less than 20 minutes! I may try to reproduce the tutorial with more appropriate scope...we'll see if I get around to it.
The following are the steps I took in the tutorial:
====
First I started with this file:
- http://www.oracle.com/technology/pub/articles/huang-iphone.html
Here I put in the 320x480 resolution required for iPhone. This is good to know.
===
Okay the next step turned out to be unnecessary.
Then I found I needed to look at:
- Configuring the ADF Mobile Environment
in the help inside JDeveloper.
Here I basically followed all the steps to get my environment up and running. Still however no real application has been created...since I don't know any ADF at this point...need to go on from here with ADF stuff.
===
This looked like the next best place to be:
http://www.oracle.com/technology/products/jdev/11/cuecards/adf_set_51/ccset51_ALL.html
===
Install the database Oracle XE as it's needed for the schema, etc...
===
need to install the FOD schema as per:
http://www.oracle.com/technology/products/jdev/samples/fod/index.html
===
come back to:
http://www.oracle.com/technology/products/jdev/11/cuecards/adf_set_51/ccset51_ALL.html
Step: Create a New Application
===
Finish the rest of this tutorial and you have a WebCenter iPhone application.
http://myfaces.apache.org/trinidad/devguide/skinning.html
http://download.oracle.com/docs/cd/E12839_01/web.1111/e10140/toc.htm
=====================================
Now I'm going to try out web services in JDeveloper
http://technology.amis.nl/blog/5560/publish-a-webservice-from-a-poja-plain-old-java-application-that-is-out-of-the-container-using-endpoint-class
package nl.amis.ws;
public class UpperCaser {
public String process(String text) {
return text!=null?text.toUpperCase():"";
}
public static void main(String[] args) {
}
}