Top 31 Oracle Apex Interview Questions You Must Prepare 24.May.2024

Need to check schema name   OR select version_no from apex_release;

Login to APEX_030200



apex_workspaces,apex_workspace_activitiy_log etc

Oracle apex by default while installation of oracle DB .But you need to configure access mechanism to launch APEX application.

  1. Apache (Web Server)
  2. Embedded PL/SQL gateway
  3. Oracle Listner

APEX comes pre-installed and completely integrated with Oracle Database Express Edition(XE). For all other editions of Oracle Database, Oracle Application Express comes as a free add-on that can be downloaded and installed. If you chose to “try before you buy”, or since it’s free, “try before you install”, you can also use the hosted APEX Online facility. This facility allows you to create and run complete applications just as you would on your own equipment.

As mentioned above, you can sign up for a free account at APEX.ORACLE.COM (Oracle’s hosted Application Express site). When you sign up for an account, you identify the work area name that you want to use and identify an administrator. From there you can create applications and users just as you would on your own hardware and is not intended for production systems, it is intended for exploration and testing. For additional hosting companies, check out the Oracle. These sites offer varying levels of hosting including free developer access and full application deployment.

Oracle has made a large commitment to Application Express. In a fairly short time, APEX has made it to version 3.@Every release makes it easier to use and deploy applications. While recent releases have improved APEX integration with SOA, APEX does not try to compete with jDeveloper or the Oracle Java stack. APEX is the glue that can combine various parts of an enterprise solution into a whole. APEX is the tool of choice to create web-based, database-centric applications. If your business logic is in the database tier, APEX is the way to go. If your logic is in the middle tier or is implemented at the java level, J2EE may be the better choice. APEX take-up has doubled in the past year and thousands of developers are using APEX. Numbers like these ensure a healthy future for APEX. A recent INFOWORLD ARTICLE contains the following:

“We’re going to take out the need to understand the database,” said Mike Hichwa, vice president of software development at Oracle, talking about Application Express 3.1, which is likely to appear before year-end. The next release of the tool will retain its core functionality but will also be more wizard-driven so it’s easier for nonprogrammers to use, he added.

Application Express enables Oracle database users, including those with limited technical skills, to create and manage secure Web applications using only a Web browser. The tool can be used to prototype Web-based applications as well as run those applications supporting tens to thousands of users.

Currently, Oracle estimates that around 100,000 developers are using Application Express on a monthly basis, but the company would like to open up the tool to many more users, Hichwa said. Oracle’s particularly interested in those people who are currently using Microsoft Corp.’s Access database or its Excel spreadsheet or IBM Corp.’s Lotus Notes groupware to develop Web- based applications.

  • setup of apex environment
  • SSL configuration
  • USER access
  • Security modal definition
  • ad hoc issue and resolution
  • Patching /Performance /

In addition to the OTN forums and community sites, Application Express has a huge following in the blogosphere. Many expert level resources maintain blogs about APEX.

Some particularly well known blogs are:

SCOTT SPENDOLINI– APEX Guru and owner of Sumner Technologies (an APEX Training, Services, and Consulting company).

PATRICK WOLF– Inside Oracle APEX, Patrick is along-time Oracle veteran.

DIMITRI GELLIS – Another long-time Oracle vetand co-founder of APEX Evangelists, an APEX specific company, with John Scott.

JOHN SCOTT– As mentioned above, co-founder of APEX Evangelists, an Oracle ACE, and Application Express Developer of the Year for2006.

You can find all of these and more at the OTN COMMUNITY SITE.

Users are divided into three primary roles developer, Workspace administrators  and Instance administrators

If you are running on oracle database and you want to build rich web application with reports, forms, charts, drill downs and dashboards with limited Java experienced developers in a short time frame, Oracle APEX is the most likely candidate for consideration.

Oracle Apex works on the following operating systems:

  1. Linux x86
  2. Mac OS X Server
  3. Linux on Power
  4. Linux x86-64
  5. z/Linux
  6. Linux Itanium
  7. Solaris x86
  8. Solaris Operating System (SPARC) (64 bit)
  9. Microsoft Windows (32 -bit)
  10. Microsoft Windows (64 -bit Itanium)
  11. Microsoft Windows (x64)
  12. AIX5L
  13. HP-UX PA -RISC
  14. HP Tru64 UNIX (Compaq / DEC)
  15. HP-UX Itanium

Yes, it is absolutely right. 

You should have a pleasant personality in order to impress your customer. Make sure that you talk to them with a smile on your face. It will create a friendly atmosphere between you and your client. Your one smile can make them feel comfortable. 

