Wednesday Apr 15, 2015

MAF 2.0: Using Local Database by Waslley Souza

clip_image001

When you are building a MAF application, you may decide to use Web Services (SOAP / REST) or local Database to retrieve or persist your data. If you decide to use local Database, the SQLite is the default Database of MAF. SQLite is designed for use as an embedded database system, one typically used by a single user and often linked directly into the application. It is ACID-compliant, lightweight and portable.

In this post I will create a CRUD of employees in Oracle MAF 2.0 using SQLite Database. Download the sample application: MAFDBApp.zip.

This article was published on OTN LA in brazilian portuguese, and you can read it here: Oracle Mobile Application Framework 2.0: Usando Banco de Dados Local.

Create a Mobile Application Framework Application, and name it as MAFDBApp. 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 14, 2015

Mobile Suite – Web Service Performance Optimisation with Result Caching by Andrejus Baranovskis

clip_image002One of the main advantages of Oracle Mobile Suite - Service Bus and SOAP/REST web service transformation (more here - Oracle Mobile Suite Service Bus REST and ADF BC SOAP). In addition you will get very nice performance improvement, there is out of the box caching for Web Service resultset with Coherence. I'm going to demonstrate how it works, all out of the box - really simple.
You could define caching for external service (ADF BC SOAP web service in my case), just edit service definition. This is our business service running on WebLogic backend, where actual processing happens. Naturally we would like to eliminate duplicate calls and retrieve previous resultsets from cache stored in Service Bus layer: 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

Monday Apr 13, 2015

Get your Oracle Mobile Development 2015 Implementation Specialist Certification!

clip_image002Mobile Development 2015 Essentials Exam (1Z1-441) is now available in beta testing.
This certification covers topics such as: Mobile Application Framework (MAF), Mobile Application Framework (MAF) Data Layer, User Interface (UI) Development, Device Services Integration, and App Security. Up-to-date training and field experience are recommended.

This certification is available to all candidates, but is geared toward members of the Oracle PartnerNetwork. OPN members earning this certification will be recognized as OPN Certified Specialists. This certification qualifies as competency criteria for the Oracle Mobile Development specialization. Access the exam study guide in order to get pointers to resources meant to help you prepare for the exam! Take the exam for free while in beta testing! Request a discounted beta voucher via the OPN Beta Certified Specialist Exam Voucher Request Form!

Useful links:

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 Apr 12, 2015

Java EE 7 Hands-on Lab – free

clip_image002This page provide instructions and starting code for the Java EE 7 hands-on lab. The hands-on lab builds a typical 3-tier end-to-end application using the following Java EE 7 technologies:

Specification Name

JSR #

Java API for WebSocket 1.0

JSR 356

Batch Applications for the Java Platform 1.0

JSR 352

Java API for JSON Processing 1.0

JSR 353

Java Message Service 2.0

JSR 343

Java API for RESTful Web Services 2.0

JSR 339

Java Persistence API 2.1

JSR 338

JavaServer Faces 2.2

JSR 344

Contexts and Dependency Injection 1.1

JSR 346

Bean Validation 1.1

JSR 349

Java Transaction API 1.2

JSR 907

The instructions and the starting code can be downloaded from 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 Apr 11, 2015

Java and IoT: The Intelligent Platform for the Connected Vehicle Whitepaper

clip_image002A vehicle is typically the most expensive and complex consumer device that we own. We expect it to keep up with the rest of our devices that produce and consume a rapidly growing set of media and social data. We also expect vehicles to be 100 percent reliable and to keep us safe. Meeting all of these needs is a challenge for manufacturers that have a growing set of requirements themselves. For instance, manufacturers need better data from their vehicles to increase reliability, manage the complex interactions between control systems and media/communication systems, anticipate problems, and enhance customer experience and safety. And by the way, data should increase profitability for the manufacturer and strengthen customer engagement.

Apart from the technical and logistics issues, larger business issues also appear. For example, how do you effectively manage hundreds of millions of lines of code distributed across multiple in-vehicle computing devices? Additionally, the pace of change for internet and mobile-oriented technology is on the order of 6 to 12 month cycles, yet vehicles are expected to be in the market for ten years or longer.

These business challenges require a vehicle to behave like a flexible computing platform – not unlike the transformation IT went through with the web about 20 years ago. It follows that vehicle manufacturers will require similar solutions: industry standards and interfaces combined securely with a modern development platform to build, deploy and update applications. Get the whitepaper 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 10, 2015

What you need to know about the new ODA X5-2 by Simon Haslam

Today, as part of the "Next Generation of Oracle Engineered Systems" webcast,  Larry Ellison launched the new X5 systems. This bullishly-titled post attempts to summarise what's new specifically with the ODA X5-2, and what's most important, especially for those using ODA Virtualized Platform (ODA VP) to build entire Oracle infrastructures as an appliance.

