• LOGIN
  • No products in the cart.

Oracle WebCenter Architecture Interview Questions

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.

Difference between Customization and Personalization?

Whenever an application is developed by using Webcenter , admin of the particular web application will have rights to perform some changes to the application which are visible to all the users across the world. Mostly the changes are related to the changing templates, colors, layouts, images, tetc…..

Thus Customization means user with admin privileges who can perform changes to the application which are visible globally.

Coming to the personalization , every registered user to the webcenter application will have some privileges to change the things which are visible only to that user after login every time.

A good example for this topics is igoogle where users can personalize the blog by arranging the applications like calendar, weather apps, News, etc…in a particular order as he wish. These personalization whatever done by the user should be saved and generated whenever he login the next day. This can be achieved by using MDS repository directory.

Customizations can visible globally which are done by the admin are achieved by a webcenter component called Oracle Composer.

Oracle Webcenter Developer Training

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 beans, and to define all page-to-page navigation rules.

In which xml do you configure the skin for your framework application?

trinidad-config.xml

What is Oracle Webcenter Portal?

Oracle WebCenter Portal provides design time and runtime tools for building enterprise portals, transactional 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.

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.

What is Oracle Composer?

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

Name a few components used for run-time editing with Oracle Composer?

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

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.

Are you Looking for Oracle WebCenter Developer Training? Please Enroll for Demo Oracle WebCenter Developer..!

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.

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.

Can you rename the PortalWebAssets folder?

Yes, It can be renamed.

Is it a mandate to configure in security in your webcenterportal  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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

How do you define pagination in adf?

We define custom pagination in ADF by creating a custom table as a taskflow using the af:iterator tag. This renders the collection of data just as a table renders it. Now we bind the value property of iterator to collection model from ADF bindings declaration and set the number of visible row to, say 15.

Oracle Webcenter Developer Training

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. Validators re used to impose validations on the inpiut components.

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 beans.

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.

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.

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.

Are you Looking for Oracle WebCenter Developer Online Training? Please Enroll for Demo Oracle WebCenter Developer..!

What are the advantages of using ADF?

Following are the advantages of using :

It supports Rapid Application Development.

It is based on MVC architecture

Declarative Approach (XML Driven)

Secure

Reduces maintenance cost and time

SOA Enabled

What are various components in ADF?

Oracle ADF has following components

ADF Business Components(Model)

ADF Faces (View)

ADF Taskflows(Controller)

What is the return type of Service Methods?

Service Methods can return Scalar or Primitive Data types.

Can Service Methods return type Void?

Yes, Service Methods can Return type Void

Can Service Methods return Complex Data types?

No, service methods can return only primitive/scalar data types.

Which component in ADF BC manages transaction ?

Application Module, manages transaction.

Can an entity object be based on two Database Objects(tables/views) or two Webservices ?

No entity objects will always have one to one relationship with a database object or web service.

June 27, 2021
GoLogica Technologies Private Limited  © 2019. All rights reserved.