Thursday Apr 28, 2016

Deployment of a Java EE application to Java Cloud Service (Oracle Public Cloud JCS) by Lucas Jellema

clip_image002In this previous articleGetting started with Java Cloud Service on the Oracle Public Cloud (WebLogic as a Service) – I have taken  you on a introductory tour into JCS. That article describes how to get going – how to provision a JCS instance – associated with an instance in DBaaS and with backup set up with Storage CS.

In the article you are currently reading, I show you how to use this instance for deploying a Java EE application onto – and subsequently invoking that application.

Since the same consoles are available to us with JCS as with on premises WLS, we can perform an application deployment in the same way from the console by uploading a WAR or EAR file as we can do on premises. I tried my hand at a fairly large application – without any Java EE dependencies (no EJB, JMS or JDBC data source requirements): the ADF Faces Rich Client components Demo application – available from http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html . The downloaded file is about 105 MB. The subsequent deployment of this file to JCS fails: the step takes quite long – because 105 MB have to be uploaded again, from my laptop into the Oracle Public Cloud. This console could be extended by Oracle perhaps to also offer to upload directly from a URL. On three attempts, after about three minutes into the upload, the deployment process fails. Either on the JCS end or in the browser to server communication is a problem. I am not sure what it is caused by. For now, I will simply try my hand at a smaller WAR.

Plan B or Take Two at deploying a Java EE application

Instead of looking around for a suitable ready to deploy WAR file, it is probably even more rewarding to quickly develop a Java EE application, build it as a WAR file and deploy it to my new JCS instance. Using JDeveloper, I quickly whip up a JAX-WS application: a simple Java Class that with some JAX-WS applications is turned to a SOAP Web Service (by right clicking the Class and selecting the option Create Web Service):

The functionality of this service should be fairly obvious from the code. The WSDL that the derived service exposes can be previewed in JDeveloper:

Deployment of the service can be done from the project navigator: right click on the ViewController project: 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: Lucas Jellema,JCS,Java Cloud Service,PaaS,Cloud,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

Wednesday Apr 27, 2016

Getting started with Java Cloud Service on the Oracle Public Cloud (WebLogic as a Service) by Lucas Jellema

clip_image002The Java Cloud Service (JCS) in the Oracle Public Cloud allows me to deploy Java EE applications such as JAX-RS and JAX-WS REST and SOAP Web Services, Servlet | JSP | JSF Web Applications, EJB and JMS artifacts and ADF applications to the public cloud and make them accessible to developers, testers and end users anywhere in the world. For components to be deployed to the JCS – I have to do nothing special (!) during development or deployment: anything that runs on premises will run in JCS.

In this article, I will describe some of my initial experiences with JCS: what did I have to do to get going the first time – from having nothing more but a (trial) subscription to JCS to deploying and running my first Java EE application on JCS. I thought this would be a very long article with a large number of tips and tricks and with deeply technical steps. I felt some reluctance to even get going – feeling a little daunted by a new world full of new terminology. As it turned out – this is not a long article and it certainly does not contain a lot of tips. My initial reluctance was misplaced. JCS is just WebLogic – hosted on a different machine than my laptop and with a different provisioning interface. The amount of cloud terminology is limited (cloud account, identity domain, service instance is probably the bulk of it – along with simple tooling: dashboard, service console). JCS builds on three other Oracle Public Cloud Services that we need to be aware of: DBaaS (Database), Compute Cloud Service and Storage Cloud Service.

You do not need guidance from me for all the steps you need to go through. I worked with an excellent tutorial on Oracle Help Center – Getting Started with Oracle Java Cloud Service – and I heartily recommend you do the same.