We've known since last September when Intel released the Haswell-EP processors (the E5-2600 v3 models) that there would likely be refreshes to many of Oracle's engineered systems. However for this year's ODA refresh there have been far more changes than the previous one (which was just the processor update and fibre option).

clip_image001

Summary of Changes

Here are the most significant changes in the ODA X5-2, as compared to the previous X4-2 generation, biased towards my perspective of running Fusion Middleware products, and associated databases, on ODA VP for O-box:

  • Extra SSD on shared storage ("ODA Flash Accelerator") to hold some database data ("ODA Flash Cache") and ACFS metadata ("ODA Flash Files")
  • 40Gb/s InfiniBand for interconnect between server nodes
  • DDR4 memory with the option to upgrade to 768GB per node, so 1.5TB total
  • SAS3, which runs at 12 Gb/s - I assume/hope this is for connections to server disks, internally within the array(s) and between the arrays and servers 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 Apr 09, 2015

Maven Repository – Index now available – more to come by Mark Nelson

clip_image002I am happy to announce that we now have an index available for the Oracle Maven Repository.  This is a standard Maven index, built with the Maven Core Indexer code (donated by Sonatype to Maven – thanks!) and is available at https://maven.oracle.com/.index/nexus-maven-repository-index.properties and https://maven.oracle.com/.index/nexus-maven-repository-index.gz.

The easiest way to view it is to use an IDE like NetBeans, as shown below:

We are actively working with Maven Repository Manager and IDE teams to make this work for you across a variety of common tools you may use. 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 Apr 08, 2015

Java Cloud Highlights by Ancy Dow

clip_image002[I was wondering if I was the only one getting excited about these videos. So I asked my friend Ancy. She took a peak and not only did she like the videos, she wrote up this blog herself!]

In this session, Anand Kothari, Product Manager for Oracle Java Cloud Service and Oracle JaaS, and Harshad Oak, Oracle ACE Director, demonstrate how you can transform your development experience with Oracle’s Java Cloud. The ease and flexibility of developing in Java Cloud is unmatched, as customers can quickly build and deploy applications—be they existing Java applications, simple extensions to Oracle SaaS services, or new applications on-premise or in the cloud, using tools and techniques developers already use and love.

Oracle’s differentiating factor is that it is one of the only companies that has services across the stack—with the largest breadth of SaaS products—so it is a winning choice for customers who want a single vendor to be able to give them everything they want. Because of this, Oracle can go beyond just spinning up virtual machines, but rather, offer a first-class experience on Database, Java, or any service in the stack, abstracting these services so they are extremely simple to use in the Oracle cloud. Hybrid solutions are also possible, and workloads running in your private cloud can seamlessly be brought onto public and back because the same services are offered in both. And because it is cloud, this enterprise-grade technology comes with all the cloud economics, infinite scale, and capacity. 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 07, 2015

New Enterprise Manager Release Delivers Adaptive Private PaaS by Yoav Eilat

We are pleased to announce an update to Oracle Enterprise Manager Cloud Control 12c Release 4. The update is now available on OTN.

clip_image001So what exactly is adaptive private PaaS?

Recent releases of Enterprise Manager have expanded capabilities around Platform as a Service (PaaS) delivery in your private cloud. In particular, the EM Cloud Management Packs have focused on two critical areas for Oracle customers: Database as a Service (DBaaS) and Middleware as a Service (MWaaS).

In this release, these PaaS capabilities have become more adaptive to complex, rapidly growing environments. Let's look at 3 areas where database and middleware users and managers will benefit.

Controlling Expanding Database as a Service Environments

Rapid adoption of database as a service can lead to even faster growth in the number of database instances and the number of database versions and configurations. This can severely impact your management costs and could even cripple your database as a service initiative. The new release enhances our solution to this problem:

· Configuration standardization with integrated advisory, to detect differences across databases and eliminate configuration drift

· Database fleet patching using minimum downtime techniques, to bring database configurations back into compliance

· Rules for custom placement, to intelligently find a suitable target for database placement, based on current load, current population and placement constraints

A database as a service approach can improve service to database users while simultaneously reducing database management costs.

Developing More Rapidly, with Increased Security

Agile application development and testing requires convenient access to up-to-date test data. The Enterprise Manager Snap Clone feature gives DBAs, developers and QA engineers direct access to self-service cloning, so they can create fully functional copies of production databases within minutes. This release introduces several exciting new Snap Clone capabilities:

· Continuous data refresh from the source database. As your production system gets updated, you can continuously refresh your test data.

