Continuous development with Oracle Java Cloud Service and Developer Cloud Service

When you have a project in JDeveloper and a Java Cloud Service, you can use Developer Cloud Service to

  • store your code as remote git repository
  • to build automatically the code at commit time
  • and to deploy it to a Java Cloud Service (Weblogic in the cloud) if the build is successful.

You can do it like this:

  1. In JDeveloper (or manually), create a local git repository.
    Menu : Team / Git / Initialise
  2. Add all the files of the JDeveloper application to the git repository
    Menu : Team / Git / Add all…
  3. Commit to the local repository
    Menu : Team / Git / Commit all…
  4. In DCS, Create a remote git repository in Developer Cloud Service
    Copy the HTTPS url of the repository in a text editor, you will need it later.ex:
  5. Add a build.
    • Go to main tab “Build”
    • Click “New Job”
    • In Subtab “Main”, give a name, for ex: BuildWorkBetter
    • In Subtab “Source Control”, choose the GIT repository created in step 4
    • In Subtab “Triggers”, check the “Based on SCM polling schedule” checkbox to allow automatic compilation when the DCS GIT repository is modified. Leave the schedule empty.
    • In Subtab “Build Step”, set the way to build the program, for example
      • Add Build Step : ant
      • Set Targets : deploy
      • Set Build File : build.xml
    • In Post Build, define the artifacts (the result of the build)
      • Check “Archive the artifacts
      • File to archive. This is the place where for example your ear and war file will be created. Ex: ViewController/deploy/*3_post_build
  6. In JDeveloper, push the local GIT repository of JDeveloper to the remote repository in DCS.
    Menu : Team / Git / Push …
    – URL use the https url of step 4
    – username: use your cloud user name
    – password: use your cloud password
    Click Next
    Click Finish
  7. Back in DCS,
    In the tab “Code”,  you will see that your code is now in GIT.
    1.codeIn the tab “Build”, you will see that the code is being

    If it compiles, you will see the list of artifacts in build tab.

  1. In DCS, click on the tab “Deploy” and click “New Configuration”
    • Configuration name : DeployWB
    • Application
    • Deployment Target (New Java Cloud Service)
      • Protocol SSH Tunnel
      • Host: your Java Cloud Service Admin Server IP (1)4_JCS
      • HTTPS: 7002
      • Adminitration Port : 9001
      • username : <<weblogic user>>
      • password : <<weblogic password>>
    • Type: automatic
    • Job : BuildWorkBetter
    • Artifact : select the .ear file
  2. Click “Save”


  1. IN JCS, you can check that the deployment has succeed. Log in to the Weblogic Server Console. Go to deployment, look for your deployed project.
  2. Get the URL of your external IP, probably a load balancer (2)
    Check that it works.https://<load balancer IP>/<Application URL>

Compiling a JDeveloper project on Developer Cloud Service

In the current version of Developer Cloud Service, it is not possible to compile directly a JDeveloper project.

But there is a work-around by using an ANT script and odeploy.

Press the little down arrow, next to the project name and click “New…” / “Gallery”

1 - new ant script

Then select “Buildfile from Application”.

In the application resources, you will find a build.xml and

You need to change them like this:

And, need to look like this:


I have always being interested in IA. And it seems the Deepmind bought by Google created a program that get better result than previous types of neural network.

They did release a paper and a part of their demo code. Here is how I tried to install it.