The steps (described in this tutorial) that you need to go through in order to have your first Java EE application running are:

  • (do: 5 minutes | then wait: days up to months) Get a [Trial] Subscription to the Oracle Java Cloud Service – for your Oracle account (the same one you use for OTN and any other interaction with Oracle); an Oracle Java Cloud Service trial environment or purchased subscription comes with Oracle IaaS Public Cloud Services, which provides you access to Storage CS and Compute CS – both of which underpin the JCS instance;
    Note: Database Cloud Service is a prerequisite of Java Cloud Service and is priced separately. When you request provisioning of an instance of JCS, you need to specify the DBaaS instance that it should make use of.  Read my previous article on DBaaS to get going with the Oracle Database as a Service offering and prepare a database instance.
  • (do: 5 minutes) Associate the [trial]subscription with an existing or a new Oracle Public Cloud account (and thereby to an identity domain)
  • (do: 5 minutes) Generate SSH keys (you can reuse the SSH key pair you may already have created to get going with Oracle DBaaS) 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

Friday Apr 22, 2016

PaaS free trial accounts MCS and JCS

clip_image002As part of our communities we do offer free PaaS accounts (only for partners in Europe, Middle East and Africa. In case you are not part of EMEA please contact your local partner manager):

· Java Cloud Service & Mobile Cloud Service PaaS Demo Accounts (WebLogic Community membership required)

· Integration Cloud Service & Process Cloud Service PaaS Demo Accounts  (SOA Community membership required)

Watch the GSE Overview Video! Get an overview of what GSE is and how you can use GSE to help you sell. You can also get long running dedicated PaaS instances, therefore please send us details about your use cases. For instant access please request a sandbox demo

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

Monday Feb 15, 2016

Middleware Update February 2016

The February edition of the Middleware Partner Update contains three key topics:

  • Fusion Middleware Partner Community Forum – live streaming
  • Integration & Process Cloud Service Bootcamps
  • SOA & BPM Partner Community Webcast on-demand


For regular updates please subscribe to our YouTube channel here. For the latest SOA & BPM Partner Community information please visit our Community update wiki here (Community membership required)


SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: YouTube,Middleware Update,Cloud Updates,PaaS,Cloud,SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress

Monday Feb 01, 2016

Podcast Show Notes: Cloud Architect: Rising to the Role by Bob Rhubart

clip_image002Each year at Oracle OpenWorld I manage to talk a group of already-busy architects into crowding into my tiny hotel room for a round table discussion on some interesting, timely topic. OpenWorld 2015 was no exception.

The catalyst for this year's conversation was Cloud Transformation Strategy: Part IV: Role of Cloud Architects, a short article on LinkedIn written by Oracle ACE Director Ron Batra, a man with considerable experience as a cloud architect. I spoke to Ron about putting a podcast together, and then put out the usual call for additional panelists.I could not have been happier with the response, and with the ensuing conversation. Though in retrospect a bigger hotel room might have been a good idea. Listen to the podcast 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

Wednesday Jan 27, 2016

WeatherApp with MAF using MCS by Soham Dasgupta

clip_image002Pre-requisites/Assumptions :

  1. MAF version : 2.1.3
  2. mafmcsutility.jar exists in the classpath of the application.
  3. Two REST API build and exposed from Oracle Mobile Cloud Service(MCS).
    • This application is available on GitHub and can be downloaded and run from your own machine.
    • This application uses 2 APIs created and exposed in MCS
      • /mobile/custom/WeatherAPI/getweather?country=<CCC>&city=<AAA>
      • /mobile/custom/WeatherAPI/getCities?country=<CCC>
  4. Part 1 : talks about creating the Mobile Backend on MCS : http://adfjava.blogspot.in/2015/10/weatherapp-with-maf-using-mcs-part-1.html

GitHub application can be found on :

https://github.com/sohamda/WeatherApp/

Following sections, I will talk a bit about

  • maf-application.xml
  • Datacontrol
  • Taskflow
  • Javascript to enable device back button

You can download the Github project and check the whole source code in JDeveloper 12.1.3
maf-application.xml:
I have defined the MCS connection details in this xml. 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

