Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Pushing a Java EE App to Oracle Cloud [Video]

DZone's Guide to

Pushing a Java EE App to Oracle Cloud [Video]

Check out this livecoding session to learn how to push a thin Java EE War to Oracle's App Container Cloud service through the command line.

· Java Zone ·
Free Resource

FlexNet Code Aware, a free scan tool for developers. Scan Java, NuGet, and NPM packages for open source security and open source license compliance issues.

Here is a screencast to showcase how you can easily push a Java EE application to Oracle's Application Container Cloud from your command line:

 Overview

  • Start with a Java EE 7 Maven archetype: mvn archetype:generate
    -Dfilter=com.airhacks:javaee7-essentials-archetype
  • Modify the code — add a simple JAX-RS resource and build the project with mvn clean install
  • Add (a tiny bit of) metadata (deployment.json):
{
    “instances”:1,
    “memory”:”1G”
}


Image title

Further Reading

Cheers!

 Scan Java, NuGet, and NPM packages for open source security and license compliance issues. 

Topics:
java ee ,java ,oracle application container cloud service ,cloud deployment

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}