Welcome to the Introduction to JavaScript for APEX Developers hands-on lab. For developers that know SQL and PL/SQL, no other framework is as empowering as Oracle Application Express (APEX). But at the end of the day, APEX creates web apps, and it's JavaScript that programs the web. Over the years, JavaScript's role in APEX apps has increased, both for the creators of APEX and the developers using it - a trend that will continue in the years to come.
APEX developers only need to know a little bit of JavaScript to have a significant impact, and that's what this hands-on lab is all about! You'll start by learning some of the basics of JavaScript, then learn how to add JavaScript to APEX apps, and finally, you'll learn to use jQuery to work with the DOM.
Before continuing to the first module, follow the steps below to create an APEX workspace using the free tier in Oracle Cloud. If you already have a workspace you'd like to use, you may proceed to the first module.
Lab Modules
| # | Module | Est. Time |
|---|---|---|
| 1 | JavaScript Basics | 60 min |
| 2 | Adding JavaScript to APEX Apps | 60 min |
| 3 | Working with jQuery and the DOM | 60 min |
In this part, you will sign up for an Oracle Cloud trial account. Trial accounts have access to the free tier services and get a $300 credit for other services. This lab only requires an APEX workspace, which is available via the free tier services and will continue to work when the credits expire (after 30 days). Use the credits as you wish to explore other parts of the Oracle Cloud.
-
If you already have an Oracle Cloud trial account (or regular account), you may skip to the next part.
-
Soon after requesting your account you will receive the following email. Once you receive this email you may proceed to Part 2.
In this part, you will log into your Oracle Cloud account so that you can start working with various services.
-
Once you receive the Get Started Now with Oracle Cloud email, make note of your Username, Password, and Cloud Account Name.
-
From any browser go to https://cloud.oracle.com/en_US/sign-in.
-
Enter your Cloud Account Name in the input field and click the Next button.
-
Enter your Username and Password in the input fields and click Sign In.
In this part, you will create an instance of the Autonomous Transaction Processing database service.
-
From the Cloud Dashboard, click the navigation menu icon in the upper left-hand corner and then select Autonomous Transaction Processing.
-
Click Create Autonomous Database.
-
Select the Always Free option, enter
SecretPassw0rdfor the ADMIN password, then click Create Autonomous Database. Note: you may choose a different password, just be sure to make note of it and substitute it any time there's a reference toSecretPassw0rd.After clicking Create Autonomous Database, you will be redirected to the Autonomous Database Details page for the new instance. Continue to the next part when the status changes from:
to:
When you first access APEX you will need to log in as an APEX instance administrator to create a workspace. A workspace is a logical domain where you define APEX applications. Each workspace is associated with one or more database schemas (database users) which are used to store the database objects, such as tables, views, packages, and more. These database objects are generally what APEX applications are built on top of.
-
Click the Service Console button.
-
Click Development option in the menu on the left, then click the Oracle APEX option.
-
Enter the password for the Administration Services and click Sign In to Administration. The password is the same as the one entered for the ADMIN user when creating the ATP instance:
SecretPassw0rd -
Click Create Workspace.
-
Enter the following details and click Create Workspace.
Property Value Database User DEMO Password SecretPassw0rdWorkspace Name DEMO -
Click the DEMO link in the success message. This will log you out of APEX administration so that you can log into your new workspace.
-
Enter
SecretPassw0rdfor the password, check the Remember workspace and username checkbox, and then click Sign In.
-
Click here to navigate to Module 1. Alternatively, you can click the navigation menu icon in the upper-right corner of the browser window to see a list of modules in the lab.
-
Click Module 1: Create an ATP instance.


















