Posts Tagged ‘opn’

image

Oracle is embracing Docker – just like many other companies – as the de-facto standard in Container technologies. It has resulted in the certification of various Oracle products for running in Docker containers and even Oracle supported Docker images are available. Furthermore, Oracle offers 2 Cloud Service around containers: the Container Cloud Service is a generic service that offers a platform for running your containers. Next to that, Oracle offers the Application Container Cloud Service that is targeted to running Java SE, Node.JS, php and python applications. The Application Container Cloud Service is left out-of-scope.

This blog series shows how to get started with WebLogic and Docker – in 3 different Clouds:

All cases describe the minimal steps to get a WebLogic container up and running: nothing fancy, very minimalistic, just to get you going.

The approach for the Cloud use cases is similar for all 3 Cloud providers:

  • get your container platform up and running (the ‘Container Service’ in the cloud)
  • start a WebLogic container from the image that we have first put on Docker Hub

Some findings of the work done can be found at the bottom of this article. 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

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

Advertisements

image

This article deals with Docker and its usage in the cloud. The first part gives a brief and easy to understand introduction to Docker and motivates its usage as a PaaS service. The second part introduces the Oracle Container Cloud Service (OCCS) and explains the key components of OCCS.

Docker

Docker has been a tremendous success over the last three years. From an almost unknown and rather technical open source technology in 2014, it has evolved into a standardized runtime environment now officially supported for many Oracle enterprise products.

Basics

The core concepts of Docker are images and containers. A Docker image contains everything that is needed to run your software: the code, a runtime (e.g. the JVM), drivers, tools, scripts, libraries, deployments, etc.

A Docker container is a running instance of a Docker image. However, unlike in traditional virtualization with a type 1 or type 2 hypervisor, a Docker container runs on the kernel of the host operating system. Within a Docker image there is no separate operating system, as illustrated in Figure 1.

Isolation vs. Virtualization

Every Docker container has its own file system, its own network stack (and therefore its own IP address), its own process space, and defined resource limitations for CPU and memory. Since a Docker container does not have to boot an operating system, it starts up instantly. Docker is about isolation, i.e. separating the resources of a host operating system, as opposed to virtualization, i.e. providing a guest operating system on top of the host operating system.

Incremental Files System

The file system of a Docker image is layered, with copy-on-write semantics. This enables inheritance and reuse, saves resources on disk, and enables incremental image download. 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

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

image

In this blog we will look at

Application

The application is a simple one which fetches the price of a stock from the cache. It demonstrates other features (in addition to basic caching) such as

  • Cache loader – if the key (stock name) does not exist in the cache (since it was never searched for or has expired), the cache loader logic kicks in and fetches the price using a REST call to an endpoint
  • Serializer – Allows us to work with our domain object (Ticker) and takes care of the transformation logic
  • Expiry – A cache-level expiry is enforced after which the entry is purged from the cache
  • Metrics – get common metrics such as cache size, hits, misses etc.

Code

Let’s look at some code snippets for our application and each of the features mentioned 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

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

image

Oracle Application Container Cloud service allows for microservices to be hosted using programming languages like Java SE, NodeJS, PHP and Python. Future plans include support for Ruby. An earlier post provided an overview and compared this to Oracle Container Cloud Service.

The applications run in a Docker container behind the scenes and is expected to expose a service port. By configuring metadata, access can be setup to other Oracle Cloud services like database, storage, messaging etc.

Use Case

In this blog, we’ll build a weather microservice that will publish weather results for Melbourne. The weather data is retrieved from openweathermap and presented to the consumer as JSON. As the free plan allows for a maximum 2000 requests per day, this microservice will cache the result in memory and schedule weather updates every 2 hours.

Programming language

NodeJS has increased in popularity in the last few years as a server side development language to work alongside AngluarJS and other UI Javascript frameworks. Being a cloud first language with custom extensions available as packages, it’s a natural choice for cloud integration.

First, install node v6 (to match the Oracle version) and ensure that the installed folder has been added to the PATH environment variable. While any text editor may be used to write code, Atom with script package installed was used so that code can be run directly in the editor.

Code

Normally, the folder containing the NodeJS code is initialised using npm init. The resulting package.json will store the name of the package, version and dependencies for its execution.
The dependencies are initialised using npm install with the –save flag updating the package.json to store the dependencies . 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

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

image

The Oracle Application Container Cloud (ACCS)‘s Application Cache provides (as the name implies) caching for applications! As Mike Lehmann explained in Caching with Oracle Application Container Cloud, you simply specify the amount of memory you want to cache and whether you just need basic non-HA cache for dev/test or reliable caching for production and the appropriate infrastructure is automatically provisioned.

Under the Hood

The ACCS Application Cache is built on the highly performant and scalable Oracle Coherence in-memory data grid that’s been powering trading and other memory and time sensitive applications for years. In the ACCS Application Cache, the underlying Coherence implementation is not exposed but if you need an in-memory data grid cloud service don’t worry, Oracle is working on exactly that. In the meantime, the Coherence team continues to innovate. 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

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

image

Currently, many companies and developers do not want to worry or waste time supporting complex environments.
PaaS services are a great way to abstract this work, making developers concerned only with the design and the code they need to develop.
Oracle Application Container Cloud Service (ACCS) allows you to deploy Java SE, Node.js, PHP, Python, and Ruby applications to the Oracle Cloud.
In this post, we’ll look at how easy it is to build a NodeJS application and deploy it to ACCS.

Download the sample application: accsnodejs.zip.

First of all, let’s create the NodeJS application.
Create a folder and name it as “accsnodejs”.
Inside the accsnodejs folder, create a file, name it as “app.js” and paste the following code into it. 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

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

image

Introduction

The Java Cloud Service (JCS) production application the is the focus of this article includes invoice processing, warehouse stock management and production line management. This application was implemented for a candy production and distribution startup company in Lithuania.

The startup’s primary goal in this endeavor was to minimize and simplify the IT infrastructure’s complexity and investment, which is why JCS was chosen. Oracle ADF is integrated into the Oracle PaaS Cloud offering. JCS offers a cloud-based deployment environment, which is preconfigured with support for Oracle ADF features. Oracle ADF provides a powerful functionality for business logic implementation in the ADF BC layer. It allows exposing of ADF BC objects and methods through REST services.

While ADF support was one of the key decision points for using JCS, the fact that Oracle JET can also be served from JCS instance makes it really convenient and enables us to run server-side business logic and serve client-side content from the same cloud instance.

The invoice processing module is based on this list of functionalities:

  • Dashboard – statistical data display
  • New Invoice – invoice creation
  • Template Setup – invoice template setup, to speed up invoice creation
  • Invoice Search – search through all invoices and invoice edit
  • Customer Setup – customer data management
  • Supplier Setup – supplier data management

The UI is implemented entirely with Oracle JET, which supports responsive UI behavior out of the box. This means the UI is implemented only once and adjusts to whichever screen the user is viewing the material on, from desktop to mobile. 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

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress