Monday, May 2, 2016

SOA Implementation Approach

There are three SOA Implementation Approach.

 

  • Top-Down is Business-centric Approach
  • Bottom-up is Technical-centric Approach
  • Middle-out is Merges top-down and bottom-up approaches.

 

You company will have SOA Governance which would guide you in selecting above approach.

Oracle Super Cluster

Oracle Super Cluster is best of breed engineering system from Oracle.

It constitute of following components.

  • SPARC Servers
  • Exadata Storage Server and ZFS Storage – Flash Storage
  • Low Latency Network Fabric
  • Management Software

 

There are two super cluster provided by Oracle – T5-8 and M6-32

Oracle Engineered Systems

  1. Big Data Appliance
  2. Exalogic Elastic Cloud
  3. Virtual Compute Appliance
  4. Exalytics
  5. Database Appliance
  6. Super Cluster
  7. ExaData
  8. Backup Logging and Recovery Appliance

Thursday, April 21, 2016

Webcenter Content Administrator Applet Utlity

Webcenter Content Applet utility comes with various component as below. You need to be System Admin

to perform this duties.

 

Web Layout Editor – Modifying Folder Hierarchy , Customize page.

User Admin – User , Group , Roles , Account , Security

Respository Manager -  Managing Subscription , INdexing

Archiver – Export Import using this tool.

Workflow Admin – Managing Work flow

Configuration Manager -  Congiruation of server , Rules , Profile

Tuesday, April 19, 2016

Webcenter Content Two Menu Types

 

Webcenter can be customezed in two ways

- User Interface

- Functionality

Webcenter Content comes with two menu types.

- Trays

- Top Menu (Don’t use Iframe , So Action is visible on URL i.e. IdcService=GET_DOC_PAGE)

Thursday, February 27, 2014

ADF : GoLink & commandLink

Today I had interesting requirement about a hyperlink doing so many things at the same time.

-When you hover , it should show menu

-When you click , it should set some param in request scope , call java method and open hyperlink window in Internet Explorer

That sounds easy and I was able to achieve everything with commandLink except one : opening child window on top of parent window.

I was calling actionlistener method to write java code which has javascript call from managed bean which will ultimately call window.open() and open the window.

However , window.open opened the window and minimized it.

To solve this issue I had to take alternate route practically detour.

I wrote goLink which used following stuff inside.

golink (clientlistener , serverlistener , clientattribute )

ClientListener – calling javascript

ServerListener – Calling managed Bean method

clientattribute – setting param to access in managed bean

Golink – to open hyperlink in new window that will not hide

JDEV Error :- IconOverlayTracker$NodeWatcher:802

 

Due to this wonderful blog here , I was able to know that SVN Tortoise got upgraded and fix the issue.

However , When I open the project It threw following exception and I was unable to use Jdeveloper at all.

[IllegalStateException in o.i.explorer.IconOverLayTracker$NodeWatcher:802]

After few hours of trying so many things in jdeveloper , I found the solution that

I need to uncheck couple of option in Tools –> Preferences –> Versioning –> General to remove

some pain , But still I want to know the root cause of error and why I need to uncheck it.

1. Use Navigator State Overly Icons - Uncheck

2. Use Navigator State Overly Labels – Uncheck

image

This however solved my issue , But please comment if you have time to fix the root cause of problem.

Thursday, February 6, 2014

ADF DVT : Various types of graph using same data control

 

In previous blog , I demonstrated how to develop simple ring subtype of graph for portraying employee by department. Now let me create multiple graph displaying same information.

Here is four different types of graph based for same data set.

image

ADF DVT : Building first DVT component

Let us first develop simple DVT Component that will render count of employee for each department using various representation.

I am using following query using standard HR schema.

SELECT COUNT(*) , DEPARTMENT_NAME  FROM EMPLOYEES E, DEPARTMENTS D
WHERE D.DEPARTMENT_ID= E.DEPARTMENT_ID GROUP BY DEPARTMENT_NAME

When you drag/Drop datacontrol VO for pieGraph Grpah for subtype Ring ,It will create following binding in page definition after you provided configuration for graph slices.


image


When you Drag/Drop graph , It will ask you to provide configuration for Ring , Slices and I gave following.


image


Here is output of graph when you run the project.


image


Now you can use same data control object and try various types of graph instead of above.

Tuesday, February 4, 2014

ADF DVT Graphical Component

ADF Data Visualization Components are expressive set of interactive ADF Faces components which depict the data in analytical format like Various Graph type like Pie ,Area , Bar , Funnel , Pareto , Stock , Line and much more.

All ADF DVT components support Data Control D&D feature.

Let us explore this powerful components in upcoming blogs.

