Request A Demo
Back to All Blog Articles

Automating APEX Deployments with FlexDeploy

Oracle’s Application Express and DevOps automation are not often thought about together.  FlexDeploy offers a great solution that will enable you to quickly automate getting your code checked into your favorite SCM, deploying, and then unit testing it.  In this blog, I will show how FlexDeploy enables this and how you can use FlexDeploy for free.

This blog focuses on the APEX application, but FlexDeploy also has a database plugin to move your related schema changes and PL/SQL.

Please reference for more details on build/deploy automation.

Building your APEX Application using FlexDeploy

Building is really a misnomer with APEX.  The normal goal of a build is to make the application available to FlexDeploy to deploy in its deployable form, an EAR file, for example. With APEX, however, the application is already in a deployable form upon export. As such, we just need to check the application into our SCM.   Use the “Export” operation on the APEX plugin to export the application as a SQL file from APEX, then check it into an SCM with the SCM’s plugin.

This process is scripted in our graphical workflow tool, so it is easy to handle differences in build process. For example, if the application is already in SCM, then we can just check it out of the SCM in the build step.

Deploying your APEX Application using FlexDeploy

To deploy the application, just use the Deploy operation on the APEX plugin and set the properties.  Under the covers it is using APEX_APPLICATION_INSTALL.

Testing your APEX Application using FlexDeploy

FlexDeploy has a variety of plugins for testing.  For a Web interface, use the TestNG Plugin to run Selenium tests.  With our upcoming fixpack, we have a utPLSQL plugin to test database objects.

Continuous Integration

FlexDeploy will let you schedule your build/deploy or trigger it when your SCM has new changes.  If testing is successful, you can trigger it to the next environment.

Want More?

For more information, check out our new blog series: FlexDeploy Loves Oracle APEX.

Read the Series

Related Resources

Package-Based Model

FlexDeploy is engineered from the ground up to tame the complexities of large enterprise systems. The package-based model breaks down ...

Streamline SAP Deployments with FlexDeploy

Experience Streamlined SAP Deployments with FlexDeploy  As a leading player in DevOps for Business Systems, we understand the complexities of ...

The Ultimate Solution for Oracle Fusion Middleware Migration

Isn’t it time to automate manual activities and implement DevOps practices for Oracle Fusion (ERP, HCM, CX Sales, CX Service), ...

Join DevOps leaders across the globe who receive analysis, tips, and trends in their inbox