Posts Tagged ‘Application Cloud Container’

image_thumb[1]

In part 1, yesterday, we deployed a Node.js application, with static resources architected on Orace JET, to the Application Container Cloud Service (ACCS). However, ACCS is also applicable to Java SE applications.

There are several use cases for running Java SE applications on ACCS:

http://docs.oracle.com/cloud/latest/apaas_gs/apaas_tutorials_create_sample_java_se_applications.htm

I followed this scenario:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/apaas/griz-jersey-intro/Grizzly-Jersey-Intro.html

However, I wanted to serve up JSON, rather than Strings, so I rewrote "getAllCustomers" in "CustomerService" to the following:

@GET
@Produces(MediaType.APPLICATION_JSON)
@Path("/all")
public GenericEntity<list> getAllCustomers() {
    List list = CustomerList.getInstance();
    return new GenericEntity<list>(list) {};
}</list</list

More info in this example for JSON-related scenarios: Read the complete article here.

WebLogic Partner Community

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.

Blog Twitter LinkedIn Forum Wiki

image

At the AMIS Conference in Katwijk, the Netherlands, I attended a hackathon yesterday and learned a lot from my colleague Shaun Smith, who is the Oracle product manager working on Application Container Cloud Service (ACCS).

What I wanted to achieve was this—create an Oracle JET application that renders data made available by an application running on ACCS. Here’s Shaun and I setting up my environment and deploying an application to it:

In the end, we got everything working:

  • We have a Node.js application running on my instance of ACCS.
  • Using REST, it exposes underlying data.
  • The data is consumed in an Oracle JET application.

Here’s the simple UI of the Oracle JET application. What’s nice about it is that it consists of three different modules and that the table is defined by the Oracle JET "ojTable" component.

Here’s the definition of the HTML view of the JET module that provides the ojTable:

<table id="table"
       data-bind="ojComponent: {
   component: 'ojTable',
      data: datasource,
      columns: [
            {headerText: 'Problem',  field: 'problem'},
            {headerText: 'Description',  field: 'description'},
            {headerText: 'Status',  field: 'status'},
            {headerText: 'Address',  field: 'formattedAddress'}
]}">
</table>

…and here’s the JavaScript side providing the business logic of the HTML view shown above: Read the complete article here.

WebLogic Partner Community

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.

Blog Twitter LinkedIn Forum Wiki

We offer you a production-ready, easy-to-use cloud environments to develop and test Java applications, without the delay nor the clost required for setup and equivalent on-premises environment. Get the details here.

image

WebLogic Partner Community

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.

Blog Twitter LinkedIn Forum Wiki

 

clip_image001We are pleased to announce the availability of the 16.2.1 release of Application Development platform with Java Cloud Service, Application Container Cloud Service, and Developer Cloud Service. This April release marks a major milestone, we saw the addition of a number of features, enhancements, and integrations.  This release is so big we’ve even had to add a Table of Contents to this email!

clip_image002Table of Contents

Java Cloud Service
  Oracle WebLogic Server 12c (12.2.1) with Java Required Files 12c (12.2.1)
  Multi-node WLS and OTD
  Oracle Database Cloud with RAC Support
  SSH Access page to manage keys
  Load Balancer HA capability
  Activity Status moves to Menu
  New patchesclip_image004
  Developer Cloud Service Enhancements
Application Container Cloud Service
  Performance Improvements
  Trial Quota Increases
  New Assets
  Developer Cloud Service Enhancements

Java Cloud Service

Oracle WebLogic Server 12c (12.2.1) with Java Required Files 12c (12.2.1)

  • This is the foundation for Oracle Fusion Middleware 12c (12.2.1). WebLogic Server 12c (12.2.1) is Java EE 7 compatible. The WLS 12.2.1 features are limited (1 managed server, no LB, 0-1 partition, no scale in/out, no Multitenancy tooling).

clip_image006
NOTE:

1. You must create a full Oracle Java Cloud Service instance, not an Oracle Java Cloud Service — Virtual Image instance, if you want to create a domain partition for your instance.

2. JCS continues to offer …

  • Oracle WebLogic Server 12c (12.1.3) with Java Required Files 12c (12.1.3). This is the foundation for Oracle Fusion Middleware 12c (12.1.3). WebLogic Server 12c (12.1.3) is Java EE 6 compatible.
  • Oracle WebLogic Server 11g (10.3.6) with Java Required Files 11g (11.1.1.7). This is the foundation for Oracle Fusion Middleware 11g (11.1.1.7). WebLogic Server 11g (10.3.6) is Java EE 5 compatible.

3. You can enable Oracle Coherence in Oracle Java Cloud Service when you provision an environment to run Oracle WebLogic Server 12c (12.1.3) or Oracle WebLogic Server 12c (12.2.1), and Enterprise Edition with Coherence. When enabled, the environment provides a predefined cache capacity out-of-the-box for the Coherence applications that you deploy to the cloud environment.

  • Oracle Coherence 12.2.1 Multi-Tenancy is supported, you can enable MT partitions on Coherence cluster post provisioning.

Support for Multi-node WLS and OTD is planned in an upcoming releases.

Support for Oracle Database Cloud – Database as a Service instances that were set up with the RAC option

  • This support allows Oracle Java Cloud Service instances to access the data from any database instance in the database cluster.
  • Coordinated backup between Java Cloud Service and Database Cloud Service with RAC is enabled.

An SSH Access page to view and manage SSH keys for Oracle Java Cloud Service instances in the identity domain

  • If the SSH private key that is used to access an Oracle Java Cloud Service instance becomes lost or corrupted, one can add a new public key to the service instance. Addition of a new public key to a service instance should also be done in order to comply with the organization’s security policies or regulations.