Wednesday Jan 20, 2016

Declarative Web User Interface Development by the Citizen Developer – Introducing the Oracle Application Builder Cloud Service by Lucas Jellema

clip_image002The Citizen Developer – also known as the Line of Business user – is the non-technical but still somewhat IT-savvy member of a business department. She may configure web surveys, create macros in Excel spreadsheets, perform complex data analysis or maintain a departmental web site. She does things that touch upon the responsibilities of the corporate IT department, probably knows some people in that department to consult with and she may want to do even more. Gartner identified the citizen developer a few years ago and Oracle has identified her as a persona it wants to cater for with the public cloud.

The Process Cloud Service allows the citizen developer to design, run and manage simple human workflows. Document Cloud Service and Social Network are available to share and collaborate on documents; they both are integrated with the Process Cloud Service. Simple SaaS-2-SaaS integrations can be configured with the Integration Cloud Service. With Oracle Data Visualization Cloud Service, the citizen developer can play ‘data detective’ on data uploaded from Excel spreadsheets and with Oracle Big Data Discovery Cloud Service, some similar slice-and-dice actions can be done on big data stored on Hadoop.

Two cloud services allow the citizen developer to create an interactive application. The MCS (Mobile Cloud Service) provides the Mobile Application Accelerator (MAX for friends) feature that can be used to declaratively compose a MAF mobile app. The Application Builder Cloud Service (ABCS) allows our line of business user to develop a web application in a declarative manner. ABCS hosts the application, does access management, manages custom data objects and takes care of interactions with REST services. As Oracle puts it on https://cloud.oracle.com/ApplicationBuilder :” Oracle Application Builder Cloud Service enables business users with no previous programming experience to rapidly create web and mobile apps, minimizing dependence on IT departments and reducing infrastructure costs.” In order to create a new web application – hosted by ABCS – one has to go through the following steps: 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

Friday Jan 15, 2016

PaaS free trial accounts MCS and JCS

As part of our communities we do offer free PaaS accounts (only for partners in Europe, Middle East and Africa. In case you are not part of EMEA please contact your local partner manager):

· clip_image002Java Cloud Service & Mobile Cloud Service PaaS Demo Accounts (WebLogic Community membership required)

· Integration Cloud Service & Process Cloud Service PaaS Demo Accounts  (SOA Community membership required)

Watch the GSE Overview Video! Get an overview of what GSE is and how you can use GSE to help you sell. You can also get long running dedicated PaaS instances, therefore please send us details about your use cases. For instant access please request a sandbox demo


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

Thursday Jan 14, 2016

Middleware Update January 2016


The January edition of the Middleware Partner Update contains three key topics:

    • Fusion Middleware Partner Community Forum
    • Integration & Process Cloud Service Bootcamps
    • SOA & BPM Partner Community Webcast


For regular updates please subscribe to our YouTube channel here. For the latest SOA & BPM Partner Community information please visit our Community update wiki here (Community membership required)

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: Cloud Updates,Middleware Update,Cloud,PaaS,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress,YouTube

Sunday Jan 10, 2016

Understanding Metered vs Non-metered Java Cloud Service by M Kapur

The core Oracle Public Cloud Services including Java Cloud Service, Database Cloud Service, and Storage Cloud Service offerings are available in two ways: Metered and Non-metered. In this post, I will attempt to explain the Metered and Non-metered cloud services using Java Cloud Service as an example.

