The Cloud has become an integral part of the IT Ecosystem. Organizations are moving their huge physical IT infrastructure to the Cloud for better governance, lower TCO and better ROI. This article showcases the simplicity of using Oracle Java Cloud Service (JCS), Oracle Database Cloud Service (DCS) and JDeveloper 12c to develop, deploy and test Web Applications
I have taken a simple use case of creating an HR Application to show and modify employee information.
In this exercise,
- Create Database Cloud Service
- Connect DCS using SQL Developer
- Set up HR User in DCS, create tables and populate data
- Develop HR Application using JDeveloper 12c
- Create datasource in JCS to connect HR Schema
- Set up Putty to tunnel JCS connection
- Set up JCS Connection using JDeveloper 12c
- Deploy HRApplication to JCS using JDeveloper 12c
- Access diagnostic logs using Putty
Create Database Service
Log in to Oracle Cloud Service at https://myservices.oraclecloud.com/mycloud/faces/gDashboard.jspx
This dashboard page will open:
Click "Open Oracle Database Cloud Service" to open the page below:
Click the “Create Service” button to create a new Oracle Cloud Database Service. The page below will open. Select Service Level.
The first option, Oracle Database Cloud Service, will be enabled only if the associated Oracle Cloud Storage Account has a container created and available.
Otherwise, choose the Oracle Database Cloud Service-Virtual Image option.
Billing Frequency needs to be specified even if you have a trial account. I have selected “Monthly."
Click “Next.” You’ll see this screen, where you can specify the database version:
Click “Next” and select your Software Edition. I have selected Enterprise Edition.
Assign values to the required attribute:
- Service Name – Specify Database Cloud Service Name
- Compute Storage – Select configuration you would like to use
- VM Public Key – Supply Public Key (created as part of prerequisite)
- Usable Database Storage – Specify storage requirement for the database service
- Total data file storage – Specify total data file storage
- Administration Password – Specify Password for the SYS user
- Confirm Password specified above
- DB (Database) name – Automatically populated. User can modify if required.
- PDB (Pluggable Database) Name – Automatically populated. User can modify if required.
- Backup destination – The “Both Cloud and Local Storage” option will be available only if container is configured. Otherwise, user can select “Local Storage Only.”
If backup destination is “Both Cloud and Local Storage,” user will have to supply:
- Cloud Storage Container – e.g., identityDomainName/containerName
- Cloud Storage User name – cloud admin user name (normally email id)
- Cloud Storage Password – cloud admin password.
Click “Next.” Confirm on the landing page to start creation of DBaas Service. Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.