clip_image008Load Balancer HA capability

  • For high availability, a second load balancer node can be added when provisioning an Oracle Java Cloud Service instance. Alternatively, a second load balancer node can clip_image010also be added to an existing instance from the Topology tab.

A new Menu icon next to the ‘Welcome!’ link

This displays information about the status of selected operations performed on Oracle Java Cloud Service instances. Note: This menu option replaces the Activity tab found in prior releases.
New patches

1. Patch Set Update (PSU) for Oracle WebLogic Server
2. Java Development Kit (JDK) update for Oracle WebLogic Server and Oracle Traffic Director.

You can see the availability of patches on the Administration tile and on the Patching tab

Developer Cloud Service Enhancements

Developer Cloud Service has added new options for using WebLogic Server deployment REST APIs when deploying from DevCS to JCS running WLS 12.1.3 and higher.

At our community workspace here (membership required) we posted:

About Oracle Java Cloud Service

Java Cloud Service is an enterprise-class application deployment platform for Java EE, WebLogic and Fusion Middleware .

Application Container Cloud Service

Performance Improvements

ACCS application creation and redeployment times continue to shrink.  Once the first application is created and the service is initialized, application creation, scaling, and update/redeployment are significantly faster than in the previous release.  These improvements are due to optimization in the usage of the underlying compute infrastructure.

Trial Quota Increases

Restrictions on the number of ACCS application instances has been lifted in trial accounts.  It is now possible for users to take advantage of the full 6 OCPU trial account quota to create more applications and to scale those applications out.

Developer Cloud Service Enhancements

Developer Cloud Service’s support for Application Container Cloud has been enhanced with:

1. New utilities for JavaScript and Node packaging and dependency management installed in DevCS Hudson by default (grunt, gulp, and npm)
2. New Deployment configurations targeting ACCS for Java-based applications. These can be used in the DevCS Deploy tab or in Build jobs either on-demand or continuously.
3. New Developer Cloud Service sample project to demonstrate creation, build, and deployment to ACCS containers.

Learn More

See the Oracle Application Container Cloud Service documentation What’s New page for more details and learn more at http://cloud.oracle.com/acc

At our community workspace here (membership required) we posted:

WebLogic Partner Community

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.

Blog Twitter LinkedIn Forum Wiki

 

clip_image001This tutorial shows you how to create and deploy a Node.js RESTful application to Oracle Application Container Cloud additionally, you create an HTML5 application to test your REST service locally and in the cloud.

Time to Complete
  • Server Development: 30 minutes
  • Client Development: 30 minutes
  • Cloud Deployment: 40 minutes
Background

Oracle Application Container Cloud lets you run Node.js applications in the cloud. Node.js is a lightweight and efficient platform for building and running microservices. Node.js is sometimes referred to simply as Node.

Scenario

For this project, you create a Node.js REST web service and an HTML5 and JavaScript client. These are two separate applications. To keep your files sorted and prevent confusion, you create two different folders and put the files of each application inside:

The completed project, the MessageBoard application, provides a simple forum with topics and comments. Using REST, you provide access to the list of topics in the forum, as well as details of a particular topic. Data is exchanged using JavaScript Object Notation (JSON). Read the tutorial here.

WebLogic Partner Community

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.

Blog Twitter LinkedIn Forum Wiki

 

clip_image002In a recent article, I discussed the deployment of a simple Node.js application to the Oracle Application Container Cloud. I take this one step further in this article: I extend the node.js application to connect to a DBaaS instance using the Oracle node.js Database Driver and expose a REST API to retrieve data (departments, if you want to know).

This figure illustrates what this article describes:

The steps we go through in this article are:

  • Create the Node.js application with node-oracledb based database interaction
  • Deploy the Node.js application to Application Container Cloud
  • Configure the application on Application Container Cloud: service binding and custom environment variables
  • Access the REST API exposed by the Node.js application
  • The node-oracledb driver connects node.js applications to an Oracle Database. It is an open source project with Apache 2.0 license. It is maintained by Oracle and is under active development. Sources can be found on GitHub.The node-oracledb driver is available out of the box in a Node.js Application Container Cloud instance. No special steps are required to have access to this driver from a node.js application that is deployed to the Application Container Cloud instance. All you need to do is include the oracledb module in the node.js application (using var oracledb = require(‘oracledb’);) and of course interacting with the database in the regular way supported by node-oracledb.
Create the Node.js application with node-oracledb based database interaction

The application is a very simple one. It handles requests – and responds only in anger to a request that goes like this: http://host:port/departments. If that is the url – then the relative url is just /departments and that is what the code responds to in function handleRequest(). When you check the code in dataApi.js, you will find a few things of notice: Read the complete article here

WebLogic Partner Community

WebLogic Partner Community

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.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: Lucas Jellema,PaaS,Cloud,ACC,Application Cloud Container,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

 

clip_image002This article describes my first steps with the fairly new Oracle Application Container Cloud [Service]. At this point in time, Oracle Application Container Cloud includes Oracle Java SE Cloud Service, which lets you deploy Java applications to the Oracle Cloud, and Oracle Node Cloud Service, which lets you deploy Node.js applications to the Oracle Cloud. In the near future, support will be add for different types of applications, such as Ruby, Python, and PHP. Through Service Bindings to other Oracle PaaS Service instances, it is easy to integrate applications running on the Application Container Cloud with for example a DBaaS instance or the Messaging Cloud Service. I will cover that integration in a follow up article.

This article will show how a simple node.js application is made to run on the Application Container Cloud. This application serves up a static HTML file that contains JavaScript to access a REST API from the browser. This REST API is also implemented by the node.js application and the corresponding REST calls are handled in the Application Container Cloud. Read the complete article here.

WebLogic Partner Community

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.

Blog Twitter LinkedIn Forum Wiki