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

Tuesday Apr 19, 2016

Java Week 2016 at Packt – 50% discount & free books!

Almost ten years after the open-sourcing of the JVM, Java is still the powerhouse language of app development. High performance, robust and secure, simple and familiar - we're celebrating all the things that makes Java great this Java Week.

Don't miss the opportunity to upgrade your Java skills with our amazing 'Any 5-for-$50' bundle deals, and 50% off twenty of our top Java titles. Or see how far Java's come with free legacy ebooks available all week through Packt Free Learning! How do you take your Java?

For more information visit the Packt page here and for daily free Java books from Packt 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

Monday Apr 11, 2016

Oracle OpenWorld 2016 & JavaOne: Call for Proposals Is Now Open

Wanted: Outstanding Oracle Experts

The Oracle OpenWorld 2016 Call for Proposals is now open. Attendees at the conference are eaimageger to hear from experts on Oracle business and technology. They're looking for insights and improvements they can put to use in their own jobs: exciting innovations, strategies to modernize their business, different or easier ways to implement, unique use cases, lessons learned, the best of best practices.

If you've got something special to share with other Oracle users and technologists, they want to hear from you, and so do we. Submit your proposal now for this opportunity to present at Oracle OpenWorld, the most important Oracle technology and business conference of the year.

We recommend you take the time to review the General Information, Content Program Policies, and Tips and Guidelines pages before you begin. We look forward to your submissions.

Submit Your Oracle OpenWorld proposal here

Submit Your JavaOne proposal here

For additional call for papers please visit our community wiki 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

Tuesday Jan 12, 2016

JavaScript Extension Toolkit (Oracle JET) – announced at OOW15 by Marcel Oldenkamp

clip_image002

Javascript is the most popular programming language* and its usage has grown 25% in the past year**. It’s widely used and so it stands to reason that Oracle now released a brand new JavaScript toolkit called Oracle JET (JavaScript Extension Toolkit).

Oracle says “Oracle JET is targeted at intermediate to advanced JavaScript developers working on client-side applications. It’s a collection of open source JavaScript libraries along with a set of Oracle contributed JavaScript libraries that make it as simple and efficient as possible to build applications that consume and interact with Oracle products and services, especially Oracle Cloud services.”

JET is a toolkit bases on JavaScript, CSS3 and HTML5 design and development principles and offers support for ‘Accessibility’ and ‘Internationalization’. It targets JavaScript developers working on client-side web applications.
JET is based on several open source libraries such as JQuery and Knockout and has a highly modular structure with the purpose of allowing you to pick and choose the functionality that suits your needs.

One may argue that Knockout is not the most modern library choice to include in JET, but Oracle did not make this decision lightly. Instead of going for an all-in-one solution like AngularJS, they really aimed at keeping JET modular. So they chose libraries that are tailor made for their specific propose. In case of Knockout this means a lightweight library that excels at providing a declarative two-way data-binding.

So how does OracleJET fit in with the other frameworks like ADF and MAF? The information released at OOW15 focused/differentiated mainly on the target audience and stated that:

· Oracle ADF is for Java developers looking for a more declarative development approach to build web based applications.

· Oracle JET is for intermediate and advance JavaScript developers looking to build web bases applications.

· Oracle MAF is for developers looking for a more declarative development approach to build on-device mobile applications.

Additional comparison data was mainly tech based as stated in the table below showing JET vs ADF and the slide photo depicting the target audience. 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

Monday Nov 16, 2015

What was the "Mandatory Maintenance for Java Cloud Service" last night? by Simon Haslam

clip_image002

Had I been working in Operations and on-call at an organisation using Java Cloud Service then it appeared I may well have been rudely woken up last night! At around 2am in the UK this email innocently dropped into my mail box:

This warning of an impending outage to Java Cloud Service was closely followed by one for Database Cloud Service. Judging by the email - "during the maintenance your services will be unavailable" - it seems an hour and a half later the instance failure notifications (from Enterprise Manager or Nagios etc) would have probably started coming in.

Then at 4:36am I had an email to say my JCS was now available again, and 5:11am to say my DBCS was too so, a total outage according to the emails of just under 2 hours. However when it happened all of my Java and Database test instances (test) were down already but as far as I can tell no changes were actually made to them (they were not started up for example) - be sure to read my conclusions at the end of this post!

What's New?

So this evening I've been having a good look round. The most obvious first change is that you can provision new domains with WebLogic 12.1.3.0.4, and existing full JCS ones (i.e. the ones including 'cloud tooling' for patching) have the following patches available: 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

Saturday Nov 14, 2015

Java Cloud Service now available in EMEA datacenters & updated material

clip_image002We are pleased to announce the availability of Oracle Java Cloud Service (JCS) in EMEA datacenters.
This option can now be selected in WebQuote, for new customers.  Please note that this announcement applies to both the metered and non-metered SKUs of Java Cloud Service and Java Cloud Service Virtual Image. Java Cloud Service SaaS Extenstion has been available for provisioning in EMEA for quite a long time now.

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 Oct 14, 2015