· Integrated data masking, subsetting and patching. Use the Enterprise Manager Data Masking and Subsetting Pack together with Snap Clone to keep your test databases lean and free of sensitive information, and keep them up to date with the latest PSUs and patch sets.

· Restore a database to a previous point in time with a convenient calendar view.

· Snap Clone support on EMC VMAX and VNX Block Storage. This adds to Snap Clone's native support for Oracle ZFS Storage Appliance and NetApp Storage Appliance in addition to generic support of other storage systems.

Software developers can also take advantage of new test-to-production (and reverse) cloning of SOA, OSB and WebCenter environments with application artifacts automation.

Flexible APaaS Service Catalogs 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

Avoiding Memory Leaks in Exalogic when using the SDP Support from JDK 1.7 by Ricardo Ferreira

Introduction

Although Exalogic is widely used as a consolidation platform due its concept of data center in-a-box, most customers look after it as a technical solution for improving application throughput. Counting with a powerful 40GB/s bandwidth InfiniBand fabric, applications running on top of Exalogic can benefit from the high throughput, low latency and efficient network layer while exchanging messages across different processes.

One of the main benefits of using the InfiniBand technology is providing a way to applications to move data directly from the memory of one server to another, bypassing the operating system of both servers, resulting in significant CPU usage reduction plus latency improvement. But to leverage this capability, all applications must use a specific protocol. The most well-known protocol for this is called SDP (Sockets Direct Protocol) and it provides a transport-agnostic way to support streams sockets over RDMA (Remote Direct Memory Access) network fabrics.

The most common case when SDP need to be leveraged is when applications running on Exalogic need high performance access to Oracle databases running on Exadata. In the Exadata machine, most DBAs only need to set up a new listener based on SDP instead of TCP and that’s it. But in the Exalogic machine things can get a little complicated, especially if you are trying to leverage SDP from the support introduced in JDK 1.7. This article will discuss the issues that can happen when Java applications access SDP-enabled databases in Exadata.

It is important to state that the issues mentioned in this article does not happen when SDP connections between Exalogic and Exadata are established using the built-in stack available in Exalogic, which is essentially the EECS (Exalogic Elastic Cloud Software). Applications intended to run on top of Exalogic must leverage the EECS, and Oracle supports ISVs interested in doing this with the Exastack program. The SDP support available in JDK 1.7 must be used for ISVs interested in building applications for both Exalogic and other InfiniBand-based machines.

The Problem

As you can follow in this article, to leverage SDP in Java applications you need to provide to the JVM a SDP configuration file. In the content of this file, you need to define a set of rules about which endpoints to connect (outbound) or bind (inbound). In case of accessing Oracle databases through SDP-enabled listeners running on the Exadata machine, you need to provide a connect rule just as shown in the listing 1. The rule assumes that the SDP listener is running on port 1522. 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

Monday Apr 06, 2015

Using the WebLogic Embedded EJB Container by Buttso

clip_image002The WebLogic Server 12.1.3 EJB Developers Guide was recently updated to note that the embedded EJB container can be used by adding a reference to weblogic.jar to the CLASSPATH when the EJB client is being executed. This is very convenient since it enables the WebLogic Server embedded EJB container to used by simply adding weblogic.jar to the classpath when running the client: Or for example if you are developing unit tests using JUnit and running them from a maven project, you can configure the maven-surefire-plugin to use WebLogic Server to run the EJB test code in its embedded EJB container: 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

Sunday Apr 05, 2015

free Java & middleware trainings – Virtual Technology Summit available on-demand

clip_image002

Java Mission Control (JMC) and Java Flight Recorder (JFR) provide a complete tool chain to continuously collect low level and detailed runtime information of Java applications enabling after-the-fact incident analysis.  The WebLogic Team has developed a WLS Plug-in for Java Mission Control.  This Plug-in provides custom WLS views that can be used to analyze more efficiently the contents of Flight Recordings produced by WebLogic instances (e.g. database queries, EJB calls, servlet invocations, etc.).

In the following short video, Tony Vlatas of the WebLogic Development Team explains how to install the WebLogic Server Plug-in in Java Mission Control.  You'll see that it's very simple!

Java Mission Control and Java Flight Recorder combined with this Plug-in enables WLS developers and administrators to collect and easily analyse data from WebLogic instances running locally or instances deployed in production environments.  At this stage, the WLS Plug-in is still considered as experimental but it's worth giving it a try! 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

Securing Coherence unicast communications for FMW SOA by Peter van Nes

clip_image002When confidentiality is required for an Oracle Fusion Middleware environment, the first thing you probably will do is configure SSL for the domain. You might think that this will secure all your connections in the domain, but various FMW applications utilize different frameworks like JGroups or Oracle Coherence which connections are not secured by configuring SSL for the domain.

