# Using the Oracle Java Cloud Service

Oracle Java Cloud Service is an enterprise-grade platform which allows you to develop and deploy business applications in the cloud. Java Cloud Service is a purpose-built for environments with higher availability needs, such as user acceptance testing, staging and production.

For more information about the Oracle Java Cloud Service, see the Oracle Java Cloud Service documentation library at `https://docs.oracle.com/cloud/latest/jcs_gs/index.html`.

When you connect to the Oracle Java Cloud Service, the background server is associated with a local instance of a WebLogic server. The version of the local server must match the Java Cloud Service WebLogic Server version.

## How to Activate the Oracle Java Cloud Service

You can create a connection to Oracle Java Cloud Service from the Oracle Cloud view, described in How to Create an Oracle Cloud Connection.

Once you have created a connection, you can activate Oracle Java Cloud Service:

1. In the Oracle Cloud view, double-click the Java Cloud Service node or right-click and choose Activate, as shown in Figure: Cloud View - Activating the Java Cloud Service.

   Cloud View - Activating the Java Cloud Service

2. In the Oracle Java Cloud Service Connection dialog:

   - For the SSH Tunnel Configuration, enter the private key file generated by the account administrator as part of setting up the Java Cloud Service.

   - If a passphrase is associated with the private key file, enter it.

   - For the WebLogic Admin Server, enter the admin username and password.

   - Enter the location of the local WebLogic server.

3. Click Finish. When the connection is made to the Java Cloud Service, the connection shows `[Started]` next to the connection name.

## What Happens When You Activate the Java Cloud Service Instance

An SSH tunnel is created to connect to the remote WebLogic Server.

You can expand the Java Cloud Service instance node in the Oracle Cloud view to work with the objects available, as shown in Figure: Activated Java Cloud Service Instance

Activated Java Cloud Service Instance

You only need to activate an instance once. Until you deactivate the instance the connection information is persisted.

## How to Deactivate a Java Cloud Service Instance

You can deactivate an instance by right-clicking the instance in the Oracle Cloud view, and choosing `Deactivate`.

The SSH tunnel is disconnected and the local WebLogic Server instance is removed from the Servers view.

## How to View Properties

You can view properties of the Java Cloud Service connection by right-clicking the instance in the Oracle Cloud view, and choosing `Properties`, as shown in Figure: Java Cloud Service Properties.

Java Cloud Service Properties

In the Properties window, you can change the following:

- The private key file.

- A passphrase associated with the private key file.

- The admin username and password for the WebLogic Admin Server.

- The location of the local WebLogic server.

## How to Open the Oracle Java Cloud Service Console

You can open the Java Cloud Service console by right-clicking the instance in the Oracle Cloud view, and choosing `Open Java Cloud Service Console`.

The console opens in a browser instance.

## How to Open the Oracle WebLogic Server Console

You can open the WebLogic server console by right-clicking the instance in the Oracle Cloud view, and choosing `Open WebLogic Server Console`.

The console opens in a browser instance.

## How to Open the Fusion Middleware Control Console

You can open the Enterprise Manager console by right-clicking the instance in the Oracle Cloud view, and choosing `Open Fusion Middleware Control Console`.

The console opens in a browser instance.

## How to Deploy to the Oracle Java Cloud Service

You can deploy Eclipse projects to Java Cloud Service by dragging and dropping the project onto the Java Cloud Service in Oracle Cloud view.

For more information about deploying and undeploying to Oracle Java Cloud Service, see "Using an IDE to Deploy and Undeploy an Application" in Using Oracle Java Cloud Service.