Having patience is another important aspect of a sales job. You meet customers with different attitude each day. Attend to their queries patiently. Do not express any sort of dissatisfaction. Always remember, having patience will give good results at the end.

  • Create wallet from apache home (wallet should be in ready state)
  • configure ssl.conf file
  • restart apache
  • verify with opmnctl status -l

APEX is installed on Oracle database (above 9.2 version), starting from Oracle 11g it comes pre-installed with the database. It is comprised of meta data in tables, pl/sql code and extensive JavaScript APIs.

The URL request from the browser is trlated into appropriate APEX PL/SQL call by either Oracle HTTP Server (Apache) with mod_plsql plugin or Embedded PL/SQL Gateway. This varies by the type of APEX installation on oracle database. After the data is processed, results are relayed back to browser as HTML. This cycle happens each time user request or submit a page. The application session state is maintained in database tables.

APEX installation can be done in two ways. DBAs are more concerned about it than developers. But this determines how the URL is trlated.

SQL, PL/SQL are essential. HTML, CSS and JavaScript are good to have skills to understand and customize look and feel (themes, templates, …. ).

Utlrp.sql  or

SQL> exec validate_apex; (If your APEX version is 2.0 or above)


SQL> exec validate_htmldb; (If your APEX version is prior to 2.0

Oracle Application Express (also called APEX and formerly called HTML DB) is a FREE RAD web development tool. APEX is written using PL/SQL and runs completely inside of a web browser. Apex is an IDE and a runtime environment. You use APEX to write web applications. Users, using their database user ID, log into APEX and run their application from a menu. With the APEX IDE, you can create forms, reports and charts. All of the normal web widgets are available: radio groups, buttons, drop down lists, date pickers, etc. You can even integrate your own JavaScript code should you need it. Output from APEX applications can be to the screen or to PDF, Excel spreadsheet, Flash, or even integrated into a web service.

You can use a supplied theme for a consistent look and feel or create your own theme for a personalized feel to your application. The most important thing to remember about Oracle Application Express is that it is designed from the ground up to be tightly integrated with the Oracle Database, to be a fully capable web development environment, and to be easy enough for savvy business users to create or extend applications for themselves.

Backing up and restoring Oracle Database XE is based on protecting the physical files that make up the database:

There are 6 files in C:oraclexeoradataXE: CONTROL.DBF, SYSAUX.DBF, SYSTEM.DBF, TEMP.DBF, UNDO.DBF and USER.DBF.

The control file SPFILE is in C: oraclexe app oracle product 10.2.0 server dbs.

If in ARCHIVELOG mode, the redo log files should be backed up. Two redo log files are in

C: oraclexe app oracle Vlash_recovery_areaVE ONLINELOG.

Cold back up is when you stop the database and zip up all those 9 files (in NOARCHIVEMOD). When you restore the database copy all 9 files back to the same folders.

If the application is in ARCHIVEMOD and should run 24X7 then use hot backup.

If dba view access then select comp_name, version, status from dba_registry or schema user.

Oracle Application Express is truly a database application. The IDE, the menus, and all of the screens you see in APEX are written in PL/SQL. The meta data for all of those screens, reports, and menus are stored in relational tables within the database. When you point your browser at the APEX URL, the Oracle HTTP listener (Apache +mod_plsql or the PL/SQL gateway, depending on database version) receives that call and uses PL/SQL and the meta data stored in database tables to paint the welcome screen.

When you log into APEX you are using an actual database user ID. This user ID is associated with a role (or roles) within the database and these roles determine what access you will have. If you are an administrator, you have access to create users and workspaces. As a developer, you have access to create new applications. If you are configured as an end-user, you will be able to run one or more applications. Oracle Application Express is integrated with the Oracle Database as no environment is. If you need to extend the basic functionality of APEX, there is no need to learn additional languages or link in additional libraries. On the rare occasions you need to extend functionality, you’ll either use SQL for data access or PL/SQL when procedural code is required.

  • XE is free but Oracle has built certain limitations into the product.
  • The first limitation is memory. Oracle Database XE can address only 1GB of RAM. This limitation mainly affects how many users can access the database concurrently and how well it performs.
  • The second limit is that XE will only use one CPU. XE will run on a multi -CPU computer but wont scale up to use those CPUs. This functionality requires Oracle Database Standard Edition or Enterprise Edition.
  • The third limit is that only a single XE database can run on any given computer. You do not need a database for each application. Instead, Oracle uses the concept of schemas to separate applications.
  • Finally, a 4GB limit is enforced on disk space. 4GB is a huge amount of storage for most applications. You can also use APEX to link to other databases (on other servers) for more storage as needed.

  • Depending on requirements for the availability of the application, the size of the user population and other factors you can decide how to divide the development environment from the production environment.
  • For certain applications, it is acceptable to combine the development server with the deployment server, as long as the end users understand that sometimes the application is not available.
  • Other applications may require two (development and production) or even three (development, test and production) servers.
  • In Application Express applications can be moved from environment to environment using an export and import facility for application definitions.
  • With one server available to run the database and Application Express, you can still separate the development version of an application from its production version by using two workspaces accessing separate schemas.
  • In this case one workspace will be used by developers and the other will be the workspace in which the application is deployed in production.

The current version of APEX allows you to download pre-packaged applications for you to learn from and/or modify for your own uses.

You can currently download (form Oracle’s Technology site):

Employee Directory Lookup – This is exactly what it sounds like.

  1. Ask The Expert – Q&A Site ala “asktom”.
  2. Bug Tracker – Log and track bug reports.
  3. Discussion Forum – Threaded chat, user management, and more.
  4. Document Library – Multi-user document repository (Word, Excel, etc).
  5. Project Issue Tracker – Define, assign, and report project issues.
  6. Online Store – Catalog and shopping cart.
  7. Software Projects – Project task tracker.

You are by no me limited to this list of projects. An Internet search for “oracle APEX projects” Gets almost 500,000 hits and more are being posted all the time.

Beta version APEX 4.2 is released a couple of weeks back. This new version offers many enhancements.

Among the most useful are:

Print to PDF

  • Users can chose to export their reports and screens to PDF output.

Migrate from MS-Access

  • Using an export tool and the Access Migration Workbench, you can migrate user applications to APEX.

Calendar Widget

  • Older versions included a calendar widget but now users can choose between day, week, or month calendars.

Improved Page and Region Caches

  • Caching improves performance.

Application Builder Defaults

  • performance enhancements and additional usability features for both the devel The developer can set defaults for wizards to reduce development time (basically themes for development).The benefits of upgrading includeoper and the end user.

Oracle Database 10g Express Edition only supports Oracle APEX version 2.2.

Because APEX is so tightly integrated to the database, you can prototype screens while sitting with the user. The Object Browser allows you to create database objects such as tables in addition to viewing those same objects. This allows you to create objects on the fly and then build tables around those objects. The IDE, including the above Table builder, and all applications are run within a browser. Turn-around time is immediate. Because APEX is declarative, you can easily make changes in real-time via the built-in wizards. Because APEX controls session information for you, and because you use the security framework built into the Oracle Database, you can concentration delivering applications, not on connection configuration and other typical web development time wasters.

  • Application Express applications may reference additional external files such as cascading style sheets (CSS), images and Javascript libraries.
  • These images can either be placed on the file system of the server that runs the web server or, when they are uploaded using Application Express’s application builder, can be stored inside the database.
  • A benefit of managing files such as images and CSS in the database with the application builder is that they can be exported and imported into another Application Express environment or workspace using only a browser.
  • However, storing related files in the database is recommended only when you have relatively few images and when the application is not expected to endure high request throughput.
  • When images, CSS and Javascript libraries are stored in the database, a database connection is established each time the browser requests one of these files.
  • In a high throughput application this may result in undue and unwanted strain on the database.

Application Express has a robust community to help you develop, deliver, and use APEX applications. The first stop for support would be the APEX Forum sat Oracle Technology Network. This active forum provides tips and wers from many experts both inside and outside of Oracle.

Other sites include:

THE APEX WIKI – Wikipedia for the APEX crowd.

APEX STUDIO – Community created applications available for download.

APEX MAILING LIST – Sign up for info and Q&A.

THE ORACLE APEX COMMUNITY LISTING The list is growing daily.

  • Builds professional looking web applications that are both fast and secure.
  • Runs on and lives in Oracle database. APEX framework and meta data are stored in Oracle tables.
  • It is FREE. No licensing required.
  • Fast learning curve for developers to build application.
  • Deployment of application is as simple as ‘Export and Import’ if hard coded references of values that change between environments are avoided.
  • Lot of scope for customization of application look and feel.
  • Scalable for high user volume. ASKTOM, former ORACLE METALINK (before migrated to Flash version) and MANY APPLICATIONS are built using APEX.
  • Can be configured to use Oracle SSO and EBS fnd user repository.

We need to call sql scripts to reset the password  @apxchpwd.sql (this is same as alter user username identifies by password)