Tuesday, July 9, 2013

ADF Faces : Removing IE Compatibility View Popup

If you are running Webcenter or ADF Application on latest window system with IE 10  browser you will get following message from IE when running application.

image

If you want to get rid of that you have to put following tag inside web.xml.

 

<context-param>
    <param-name>oracle.adf.view.rich.HIDE_UNSUPPORTED_BROWSER_ALERTS</param-name>
    <param-value>IECompatibilityModes</param-value>
 </context-param>

Wednesday, June 12, 2013

Java Script: Get user name of login person

 

Sometime you may have requirement to show message like Welcome User for some type of application and If that application is not authenticated then we can pull user name from window credentials using java script.

<f:view>
    <script type="text/javascript">
      function currentUser() {
        var ntw = new ActiveXObject("WScript.Network");
        alert(ntw.UserName);
      }
    </script>
    <html>
      <head>
        <meta http-equiv="Content-Type"
              content="text/html; charset=windows-1252"/>
        <title>untitled1</title>
      </head>
      <body onload="currentUser();">
        <h:form></h:form>
      </body>
    </html>

Tuesday, June 11, 2013

Jdeveloper 11.1.1.7 : ADF Pagination not working when detailStamp table used.

Please refer to my previous blog for making pagination work with Simple Table component. However , If we try to add child table to detailStamp of table facet then pagination will stop working.

I have used Oracle HR schema and created following structure. I have made Employee as main table and inside detailStamp I have added Department table.

As you can see Pagination works , But as soon as you click arrow to expand the row to see the Department for employee It will disappear.

image

After I expanded any particular Employee to see department records Pagination bar went away. Even If I minimize the employee It will not come back.

image

Jdeveloper 11.1.1.7 : ADF Pagination for Simple Table

Oracle has introduced Pagination feature in 11.1.1.7 Jdeveloper and It is very exciting news for many customer ,so they can have a choice between scrolling or page based options.

Thanks to Frank for posting with extra details here

To make pagination work with table component of ADF following property need to be populated.

  • authoHeightRow property need to be set to 0 (Try to remote this property ,It will not work)
  • Surrounding container provides floating layout and does not stretch (using PanelGroupLayout)
  • Table can be in shape by using styleClass=”AFStretchWidth”

Changes

scrollPolicy=”page” autoHeightRow=”0” and styleClass=”AFStretchWidth”

Table GUI

image

Tuesday, June 4, 2013

Oracle ADF : Map Viewer

Map has become part of our every day business need and If you need Map implementation in ADF business application then you can use.

Oracle Fusion Middleware MapViewer Version 11g ps6

It has all the require steps to configure and start using map viewer functionality in your ADF Application.

Wednesday, May 29, 2013

ADF GUI : Call method when you click Ok on Dialog

I have seen many times developers just write code in listener without comparing what action was taken on user interface component.

In this case , I am talking about ADF Faces Dialog component. I am executing the logic only if  OK button is clicked.

 <af:dialog id="dialog1"                   
            dialogListener="#{Bean.method}"/>
public void method(DialogEvent event{
        // okCancel dialog
        if (event.getOutcome().equals(DialogEvent.Outcome.ok)){
            //Logic
        }
} 

ADF GUI : PanelGridLayout in PS6

Don’t forget to research on PanelGrid Layout , It solves lot of complex GUI layout for arranging component on User Interface.

It will remind you of HTML table (Td,tr)

image

image

ADF BC : Check your ADF Page is dirty

If you move from one page to another in ADF application and want to verify whether data is modified or not.  you can use the following api for ADF.

BindingContext bindingCtx = BindingContext.getCurrent();
DataControlFrame dataCtrlFrame = bindingCtx.findDataControlFrame(bindingCtx.getCurrentDataControlFrame());
Collection<DCDataControl> dataCol = dataCtrlFrame.datacontrols();
for (DCDataControl dcDaCtrl : dataCol) {
if (!dcDaCtrl.getName().equals("DataControlName1") && !dcDaCtrl.getName().equals("DataControlname2"))
    dirty = dCDataControl.isTransactionDirty() == true ? return true : false;
}

Thursday, May 23, 2013

Webcenter Single Sign-on

There are various way to make Webcenter Portal Single Sign-on work.

- Oracle Access Manager (OAM)

- Oracle Single Sign-on (OSSO)

-SAML-based single sign-on solution for Oracle Webcenter Portal Applications Only

- SSO Solution for Microsoft Clients, using Window Authentication based on the Simple and Protected Negotiate (SPNEGO) mechanism and the Kerberos protocol.

Oracle OAM 11G is the recommended single sigh-on solution for Oracle Webcenter Portal 11g Installations.