In my recent travels, I have encountered some individuals who ask what I do. I have been working on my elevator pitch, and it is harder than I imagined. When I mention that I have a long history with Oracle APEX, I am often greeted with the question….
Q: What is Oracle Application Express (APEX)?
Oracle Application Express is a no cost feature of the Oracle database that enables declarative rapid application development using a combination of Oracle database features and web technology.
APEX is a web based application development framework. It requires an Oracle database to host APEX and can leverage all the features of the Oracle database. The applications are developed using the database, so it has all of the speed, redundancy, backup and reliability of the Oracle database. APEX has been designed to allow applications to be developed declaratively with the option for extensions and custom code development utilizing PL/SQL and any browser based technology. This allows a low barrier for entry as well as potential for advanced development.
Q: “No cost.” Is Oracle Application Express Supported by Oracle?
Why might some people believe that APEX is not supported? Maybe because there are notes about unsupported or undesirable ways to run APEX. This does not mean that every implementation is unsupported.
A perfect analogy is Oracle XE.
XE is provided for entry level usage of the Oracle Database, including APEX. But it is not supported by Oracle Support. Instead:
“Support is provided through a free Oracle Discussion Forum monitored by Oracle employees as well as community experts.”
Does this mean that the all Oracle Databases are not supported? Of course not. Code or applications designed in a XE database can be migrated to comparable versions of “supported” instances.
Q: What is APEX used for?
Web based applications that leverage Oracle Database data.
APEX excels at applications that are transacting, reporting and analyzing data. Many business have created full custom application environments. Some simply use APEX for RICE components. (Reports Interfaces Customizations Extensions) It can be used for many purposes.
APEX does not fit all software development needs, but if the primary purpose is to interface with Oracle data, it is a serious option.
Q: Why should a business consider using APEX?
Speed, maximum return on investment in the Oracle Database and utilization of PL/SQL skilled resources.
APEX is based on the database. If you have skills in the database tools (SQL, PL/SQL, API, etc), reuse in APEX applications is very high. The effort of making APEX declarative caters to individuals strong in SQL and PL/SQL. The amount of time required for APEX to from a table of data to a working application is faster than any other software platform available. As needs and skills in web technologies (HTML, CSS, JS, Jquery, etc) improve, so can the complexity of the APEX applications developed.
Q: Do I need a web server to run APEX?
Technically no, but you should use one for serious work.
Oracle APEX has 3 major connection setups:
Embedded Pl/SQL Gateway (EPG)
This is a method of web server to database connection that has a lot of legacy in the eBusiness Suite. It is a modification loaded into the Apache web server. This is still a supported method. Many of the features have been duplicated and superseded by the functionality in the ORDS tool. The configuration and implementation is different, but the functionality is the same.
Oracle Restful Data Services (ORDS) (formerly APEX listener)
ORDS is a Java application that allows connection to the Oracle database through JDBC. It was originally designed as a Java replacement for mod_plsql, but has grown into its own tool that allows easy and effective data delivery through Rest style communication. It is not limited to APEX, but is currently the primary implementation for APEX.
ORDS can be run in standalone mode or as an application on an existing J2EE application server. When run in standalone mode, the Java application will run resident in the current session and respond to HTTP calls. When installed into a web server (WebLogic, GlassFish, Apache Tomcat are documented), the full features of the web server can be used for authentication, security and SSL. Web servers, as with Oracle Database, have features that can be leveraged and should be used to their fullest extent in order to gain the greatest value from that investment.
Q: Which APEX setup should I use?
Depends on your use case, but ORDS installed into a J2EE web server is the recommended approach.
Analogous to this would be the question: What is the best way to connect to an Oracle Database? SQL*plus, SQL Developer, ODBC, JDBC, OCI, OCCI… It depends on your use case and situation. The web server architecture can be as simple or complex as the business needs. Basic firewall and URL “white listing” is the easiest way to assure that only configured applications and connections are available to external users. These are features of the respective web server choices.
Q: Is Oracle Application Express Secure?
As with any technology or programming language, the level of security or insecurity depends on the people who designed and built the software. The Oracle database is no different from other technologies in this respect. APEX has been designed with security features built in so that security can be implemented in a rapid and declarative way.
APEX applications benefit from security audits and a solid QA process as does any type of software development. This is why utilizing a team of individuals who understand how to develop a secure APEX application in an effective and efficient manner is key to a successful project.