How To Deploy An ADF Project Within An Application From JDEveloper

In this post I will explain what is the correct and standard way to deploy an ADF application (project) from JDeveloper.
Usually, when we want to deploy, let’s say – a SOA or a BPM project, we have to right click on the project, and deploy it to the required managed server. It can work the same way for an ADF project, but it is not the recommended way.

So, the next steps will guide through the right procedure:

1. Make sure, before the deployment, that the target server is up and running, and the connection was established on JDeveloper

2. Create a new application (dedicated for ADF project only)
Locate the application in a new dedicated folder

3. Create or copy the ADF project under this new application

4. Right click on the Application menu (not on the project) and deploy the project to the application server

To overcome it, make sure you followed the above steps. Also, go to the Application root directory, and make sure that under the deploy folder there is a file with .ear extension called – xxx.ear (xxx = your project name). If you can’t find this file, you will need to create it (from some reason, the deployment process didn’t create it):

Right click on the application menu and deploy the project. This time choose Deploy to EAR. Make sure it was created under the deploy folder