Various FMW applications, like Oracle Identity Manager, use FMW SOA which utilizes Oracle Coherence for Unicast communications. As Oracle recommends Unicast communication for SOA enterprise deployments in the Fusion Middleware Enterprise Deployment Guide for Oracle SOA Suite, you probably will have setup Unicast communication in your production environments accordingly by adding the Java properties tangosol.coherence.wka[1-n] and tangosol.coherence.localhost.

Instead of adding the properties to the Server Start arguments for each server individually you could add these settings to the setDomainEnv.sh. This way you have consolidated view of all the configuration settings for the Coherence cluster. Securing Unicast communications

Unicast (TCMP) communications for Coherence can be secured using by defining a SSL Socket Provider.  [Coherence Security Guide; Using SSL to Secure TCMP Communication]

A pre-defined SSL Socket Provider ‘ssl’ is defined in the tangosol-coherence.xml file of java archive coherence.jar which can be found in the lib directory of your coherence installation in the <MW_HOME>. The pre-defined SSL Socket Provider expects a key- and truststore with the name keystore.jks which must be present in the classpath. Therefore this Socket Provider is less suitable for production environments where truststores and keystores are defined in separate Keystores. Best practice is not to replace tangosol-coherence.xml, but to override the operational and run-time settings using  an Operational Override File. The property tangosol.coherence.override specifies the name of the override file to be used instead of the default. In this override file the cluster-config element should be defined to enable SSL for TCMP (Unicast). The cluster-config element contains three sub-elements; member-identity, unicast-listener and socket-provider.

The member-identity element contains the cluster-name of the Coherence cluster. This is the same name as the cluster name set in property tangosol.coherence.cluster when configuring unicast communications. Element unicast-listener defines the well- known-addresses, listen-ports and other properties of all cluster nodes. This are the values you assigned to the properties tangosol.coherence.wka[1-n] and tangosol.coherence.localhost when setting up unicast communications. The element socket-provider should have the same value as attribute id of the socket-provider element which will be described next. 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 03, 2015

Coherence: Explaining the 3 different cache types free online training

clip_image002

This video explains the 3 different types of cache used in Oracle Coherence. Video put together by Simon Cook of Oracle. 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

Thursday Apr 02, 2015

Coherence, WebLogic and Java SE 8 by René van Wijk

clip_image002

In this post we will explore some new Java SE 8 features,

  • Lambda Expressions enable us to treat functionality as a method argument, or code as data. Lambda expressions let us express instances of single-method interfaces (referred to as functional interfaces) more compactly. The Java SE 8 API also ships a lot of new functional interfaces to make our life easier.
  • Method references provide easy-to-read lambda expressions for methods that already have a name.
  • Default methods enable new functionality to be added to the interfaces of libraries and ensure binary compatibility with code written for older versions of those interfaces.
  • Classes in the new java.util.stream package provide a Stream API to support functional-style operations on streams of elements. The Stream API is integrated into the Collections API, which enables bulk operations on collections, such as sequential or parallel map-reduce transformations.

and see how these work out on WebLogic and Coherence. Note that WebLogic 12.1.3 and Coherence 12.1.3 are supported on Java SE 8, with the following restrictions:

  • WebLogic Server 12.1.3 does not support applications using the Java SE 8 fork/join and parallel streams features. Avoid these features when building WebLogic Server 12.1.3 applications using Java SE 8. The reason for this restriction is that the threads used by the fork/join thread pool will not be WebLogic Server managed threads. Any of the work performed in these threads may not be able to make use of WebLogic Server or Java EE facilities because the state of these threads, including security and transaction state, may not be created properly. Further, these threads will not be controlled by WebLogic Server Work Manager thread management facilities, possibly resulting in excessive thread usage.
  • When using Java SE 8, the use of permgen-memory is no longer required. The Java command line options -XX:PermSize and -XX:MaxPermSize are ignored: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0.
  • Java SE 8 has new APIs for JDBC 4.2 and is supported for WebLogic Server 12.1.3 running on Java SE 8 with a JDBC driver that supports JDBC 4.2. However, although the Oracle JDBC thin driver bundled with WebLogic Server is certified on Java SE 8, the Oracle JDBC thin driver does not support JDBC 4.2.
  • When running using SSL connections with JCE on JDK 8, it may be necessary to install the Java Cryptography Extension Unlimited Strength Jurisdiction Policy Files 8.

As an example, we will use the application presented in the post Coherence 12c Grid Archive. To include some Java SE 8 features, we rewrite the servlet as (in which we also use parallel streams, although not supported, but just out of curiosity to see what goes on in the Java runtime). 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
« April 2015
SunMonTueWedThuFriSat
   
4
26
27
28
29
30
  
       
Today