Shay Shmeltzer's Oracle Development Tools Tips

Deploying Oracle ADF Applications on the Oracle Java/Database Cloud

Shay Shmeltzer
Director of Product Management - Oracle

With the new Oracle Cloud environment you no longer have to maintain a WebLogic server or a database server of your own, you can instead use instances hosted in the Oracle Cloud.

One nice feature of the Oracle Cloud is the support for deployment of Oracle ADF applications. In this entry I'll walk you through the basic steps you'll need to follow to get things working.

The first step is to get an Oracle Java Cloud Instance available for you - you can get a trial version here - this will also include an instance of an Oracle database onto which you can deploy your database objects.

Once your request gets approved you'll get an email with the cloud connection information for your instance. Guard this email - it has all the basic connection information and you'll be referring to it on a frequent basis.

Now you are ready to deploy your application.

The first step is to create a user in the database that will have your data (tables, procedures etc). To do this, go into the Oracle instance you got - this will be an APEX interface. In there go and create a new user - remember that user name. In the video below the user is called Summit.

Next you'll want to create/populate the tables of data. This can be done from inside JDeveloper. Open the database navigator, and you'll notice a new type of connection there - the cloud connection. Create a new connection mapping to the user you just defined (Summit). Now to create the tables and data we are going to use the Cloud Cart functionality in JDeveloper.

Open the Cloud Cart (from the JDeveloper View->Database->... Menu option). And simply drag into it any DB object that you require directly from your "regular" DB connection. Once you dropped all the tables, you should probably also click the data check box if you want the data to be transferred too (this is missing in the video so here is a picture).

When you are ready to do the import click the cloud button on the cart and this will create a new batch job that will upload to the database. You can track this deployment job directly from inside JDeveloper as well.

Once the tables are in place you are ready to move to the next step - the ADF application deployment.

One thing you'll need to change is the definition of the database that you are connecting to. Since you can't actually define data sources on the hosted WLS, you'll want to use the one which is already defined - it is called "database".

Go into your Application Module configuration and update the connection to use a JDBC DataSource called database.

Now you are ready to deploy your application - from the application menu choose deploy -> to application server.

You can define a new application server connection of type "Oracle Cloud" and this will allow you to directly deploy your application onto the server.

Once deployment is done - you are ready to access your cloud based application.

Check out this video for a demo of the above steps. 

If you are running into issues while deploying you'll be able to get more information in two places:

First you'll get a log from your deployment job - this can be directly opened in JDeveloper by clicking the link in the log window:

For more details - you can look into the server's log from the Java service console - click the "View log messages".

Need more information on deploying Oracle ADF on the Oracle Cloud - see additional blog entries:

Andreas Koop - Deploying ADF Applications into the Oracle Cloud Using JDeveloper

Andrejus Baranovskis - My ADF Sample Apps Live in Oracle Java Cloud

Join the discussion

Comments ( 11 )
  • guest Sunday, February 24, 2013

    Thanks Shay. It helped us as well. We are expecting more for the Oracle Cloud from this blog.

    We have got it signed up for one of our customer but we have deployed using your post. Thanks again.

  • Nikhil Misra Monday, March 4, 2013

    Hi Shay,

    I did signup for free Oracle cloud account. I have got all the details and able to create a new user as well.

    But , in my mail I cannot find any sftp password details.

    I have just got the sftp account name.



  • Shay Monday, March 4, 2013

    Nikhil, you should be able to modify your password from the identity management console - which is linked from the email you got once your account was approved.

  • Nikhil Misra Friday, March 8, 2013

    Hi Shay,

    I can see that I can change the password ffrom Identity Mgmt console, but is that sftp password, my main issue is with sftp account.


    Nikhil Misra

  • krishna Ravuri Wednesday, April 3, 2013

    Hi Shay,

    Good tutorial on Cloud deployment.

    I requested for one Trail cloud instance online by providing some credit card number(might be for identity check), but i am not get any mail regarding my trail version. any idea?

  • guest Tuesday, November 19, 2013

    Hi Shay,

    Thanks for the great post. Could you please tell me how we can know the right version of Jdev to use?


  • Shay Tuesday, November 19, 2013

    The JDeveloper download page lists the version you need for cloud.

    Right now it is

  • Pradeep Wednesday, November 20, 2013

    Hi Shay,

    Ok, thanks for the reply.

    Just curious, can we deploy SOA and BPM application in JAVA could or it only supports ADF? Thanks.

  • Shay Thursday, November 21, 2013

    Pradeep - right now it is Java and DB services only

  • sridhar gajjala Friday, January 22, 2016

    Hi, I am getting the following error when I open the JSF page after successfully deploying both the backend table and application..

    Messages for this page are listed below.


    While trying to lookup 'jdbc.DEV12DS' didn't find subcontext 'jdbc'. Resolved ''


    While trying to lookup 'jdbc.DEV12DS' didn't find subcontext 'jdbc'. Resolved ''

    Am I missing a step for configuring the cloud database connection on the Application?



  • Shay Shmeltzer Wednesday, January 27, 2016

    Sridhar, looks like you are missing something in the configuration of the data-source in the JCS.

    Maybe this newer tutorial can help -


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.