300+[LATEST] Oracle Webcenter Interview Questions and Answers

Q1. What Is Mds?

MDS or Metadata Repository is the repository for metadata of certain deployed applications. When the user commits run-time changes, they are stored and deployes an MDS on the server.

Q2. What Is Inter-portlet Communication?

Inter-portlet communication is achieved when an action in one portlet triggers a response in the second portlet. Its a communication bridge between two portlets. For eg, one portlet contains a checkbox containing list of products. When i choose a product from the list and click on submit, the other portlet displays the details of the respective product.

Q3. What Is The Difference Between An Action And An Action Listener?

Actions are designed for business logic and participate in navigation handling, whereas action listeners typically perform user interface logic and do not participate in navigation handling.

Action listener is a class that wants to be notified when a command component fires an action event.

Q4. What Is The Difference Between Visible Property And Render Property?

The visible property is set to true/false based on the requirement whether we want to see the field on the page or not at run time. The field or component still exists on the page, though hidden. The render property is used to conditionally load the component based on a criteria.

Q5. What Is Binding Context And Binding Container?

Binding context is a runtime map between the data controls and page definition of pages in the application which is used to access the binding layer. It is accessible through the EL expression in your jspx pages. Binding container is a request-scoped map that is used to instantiate the page bindings. This is accessible through the EL expressions. Also, since it is request-scoped map, it is accessible during every page request.

Q6. What Is Oracle Composer?

Oracle composer provides a runtime editing tool that enables business users to edit application pages.

Q7. Can You Rename The Portalwebassets Folder?

Yes, It can be renamed.

Q8. What Is Oracle Webcenter Portal?

Oracle WebCenter Portal provides design time and runtime tools for building enterprise portals, tractional web sites, and social networking sites. It  provides portal-specific features such as page hierarchies, navigation models, delegated security, customization, and others. Portals can also include features like portlets, content management system integration, personalization, social computing services, search, analytics etc.

Q9. Is It A Mandate To Configure In Security In Your Webcenter Portal Application Always?

No, if the developer does not configure the security in webcenter, the adf security gets configured by default. As part of this a default username/password is automatically created. Also, it also provides default Login and Logout pages.

Q10. What Are The Different Types Of Bindings In Adf?

ADF contains the following types of bindings:

Attribute Bindings: This is the binding to retrieve the value of a single view attribute in the iterator binding’s current view row. For eg; #{bindings.CustomerId.InputValue}

Tree Bindings: This is used for tables, tree-tables and trees. It is used to expose rows of a  table in the iterator binding’s current range. Eg; All Customers-#{bindings.AllCustomers.labels.CustomerId}

Action Bindings: This binding type is used when buttons or command links are dropped on the user interface and require an action to be performed on them. We can use data control operations on them, for eg, Create, Delete, First, Last, Commit, Rollback etc.

Method Bindings: This binding is used when you want to use custom methods to be executed.

Iterator Binding: This binding is created by the application to access the ADF binding context. It contains a reference to the page bound data collection, helps access it and iterates over its data objects.

Q11. What Is Policy Store And Identity Store In Oid?

Identity Store is used to store information about users and groups while the Policy Store is used to store information about security policies.

Q12. What Is The Purpose Of Jazn-data.xml?

This file is used for defining the permissions and privileges for various groups of users on various taskflows created in the application.

Q13. What Is The Difference Between Portals And Pagelets?

A pagelet is a reusable user interface component similar to a portlet, but while portlets were designed specifically for portals, pagelets can be run on any web page, including within a portal or other web application.

Q14. What Is The Use Of Portalwebassets In Webcenter Portal Application?

PortalWebAssets is used to separate all the static resources in the application like HTML, image files etc.

Q15. Name A Few Components Used For Run-time Editing With Oracle Composer?

Panel customizable, Show Detail Frame,  Custom Actions,  Layout Customizable.

Q16. What Is Jcr?

JCR  or Java Content Repository API adapters enable user  to access data stored in content management systems, such as Oracle WebCenter Content, Oracle Portal, or even your file system, available to your application.

Q17. What Is The Purpose Of Faces-config.xml?

Use the faces-config.xml file to register a Framework application’s resources, such as custom validators and managed be, and to define all page-to-page navigation rules.

Q18. What Is The Purpose Of Adfc-config.xml?

The adfc-config.xml file is the configuration file for an ADF unbounded task flow. This file contains metadata about the activities and control flows contained in the unbounded task flow.

Q19. What Are Validators And Converters?

Validators and Convertors are used to provide conversion and validation capabilities to the ADF input components respectively. Converters convert the valurs on ADF forms to the type in which the application accepts them after the values are edited on the form and submitted. Validations are used to impose validations on the input components.

Q20. What Is The Difference Between Trinidad.config And Trinidad.skins?

trinidad.config file is ceated when you create a webcenter portal application. This is used to register the skin-family you are going to use for your entire application.

Trinidad.skins is used when we use skin as a Jar file. This file provides a mapping between the Skin Id and the actual path where the skin exists.

Q21. What Is The Life Cycle Of Jsf?

Restore View : The request comes to the FacesServet controller which extracts the viewed from this request.

Apply request values: The purpose of the apply request values phase is for each component to retrieve its current state. The components must first be retrieved or created from the FacesContext object, followed by their values.

Process validations: This phase makes use of the validators to validate the validation rules on the fields..

Update model values: In this phase JSF updates the actual values of the server-side model ,by updating the properties of your backing be.

Invoke application: Here the JSF controller invokes the application action to handle Form submissions.

Render response: In this phase JSF displays the view with all of its components in their current state.

Q22. In Which Xml Do You Configure The Skin For Your Framework Application?

trinidad-config.xml

Q23. What Is The Difference Between Databindings.cpx And Datacontrol.dcx?

The DataBindings.cpx file contains the Oracle ADF binding context for your entire application and provides the metadata from which the Oracle ADF binding objects are created at runtime. The DataControls.dcx file is created when you register data controls on the business services. This file is not generated for Oracle ADF Business Components. It identifies the Oracle ADF model layer data control classes(factory classes) that facilitate the interaction between the client and the available business service.

Q24. What Is A View Scope?

A view-state allocates a new viewScope when it enters. This scope may be referenced within the view-state to assign variables that should live for the duration of the state. This scope is useful for manipulating objects over a series of requests from the same view.

Q25. What Is The Difference Between Setting An Immediate=true On A Button And Immediate=true On A Text Field?

When immediate is true on a button, the command’s action and ActionListeners, including the default ActionListener provided by the JavaServer Faces implementation, will be executed during Apply Request Values phase of the request processing lifecycle, rather than waiting until the Invoke Application phase.

In case of a text field, by default, values are converted and validated together in the Process Validators phase. However, if you need access to the value of a component during Apply Request Values – for example, if you need to get the value from an actionListener on an immediate commandButton – then setting this to “immediate” makes that possible.

Q26. How Do You Decide Whether The Application Should Be Deployed As An Ear Or A War?

If the application contains run-time customizations using MDS, it must be bundles as an EAR. For simple webcenter portal application with no such customizations, WAR can be created.