Get Started With Java Cloud Service Instance Video – free on-demand training

clip_image002

Learn how to create and manage your Oracle Java Cloud Service instances and deploy your first application to the cloud. For more information, see the documentation.

Attend the free on-demand training 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

Thursday Sep 24, 2015

Extending the Weblogic console by adding Java classes by Peter van Nes


clip_image002In this video is demonstrated how you can customize the Weblogic console with live monitoring graphs by adding custom Java classes.

The Netbeans projects and source-code shown in this presentation can be downloaded below. The source for bxslider and chart.js can be found here;

· bxslider http://bxslider.com

· chart.js  http://www.chartjs.org

Netbeans projects

· SysStatsMBean

· SysStats-war.zip

· SysStats

Attend a free bootcamp Bootcamp Extending the Weblogic Console On September the 10th and 17th. For more information please visit the registration page here.

Watch the video 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

Saturday Sep 19, 2015

Monitoring Java Cloud Service instances using the Fusion Middleware Control Console free tutorial!

clip_image002

This tutorial is an introduction on how to monitor Oracle Java Cloud Service (JCS) instances using the Fusion Middleware Control Console. Get 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

Friday Sep 18, 2015

Java Cloud Service: Cloud Tooling by Stefan Victor

clip_image002A cloud service can dynamically scale to meet the needs of its users. It seems legitimate to have some tools for managing the cloud computing environments. There are tools that provision, tools that monitor and tools that do both of them.

Oracle Cloud Services have their own Cloud Tooling that performs different types of functionalities.

Prerequisites

  • Sign in to the ‘My Services’ application at http://cloud.oracle.com.
  • In the Oracle Java Cloud Service section, click ‘Open Service Console’.
  • Pick up an instance by clicking on its name or create one if the ‘Instances’ list is empty:

You’ll see displayed the ‘Overview’ of the respective instance. Click on the ‘Administration’ tab from the left:

Here we’ll have the ‘Backup’, ‘Patching & Rollback’, ‘Load balancer’ and ‘Scale In/Out’ tools.

Backup

When your service instance is provisioned, weekly full back ups as well as incremental daily backup are already scheduled. Change the day and time of the backup any time or initiate a back-up on demand. 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

Thursday Sep 17, 2015

Basic Oracle Cloud User Management for Newbs By Radu Lemnaru

clip_image002In this tutorial we will take a quick look at the user management features provided by the Oracle Public Cloud. The cornerstone of proper service security is based on a good user management system, therefore the Oracle Cloud services provide a unified dashboard to handle all types of user and role administration.

The user management tab will be available in the Oracle Cloud Dashboard once you log in with your credentials. In this example we will use the Storage Cloud Service demo as a reference.

The “My Services Users” page is composed of 6 simple tabs: Users, SFTP Users, Roles, Custom Roles, Contacts and My Information as seen below:

Users

This is the main section of the “My Services Users” page, here you will perform most of your administration tasks. Once opened, you will be prompted with a list of all active users that are using one of your services, located on the particular identity domain you accessed. The actions that you can perform on this page are: 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 Sep 16, 2015

Lift and Shift Applications WebLogic On Premises to Cloud

clip_image002

This video provides a preview of a blueprint for seamlessly migrating an existing on-premise enterprise WebLogic application to the Oracle Cloud.

Watch the video 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

Tuesday Sep 15, 2015

Fasten your seat belts: Flying the Java Development Cloud Service

clip_image001I’ll begin new a series about my findings on working with the Java Development Cloud Service. I’m not sure how many post will finally be part of this series, but I guess you’ll see a couple. Before we begin lets ask the big question:

What is the Oracle Java Development Cloud Service and what do you get from it?
The Oracle Java Development Could Service is one of the offerings around a whole bunch of other cloud services Oracle put out lately. It is one of the ‘Platform as a Service’ (PaaS) offerings which consists of a ready to use Weblogic Server, a ready to use CI Server (Hudson), a source code repository (Git, Ant, Maven), issue tracking, wiki and a ready to use Oracle DB. All this services can be provisioned in two different versions 11g (11.1.1.7.0) and 12c (12.1.3). All components or services are configured and ready to use, even the right ADF Runtime is installed on hte Weblogic Server.
In summary you get a development environment for the enterprise. No need to download tons of software, searching for the versions which play well together. No time consuming installation of the software (I most often need multiple tries until I get what I think works best for myself). So you save a lot of time you normally need to get up and running.

You should download the small E-Book available from the Developers Cloud Service landing page which gives a more comprehensive overview.
All this you get with a nice and fancy Web-UI which looks like Alta but seems to be Skyros. Sometimes it’s a bit confusing where the services can be reached from (which button or icon), but I guess with more experience this won’t be an issue. 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
1
2
3
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