Oracle DBA Tips Corner |
|
Managing Workspaces
by Jeff Hunter, Sr. Database Administrator
Contents
Overview
After installing and configuring Oracle Application Express, one of the first
tasks you will need to perform is to create a new Workspace. Any application
you create in Oracle Application Express will be contained in a workspace. This article
provides the steps along with valuable tips used to create a new Workspace
in Oracle Application Express 2.x. For the purpose of this article, I will be
using instructions and screenshots using Oracle Application Express 2.2.
Installing Oracle Application Express 2.0
About Workspaces
In this article, we will walk through the steps involved to create a workspace
as well as creating a workspace administrator and a developer.
Creating a Workspace
Oracle Application Express 2.2
Oracle Application Express 2.0
Steps to Manually Create a Workspace
Workspace Name: IDEV_TEST
Click [Next>] to continue.
Re-use existing schema?: No
Click [Next>] to continue.
Administrator Username: ADMIN
Click [Next>] to continue.
Creating a New Developer Account
Oracle Application Express 2.2 users can use either the Development Interface or
the Administration Interface to manage user accounts.
Create New Developer Account
User Name: jhunter
Click the [Create>] button to create the user.
Workspace: IDEV_TEST
Click the [Login] button.
All articles, scripts and material located at the Internet address of http://www.idevelopment.info is the copyright of Jeffrey M. Hunter
and is protected under copyright laws of the United States. This document may not be hosted on any other site without my express,
prior, written permission. Application to host any of the material elsewhere can be made by contacting me at jhunter@idevelopment.info.
I have made every effort and taken great care in making sure that the material included on my web site is technically accurate,
but I disclaim any and all responsibility for any loss, damage or destruction of data or any other property which may arise from
relying on it. I will in no case be liable for any monetary damages arising from such loss, damage or destruction.
Oracle Application Express (APEX), formerly called HTML DB, is a rapid web
application development tool for the Oracle database. Using only a web browser and
limited programming experience, you can develop and deploy professional applications
that are both fast and secure.
Instructions for installing and configuring Oracle Application Express can be
found at:
Installing Oracle Application Express 2.2
In Oracle Application Express, all applications need to reside in a
workspace. A workspace is a logical container for one or more applications.
When a developer wants to work on an application, he or she will need to
first login to the workspace that contains the application. Many developers
can be granted privileges at a workspace. A workspace also has what is known
as a Workspace Administrator. A workspace can have one or more workspace administrators.
A workspace administrator can be assigned when the workspace is being created.
Please note that while it is possible for a workspace administrator to perform
development work on an application, this is not good practice as it
makes auditing more difficult. Oracle Application Express tracks all changes
to application objects and allows you to track those changes. Having a separate
account for each developer allows you to easily track and report on those changes
with the knowledge of who is making the modifications.
Creating a workspace is done through the Oracle Application Express
Administration Interface (page) and is typically located at:
http://<machine_name>:7777/pls/apex/apex_admin
http://<machine_name>:7777/pls/htmldb/htmldb_admin
SQL> @apexins.sql apexpwd apex22 apex22 temp /i/ TESTDB
Workspace Description: Testing workspace for idevelopment.info
Schema Name: IDEV_TEST
Schema Password: IDEV_TEST
Space Quota: Large: 50 Megabytes
Administrator Password: manager
First Name: Jeffrey
Last Name: Hunter
Email: jhunter@idevelopment.info
Note that passwords in Oracle Application Express are case-sensitive!
It is always a good idea to print "Confirm Request" screen for future reference.
When I introduced the concept of a workspace, I mentioned that although it is
possible to perform development work as the Workspace Administrator, it is never good
practice. So in this section, we will create a development account.
Managing developer and user accounts in Oracle Application Express 2.0
is not done through the Oracle Application Express Administration Interface.
If you are using Oracle Application Express 2.0 you will need login to the
Development Interface which is accessible
from the normal login page. The URL is generally in the format:
http://<machine_name>:7777/pls/htmldb/htmldb_login
From there use the "Administration" icon and click the down arrow button to select
"Manage HTML DB Users".
Note that passwords in Oracle Application Express are case-sensitive!
Email Address: jhunter@idevelopment.info
Default Schema: IDEV_TEST
Workspace: IDEV_TEST
First Name: Jeffrey
Last Name: Hunter
Description: Sr. DBA / Software Engineer
Password: xxxxxxx
User is a developer: Yes
User is an administrator: Nohttp://<machine_name>:7777/pls/apex/apex_login
Username: jhunter
Password: developer
Wednesday, 09-Aug-2006 01:41:51 EDT
Page Count: 10885