Posts Tagged ‘Rohan Walia’

clip_image001

There are new updates in Oracle Public Cloud portal. Now there are new Alerts which lets one set notifications for the quota usage. These notifications are both for Metered as well as Subscription based Non Metered PaaS services.
Below are the steps to set Alerts and notifications in Cloud Public Portal for PaaS Services.

Step 1 : On the Dashboard, Click on Estimated Balance of the services for which you want to set new alert.

Step 2 : Check the Amount for Database Public Cloud Service. This is total available credits. Suppose this is X amount. We will set an alert on 80% of X. 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

 

clip_image002

Most common question in mind while going to cloud is to get statistics for latency and throughput from customer location to the Data Centers based in different geography’s e.g. (US – Chicago and Ashburn ).

Below is the way to get the numbers of throughput and latency from tooling provided by OPC Interface.

Step 1 : Click on the user name and select Diagnostics.

Step 2 : Click Test Button.

Step 3 : Test in progress.

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

 

clip_image002There are many detailed useful blogs on ADF Logging which provide full details on understanding the details and how to implement and configure it.
This post is for my future reference as how to enable/configure ADF Logging for multiple applications deployed on Weblogic Managed Server.
Use Case : Enable ADF Logging for multiple applications deployed on Weblogic Managed Server.
Lets Get Started.
Important thing to understand here is that for ADF Logging to be implemented correctly Package Structure for the application plays a very important role. So as a common/best practice , package structures should be defined correctly for all the Managed Beans/Java Classes in the application. Also packages structures should be able to differentiate the ManagedBeans/Java Classes in different applications.
Ideally a unique root package name for the application should be given at project creation time in Jdeveloper.

Ok lets start implementing.
Created two ADF Applications. PayRollApp and PartnerApp. Both applications have below mentioned root packages.
PayRollApp : com.company.payroll
PartnerApp : com.comapny.partner
Created a PartnerTest.jspx in PartnerApp having a button which has an actionListener method which logs the log messages.
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

 

By Default, every ADF Application writes a JSESSIONID Cookie which maintains the session across the ADF application.
clip_image001
The name JSESSIONID is default and can be seen in browser cookies.
Use Case : There might be scenario where this default name required to be changed. One example can be that there is a requirement for running two applications , one ADF Application and other might be existing application. The existing application already use JSESSIONID as cookie name for session management. In that case there will be a conflict between the two applications. In order to solve this we need to give different name of SessionId for ADF Application.
Created a simple ADF application
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

 

clip_image002ADF Business Components can be exposed as SOAP Services. Application Module provides Service Interfaces as a way to define operations for the services to be exposed. Custom methods written in AMImpl class can also be exposed as operation of web services.
But one of the limitation is that there is restriction on return types from the services exposed as service interface from Application Module.
In this post we will see how easily we can develop a web service using ADF BC Service Interface and can tweak/use one of the given returnType List<ViewRowImpl> to return list of complex type object.
Use case here is to create an operation in ApplicationModuleImpl class to return List of Object consiting of three variables -  DepartmentName,ManagerId,IsManagerFlag and expose the operation as ADF BC Service Interface SOAP Service. (Jdeveloper 11.1.1.7)
So Lets get started
Created a simple ADF Web Application using HR Schema and created DepartmentsEO , VO and AM and there respective Java Classes.
Create a Programmatic VO – WSResultPVO which will be returned from the operation of the WebService.
Now Add three variables in the PVO. DepartmentName,ManagerId and IsManagerFlag. 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

clip_image002

ADF Applications uses power of reusable task flows to be embed as regions in the page, which can be refreshed based on the use cases.
But there are some requirements by the clients which still emphasize on using Iframe to display different applications inside one application.
Suppose there is a requirement where there are 3 applications A,B and Consuming Application. All three applications A,B and Consuming needs to be deployed as separate EAR(Applications) and Consuming App needs to display the A and B Applications pages inside its main page.
Portal architecture can also fit for this requirement but if there is only ADF you need to implement this, the only choice to do is using Iframe.
In this post I will explain you how we can create a menu and show another application in IFrame in ADF Application.
We will use af:inlineFrame component to achieve this. Below is the use case.

The above diagram is for consuming application and Links in the menu (TestPage1 and TestPage2) refers to another application and the pages on click will open in right hand side inside Iframe.
Lets get started.
Created an ADF Application which has two pages. This will be deployed before the Iframe Application. 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

 

clip_image002In this post I will explain a way to create an ADF application consisting of task flows as ADF Library jar and deploy it as shared library and then refer it in your Consuming Application. In this scenerio, we will not be creating a WAR, rather we will be deploying ADF Library Jar as shared library.
In this case we dont need to create weblogic.xml . We will use weblogic-application.xml which is already there in META-INF folder when we create ADF Application.
Created an ADF Application TaskFlowFirstApp.
The TaskFlowFirstApp is just having a TaskFlow with one fragment which displays Departments table out of DepartmentsVO.

The Task Flow application is deployed as a ADF Library Jar.  While creating the deployment profile for ADF Library Jar, need to add the MANIFEST.MF File like below. Read the complete post 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