Category Archives: Oracle

How to create a Custom ADF Component

In this tutorial, we will create a custom ADF Component. Create new files and package structure as shown: Source Code of the required files is as below: AlertDemo.java package com.techutils.adf.jsf.faces.component; import javax.faces.event.AbortProcessingException; import javax.faces.event.FacesEvent; import org.apache.myfaces.trinidad.bean.FacesBean; import org.apache.myfaces.trinidad.bean.PropertyKey; import org.apache.myfaces.trinidad.component.UIXObject; … Continue reading

Posted in Oracle, Oracle ADF | Tagged , , , , , , , | Leave a comment

How to add inbuilt task flows in WebCenter Portal

In this tutorial, I will add an internal task flow to Web Center Portal. For demo, i will use the login task flow of the Web Center Portal.

Posted in Oracle, WebCenter Portal | Tagged , , , , , , | Leave a comment

Retrieve GET parameters from URL in Managed Bean in Oracle ADF

For obtaining parameter from URL in java code in Oracle ADF use the below code URL: http://127.0.0.1:7101/Application-ViewController-context-root/faces/page.jspx?paramName=Testing123 Use the code: String test = FacesContext. getCurrentInstance().getExternalContext().getRequestParameterMap().get(“paramName”);

Posted in Oracle, Oracle ADF | Tagged , , , , , | Leave a comment

How to create new Portal in WebCenter Portal

In this tutorial, we will create a small portal application in the Oracle WebCenter Portal.

Posted in Oracle, WebCenter Portal | Tagged , , , , | Leave a comment

How to start up Oracle WebCenter Portal

In this small tutorial we just start up the Web Center Portal and Navigate around. Prerequisite: Installation should be complete Steps: Navigate to Oracle Middleware Home(in my case C:/Oracle/mw10.3.6) Navigate to the Application Domain(C:\Oracle\mw10.3.6\user_projects\domains\portal_domain) Execute startWeblogic.cmd(or .sh in case of linux) … Continue reading

Posted in Oracle, WebCenter Portal | Tagged , , , | Leave a comment

“MDS_INTERNAL_SHREDDED” has errors … while starting Oracle WebCenter Portal

I got below error while starting Oracle WebCenter Portal server with on Oracle XE 10g database. MDS-01370: MetadataStore configuration for metadata-store-usage “OWSM_TargetRepos” is invalid. ORA-04063: package body “DEV_MDS.MDS_INTERNAL_SHREDDED” has errors ORA-06508: PL/SQL: could not find program unit being called: “DEV_MDS.MDS_INTERNAL_SHREDDED” … Continue reading

Posted in Oracle, WebCenter Portal | Tagged , , , , , , , , , | Leave a comment

Insert Rows in ADF View Object Programatically

Suppose that I have EmpVO view object which have below attributes EmpId, FirstName, LastName We can do inserting rows by two ways in data model layer (Application Model or View Object classes) I will write my code in ApplicationModuleImpl class try … Continue reading

Posted in Oracle, Oracle ADF | Tagged , , , , , , | Leave a comment

How to pass Service Name or SID in JDBC URL

Below is the way to send either Service Name or SID in JDBC URL to connect to Oracle SQL For Service Name @//host_name:port_number/service_name For example: jdbc:oracle:thin:scott/tiger@//myhost:1521/myservicename For SID @//host_name:port_number:service_name For example: jdbc:oracle:thin:scott/tiger@//myhost:1521:myservicename Oracle DOC

Posted in Oracle, Oracle SQL | Tagged , , , , | Leave a comment

When and how much to mix technologies for a project?

The main idea behind using a technology is to harness the power of code re-usability and libraries that have already been worked on and trusted to be working and functional with minimal or no issues. The term “Technology” does not … Continue reading

Posted in Oracle, Oracle ADF, Oracle SQL, OSB, Weblogic | Tagged , , , , , , , , , , | Leave a comment