Q1. What is a Metered Service?
Metered Services are a Pre-paid offering, also referred to as "a-la-carte" or "committed" offerings. A Metered cloud service like Java Cloud Service (JCS) or Database Cloud Service (DBCS) is where you are charged based on the actual usage of the service resources on an hourly or monthly basis. A Metered service allows the customer to select resource configurations for a service and virtually any volume or capacity to meet their requirements. For instance, you can select the number of Oracle Compute Processor Units (OCPUs) or the amount of memory. Customers can change their service capacity as needed and that will increase/decrease their bill. Metered services are recommended for customers who are able to predict their required usage.
Q2. What is a Non-metered Service?
Non-metered Services are a subscription based offering, also referred to as "standard subscription" or "un-committed" offerings.  A Non-metered service is essentially a monthly or annual subscription for a fixed service configuration which you typically cannot change. If a service is Non-metered it means that we sell it in well-known sizes or fixed configurations, let's say small, medium and large, and Oracle does not measure whether the entire capacity is used or not. A Non-metered subscription has a fixed monthly charge. While you can stop a service instance to take the service offline for a few hours or days within a month, charging does not stop, and your service will be charged for the entire month. Non-metered services are recommended for customers who are unsure what their exact usage will be, and would rather keep a generally consistent subscription fee.

Q3. Is Oracle Java Cloud Service (JCS) available as both Metered and Non-metered service?
Yes, JCS is available both as a Metered service and Non-metered Service. When purchasing, you can choose to get a Metered or Non-metered service of the Java Cloud Service.
Q4. What is the difference between Metered JCS and Non-metered JCS?
The core technical features of JCS are the same in either type of service. There are no differences in service capabilities. It is just the billing model that is different.
Q5. Should I choose JCS Metered or Non-metered service for my deployment?
It really depends on your usage characteristics and requirements. With Metered service, you roughly estimate what kind of services you want (service type, edition type, compute performance type, size of the environment). After you do so, you total up the cost of each of these environments, categorize them under Oracle IaaS, JCS, and DBCS credit buckets. And now you know how many credits you need in each of these buckets. The Metered service purchase result in 3 credit buckets. You really buy these 3 SKUs - Oracle Database Public Cloud Services, Oracle Java Public Cloud Services, and Oracle IaaS Public Cloud Services.

The most important aspect of the Metered model is that you are not bound to use your credit in exactly the environments you estimated. You can utilize your credit however you want within that bucket. So, for example, if you decide you need JCS Enterprise Edition instead of JCS Standard Edition, you don't have to call Oracle. All you need to do is just provision the JCS Edition that you need and your usage will appropriately be metered and billed.

With Non-metered services, we have taken each combination of service type (JCS vs DBCS), tooling type (VI vs Full tooling), edition type (SE vs EE, etc), compute performance type (General Purpose vs High Performance) and created a separate SKU. One unit of a service in the Non-metered list includes a specific OCPU number and memory (compute shape). You have to buy enough units of either High Memory or General Purpose for a service type.

Example: Let’s say your customer wants this combination - "Oracle Java Cloud Service - Standard Edition - Virtual Image - General Purpose - Non-metered". And say the total number of OCPUs needed for this combination is 4. You are effectively purchasing this exact fixed configuration combination that you picked. When you start using our provisioning tooling (UI, API) to provision the service, you will be restricted to only provision this fixed configuration and the quantity you purchased. You cannot just utilize what you bought for some other combination, unlike Metered services.
If your customer has predictable workloads or seasonable workloads and requires more flexibility then you should sell them Metered cloud services. Non-metered services are recommended for customers who are unsure what their exact usage will be, and would rather keep a generally consistent subscription fee. The Non-metered equivalents are tailored towards fixed configurations and hence have a lower price.

Q6. Does JCS Non-metered service require Non-metered DBCS and IaaS as well?

Yes, JCS Non-metered has a DBCS Non-metered as a pre-requisite service. So it does require DB Non-metered service and associated IaaS (storage) services. And for every DBCS Non-metered service, DB Backup, Block Storage and Object Storage are pre-requisites which means all four are required for JCS Non-metered. Block and Object Storage are available as Non-metered SKUs for this case.

Q7. Can Non-metered services like JCS be scaled up or down?

