In my next series of articles starting with this, I will create Anil's OA Framework tutorials in Oracle Application Express. I start
with Simple Search page and add Delete, Add, Update Person functionalities. I will also share Packaged application for each of these articles, so you can import it in APEX and run it without going through step-by-step approach for creating the application from scratch. The video demo at the end of this article shows how to deploy packaged application into Oracle Application Express.
The underlining motive is to give you a perspective on how both Oracle technologies (OAF and APEX) perform in rapid application development. If you are new to Oracle Application Express (APEX), recommended readings before going any further are APEX Introduction and Basic Concepts.
Objective: Create Simple Search page using APEX 3.2. At the end of tutorial page should look similar to below screenshot.
Implementation Steps
- Create database objects with sample data in workspace schema.
- Create APEX application with Simple Search Page.
Step 1: Create database objects in Workspace Schema
I need underlying database objects available to APEX workspace schema before building application. Workspace Schema is a database schema attached to APEX workspace. A workspace can use one or more database schemas. As APEX meta data is stored in workspace schema, it is advisable to separate custom data objects for the application by storing them in different schema and create synonyms, grants to workspace schema. For example, if I'm building Sales Order report of the view oe_order_headers_v in APPS schema, I will create a private synonym in workspace schema and grant privileges to it from APPS schema.
For simplicity of this tutorial, I'm creating database objects directly in workspace schema. I'm using same scripts from OA Framework Tutorial 01 with few modifications for creating xx_person_details table, and populating it with sample data. I replaced per_people_s sequence with custom sequence xx_person_id_s in create person API and populating bigger sample data.
The scripts can be downloaded from this link.
Video for creating database scripts in APEX (4:34 min).
Step 2: Create APEX Application using Application Builder
Application Builder is used to create application and pages. I will create simple search page using wizard and edit the page to my requirement.
Video for creating and editing Simple Search page (12:04 min).
Video for explaining Page Rendering and Processing (8:10 min).
Search page created in APEX looks like in below screenshot. My application can be accessed using the url http://apex.oracle.com/pls/apex/f?p=62577:1
This tutorial gives you an idea of how simple and fast developing web applications can be with Oracle Application Express.
Packaged Application for Simple Search page
My Packaged applications are created using APEX 3.2 version, you can only import them into APEX with same version. This packaged application has supporting objects i.e. table and sample data, along with apex application. You can import and run it without going through the above steps.
Download Tutorial 01 Packaged Application
Video for deploying packaged application (2:41 min). This video is applicable for deploying packaged applications for my next articles as well.
The next article I will implement delete Person functionality as in OA Framework Tutorial 02.
written by Mohanrao , April 08, 2009
when i registered in apex. oracle. com , after completing the registration i got only userid and workspace and i got one link belongs to application express. If i go through that link, iam getting serve not available. i didnt get password.
can i know what is reason?
written by Nawfal Mami , April 08, 2009
As of know I have developped one small application on my machine (local) using my own database with APEX 3.2 my question is how I deploy this application so other end user can access it from their machines?
wich URL I have to give them?
localy I'm using this URL://127.0.0.1:7777/pls/apex/f?p:101:1 it works and I can access to my application
where I'm missing steps?
Thanks a lot for updates.
rgds
Nawfal
written by abdul , April 09, 2009
I am new to this application and your article has been really great to start with for the new developers.
I have a small question here for you. When we access the oracle express we have the workspace created for us with few sample tables. I wanted to work with few of the standard table of an AR application, do we have any feature to connect to my own database and access those tables or any way where i can import those table data into my workspace? Basically i wanted to work and create screens based on those applications.
Thanks
Abdul.
written by abdul , April 09, 2009
Thanks for the quick reply and i am eagerly waiting for that article..
. One additional thing ,Lets say i have developed an application using Oracle Apex me as a user i can run the page and see the functionality, when i want to deploy
this to users how do we do that, i mean how will they login and how to check that feature with our application. Can you please explain the flow of it.
Thanks
Abdul.
written by Mohanrao , April 09, 2009
Thanks for ur reply regarding my question. Please keep updating of the next. Yes, i got the confermation mail and password and workspace name after few minu..............
Now i am able to run the application. Thanks for ur quick reply RK...........
Bye .
written by SaravananSeshan , April 13, 2009
Foremost, thanks for sharing all your valuable experience and for spending your time.
Could yo please explain the usage of packages which we are mentioning in all the phases of creating BC4J?
Thanks in advance.
Saravanan S.
written by abdul , April 14, 2009
I have question on the search page implementation, when we search using any of the column in the resulting table we get results based on the values present in all the column, example if i search by order_id with value 1, the page is searching with value 1 in all the columns like order_id,customer_id etc., i want my search only on one column how do i achieve that...?
Thanks
Abdul
written by Jeff` , April 17, 2009
How do I deploy an apex so inorder to access it over a local area network,though i can acess the application on my machine via the URL: http://127.0.0.1:7777/pls/apex/f?p:101:1. and this link doesnt work on other machines on the network.
Jeff
written by Jeff` , April 22, 2009
Thx for ur response to my last inquiry but I tried it and couldn`t connect to the application login page.Just like I said earlier,I created the application on my machine and the login page add***s is:http://127.0.0.1:8080/apex/f?p=100:1:1469026532281424:::::.I did IPCONFIG and got my IP add***s as 172.12.11.41,replaced 127.0.0.1 with it but still couldn`t connect.
I`d like to know how I would be able to access the same application from another machine,either over the LAN or internet.
Anticipating ur usual prompt response
written by Jeff` , April 23, 2009
my port no. is 8080,i just used 7777 as an example.am using oracle xe and am wondering if it has oracle http server bundled with it.If http server has anything to do with the problem,can i use apache cos` its more simplier to download n instal as a standalone.
Any other suggestions from are welcome
THX
written by Jeff` , April 24, 2009
Another one, can it talk 2 excel worksheet,whereby i update the excel doc n it automatically updates on my application in apex???
written by Jeff` , April 24, 2009
written by JohnJavier , May 02, 2009
Thanks.
John
written by ashish12345790 , May 05, 2009
where u execute that command dbms_xdb.......... i am not able to access my application over other m/c with in LAN..help me plz
written by missy , August 03, 2009
After watching 3 of your tutorials I was inspired to learn more about Oracle and its Application Express. I was always intimidated by Oracle but no more.
I am about to watch the others . I am impressed with your delivery of the tutorials.
Thanks again
Missy
written by Marcel , December 08, 2009
so , I will search the data in table X and fill the fields with these returning data , but these form fields will insert
into another table,
could you help me
written by Marcel , December 08, 2009
with the fields : emp_cod , emp_name ( it will be duplicated ) , sports_choose ( radio item ) , color_choose, etc,
the emp_name , emp_cod ( hidden field ) will be filled automatic after the search emp_cod from emp table and will not allow to change , to insert into EMP_SURVEY , also after search in emp_cod I like to go to the form EMP_SURVEY.
Thanks.
written by Marcel , December 08, 2009
I think it is what I'd like to do,
do you have an example?
thank you very much.
written by Ankur_Sar , September 09, 2010
Is there any link from where I can download the video for search page etc . I cannot connect to Internet full time so I need to check them when I am not connected .






Thnaks so much for this valuable training posts. Please keep updated.
One question : I have developped a small application but I don't know how to deployed?
Oracle DB : 10gR2
Apex: 3.2
windows XP SP2
rgds
Nawfal