Sunday Apr 19, 2015

Using ADF BC Declarative Built-in Rules (Part 9 of 10): Script Expression validator by Antonis Antoniou

clip_image002The last set of validators consist of the "Script Expression" validator and the "Method" validator which can be defined either at the entity level or the attribute level to validate either the entire entity object or a specific entity attribute. The "Script Expression" validator enables you to validate either the entire entity object or a specific entity attribute using a Groovy expression that returns either true, meaning that the validation is successful or false to define that the validation has failed.
The "Script Expression" validator has some very interesting characteristics which we will see in practice using an example by Frank Nimphius
I will be using the HR schema and the employees table to define an attribute level validation using a "Script Expression" to define a departmental salary budget and to ensure that the cumulative salary of employees per department does not exceed their respective departmental salary budget.
I have created an ADF Fusion Web Application and created the basic business components that I will be using in this demo; two entity objects based on the Employees and Departments HR tables, default view objects based on the two entity objects and a default application module. Read the whole 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 Apr 18, 2015

JpsAnonymousRoleImpl Issue for Custom Login page Using Managed Bean in ADF by Rohan Walia

clip_image002

While implementing Custom Login page using Bean Custom Login Page using Login Bean in ADF, once you do all the steps and run the login you get a nasty exception below:
This example was created using Jdev 11.1.1.7

oracle.security.jps.JpsException: java.lang.IllegalArgumentException: oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl

Hmm we did all the steps correctly but face this exception while running the CustomLogin Page.
So while troubleshooting the problem, figured out that there is some problem with jazn-data.xml.
First lets removed the annonymous-role which is been given to CustomLogin.jspx.

Now if we again add the anonymous role see below what is there. 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 17, 2015

MAF 2.1 – Debugger Improvements and Mobile REST Client by Andrejus Baranovskis

clip_image002I was blogging previously about Oracle Mobile Suite and REST service transformation from ADF BC SOAP service. Today I'm going to blog the next step in the same series - MAF client consuming REST service exposed from Oracle Mobile Suite ESB. I'm going to highlight improvements in debugging process for MAF, provided with the latest 2.1 release. I had couple of challenges implementing and mapping programmatic MAF client for REST service, all these were solved and I would like to share the solution with you.
Previous posts on the same topic:
- Oracle Mobile Suite Service Bus REST and ADF BC SOAP
- How To Add New Operation in Oracle Mobile Suite Service Bus REST Service
Here you can download sample application implemented for today post (contains ADF BC SOAP, Mobile Suite Service Bus and MAF client apps) - MobileServiceBusApp_v3.zip.
High level view of the implemented use case - there are three parts. Service Bus is acting as a proxy to transform ADF BC SOAP service to light REST consumed by mobile REST client (implemented in MAF): 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 16, 2015

Java Cloud Service Webcast April 24th 15:00 CET


clip_image002Oracle Java Cloud Service is a part of the platform service offerings in Oracle Public Cloud Services. Powered by Oracle WebLogic Server, it provides a platform on top of Oracle's enterprise-grade cloud infrastructure for developing and deploying new or existing Java EE applications.

Schedule: April 24th 2015 15:00-16:00 CET (Berlin time)

Presenters: Cosmin Tudor & Jürgen Kress

Registration: please visit our registration page here

In this eSeminar we will provide both an overview presentation and a short demo that will cover the new Oracle Java Cloud Services - Platform as a Service offerings and the integration with other Oracle Cloud offerings like: Developer Cloud Services, Database Cloud Services, Documents Cloud Services ...

Do you want to learn more about innovative features, capabilities and roadmap of Oracle Java Cloud Services? Then this technical overview is for you.

Presentation Outline – 1 hour

  • Java Cloud Services:
    • Java Cloud Services PaaS and PaaS – Virtual Image
    • Java Cloud Services SaaS Extensions
    • Management and Administration:
      • Provisioning
      • Backup & Recovery
      • Patching
      • Scaling
      • REST API
    • Coherence Cloud Services
    • Storage Cloud Services
    • Compute Cloud Services
  • Developer Cloud Services
  • Database Cloud Services

Audience

  • Java/JavaEE/WebLogic Consultants & Architects

For details please visit our registration page 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

Reading MAF iOS Simulator Logging Output by Andrejus Baranovskis

clip_image002It could be very handy to know how and where to read MAF logging output from iOS simulator. This is not that obvious to find logging output on Mac OS system. All log is written into application.log file, this file is located inside temporary application directory. I will explain how to locate this directory and how to open application.log file. You can read more about MAF testing and logging here - 18.5 Using and Configuring Logging.
Sample mobile application - ADFMobileLogginApp.zip, is pretty basic and contains System.out.println to write a message into application.log file: 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 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

Search

Archives
« April 2015
SunMonTueWedThuFriSat
   
4
19
20
21
22
23
24
25
26
27
28
29
30
  
       
Today