Oracle Apex Interview Questions
Oracle Apex Interview Questions
Q. What is Oracle Application Express?
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.
Q. What are the uses of APEX?
- 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.
Q. What kind of activities you have done for apex as apex dba.
1) setup of apex environment
2) SSL configuration
3) USER access
4) Security modal definition
5) ad hoc issue and resolution
6) Patching /Performance /
Q. How do you know what version apex is install in system
If dba view access then select comp_name, version, status from dba_registry or schema user
Q. How does developer know in which version they are working
Need to check schema name OR select version_no from apex_release;
Q. If you forget admin password ,how will you login to apex application.
We need to call sql scripts to reset the password @apxchpwd.sql (thisis same as alter user username identifies by password)
Q. By which user we connect to apex application.
Q. Who uses APEX?
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.
Q. How APEX Architecture works?
The URL request from the browser is translated 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 translated. Go through Mindmajix Oracle Apex Training to see the practical demonstration of the APEX Installation.
Q. Does APEX works with non-Oracle databases?
Q. What are skills required for APEX Developers?
Q. What are the different type of apex users
Users are divided into three primary roles developer, Workspace administrators and Instance administrators
Q. Some views of apex
Q. How will you validate apex
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
Q. Which user in apex own sso module.
Q. Which scripts need for registration process for SSO?
Q. How will you enable SSO for apex application?
Login to APEX_030200
Q. How will you direct your application to use https instead of http?
create wallet from apache home (wallet should be in ready state)
configure ssl.conf file
verify with opmnctl status -l
Q. I have installed Oracle 11g Enterprise Database with a view to use the embedded APEX but dont know how to launch it.
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
Q. How does APEX integrate with the database?
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.
Q. How is APEX a RAD Tool?
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.
Q. How much does APEX Cost and where can I get it?
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.
Q. What is the current version of APEX and why should I upgrade?
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.
– 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
– The developer can set defaults for wizards to reduce development time (basically themes for development).The benefits of upgrading include performance enhancements and additional usability features for both the developer and the end user.
Oracle Database 10g Express Edition only supports Oracle APEX version 2.2.
Q. What applications come with APEX?
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.
- Ask The Expert – Q&A Site ala “asktom”.
- Bug Tracker – Log and track bug reports.
- Discussion Forum – Threaded chat, user management, and more.
- Document Library – Multi-user document repository (Word, Excel, etc).
- Project Issue Tracker – Define, assign, and report project issues.
- Online Store – Catalog and shopping cart.
- Software Projects – Project task tracker.
You are by no means 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.
Q. Where can I try APEX?
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 systems.apex.oracle.com 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.
Q. What kind of support exists for APEX?
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 answers 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.
Q. Where can I get more information?
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.
Q. What is the future of Application Express?
Oracle has made a large commitment to Application Express. In a fairly short time, APEX has made it to version 3.0. 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.
Q. Are there any limitations in using Oracle XE?
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.
Q. How do I backup and restore an Oracle XE Database?
Backing up and restoring Oracle Database XE is based on protecting the physical files that make up the
There are 6 files in C:\oraclexe\oradata\XE: 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.
Q. How to make applications portable?
To ensure application can easily be moved from one Application Express environment to another you should avoid hard coded references to values that may change between environments.
For example, the application ID is often referenced in URLs throughout an application. The Application Express engine uses the application ID to uniquely identify the application fetched and run from the application repository. Rather than using the actual application ID as is done in the URL below:
It is recommended to use an indirect reference instead:
Here, &APP_ID. is a built in substitution string that replaces the hard coded value 100. Using this technique, no modifications have to be made prior to deployment, even if the application ID changes.
Similarly, to ensure smooth deployment, references to images in templates, HTML regions or SQL queries should use substitution strings instead of hard coded paths.
Consider, for example, an application whose images are stored on the file system in the virtual path /dev/images/ in a development environment and /prod/images/ on the production server.
Use substitution strings at the application level to avoid having to make changes throughout the application before deployment. E.g., define substitution string IMAGE_PATH, and give it a value of /dev/images/
Q. Should static files be placed in the database?
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.
In a high throughput application this may result in undue and unwanted strain on the database.
Q. How do I separate development from production environment?
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. We will add few more Oracle Apex Interview Questions soon.
Q. Which platforms are supported by Oracle Application Express?
Oracle Apex works on the following operating systems:
- Linux x86
- Mac OS X Server
- Linux on Power
- Linux x86-64
- Linux Itanium
- Solaris x86
- Solaris Operating System (SPARC) (64 bit)
- Microsoft Windows (32 -bit)
- Microsoft Windows (64 -bit Itanium)
- Microsoft Windows (x64)
- HP-UX PA -RISC
- HP Tru64 UNIX (Compaq / DEC)
- HP-UX Itanium