One unit of a service in the Non-metered list includes a specific OCPU number and memory (compute shape). You can scale up or scale out as long as you have bought enough units to accommodate the new size. If you don’t have enough units, you can buy more subscriptions or refill the contract. JCS docs reference can be found here.

Q8. Where can I find more information?

Refer to the following document for additional information and details:

http://www.oracle.com/us/corporate/contracts/paas-iaas-public-cloud-2140609.pdf

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

Sunday Dec 27, 2015

FlexDeploy and Java Cloud Service (Part II) by Erick Jones

clip_image002This blog article is the second of a three part series which describes how FlexDeploy enables the transition from running your Java applications on-premise to running them on the Oracle Java Cloud Service.  The first article in the series focused on moving applications from on-premise to the cloud (i.e. “lift and shift”).  This article will explore how FlexDeploy fosters another important facet of cloud computing – utilizing dynamic capacity to reduce cost.  There are two aspects to dynamic capacity: quickly spinning up and tearing down cloud environments on-demand, and “turning off” environments when not in use to more effectively manage subscription costs.  The Oracle Cloud Services enable both aspects, but for the purpose of this blog article we will focus on the later.

Certain environments during the dog days of the software development lifecycle can be utilized nearly 24×7.  However, most organizations have environments that are not used quite so regularly.  This may be test environments that are only utilized during the day, user acceptance testing environments that are only used during the later end of the release lifecycle, or in support environments that are only utilized to troubleshoot reported production problems.  When you purchase an hourly subscription to Oracle Cloud Services you only pay when the environments are up and running.  So effectively managing when the environments are running can produce a huge cost savings year over year.  The remainder of this article will demonstrate how FlexDeploy can help manage this dynamic capacity more effectively.

Using the Java Cloud Service console I have provisioned 6 instances.  A DEV, QA and PRODUCTION instance for managing the entire software lifecycle of our Payroll applications, and a DEV, QA and PRODUCTION instance for managing our Purchasing applications.  In FlexDeploy terminology that relates to following constructs:

· 3 Environments (DEV, QA and PRODUCTION)

· 2 Instances (PAYROLL and PURCHASING)

Each FlexDeploy environment instance defines the properties required to connect to its associated Java Cloud Service instance. 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

Friday Dec 25, 2015

PaaS free trial accounts MCS and JCS

clip_image002As part of our communities we do offer free PaaS accounts (only for partners in Europe, Middle East and Africa. In case you are not part of EMEA please contact your local partner manager):

· Java Cloud Service & Mobile Cloud Service PaaS Demo Accounts (WebLogic Community membership required)

· Integration Cloud Service & Process Cloud Service PaaS Demo Accounts  (SOA Community membership required)

Watch the GSE Overview Video! Get an overview of what GSE is and how you can use GSE to help you sell. You can also get long running dedicated PaaS instances, therefore please send us details about your use cases.


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

Wednesday Dec 09, 2015

Fasten your seat belts: Flying the Oracle Development Cloud Service (3 – Take Off – ROTATE) by Timo Hahn

clip_image001The last part of the series 3 – Take Off – V1 we finished when we could build hte application using ANT on the local machine. In this part we are going to try this on the Oracle Developer Cloud. Finally we should see how Continuous Integration and Continuous Delivery works in the cloud.

NOTE
I created a fresh set of ANT build scripts named ‘buildlocal.xml’ and ‘buildlocal.properties’ from the project to demonstrate the process. The original ones name ‘build.xml’ and ‘build.properties’ are the final result which I didn’t want to revert. So when you create the ANT scripts yourself you can user the default names ‘build.xml’ and ‘build.properties’. When I talk about build files I now mean the ones named ‘buildlocal.*’.

Demo Build Files

For the same reason we create a new build job in the cloud names ADFTestBuild to show the steps to take. The final build job is named ADFCommunuityFrkExt. 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

Search

Archives
« May 2016
SunMonTueWedThuFriSat
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today