Important Adobe Cq5 Interview Questions Part – 2
Digital Asset Manager (dam) In Cq5, Explain?
The DAM is where authors can upload files (other than HTML) for publishing on their websites. Examples include images and PDF documents. The interface is similar to the WCM.
DAM Left Panel :
The folder structure is on the left panel, and can be expanded or collapsed by clicking the appropriate plus (+) or minus (-) symbols. For your first time using the DAM, you will need to navigate to your department’s Digital Assets through the tree, beginning with SFU.
Contact your Site Administrator if you cannot see your department’s Digital Assets space. You can only see those that you have been authorized to.
DAM right Panel :
The right panel will display the folders and their contents, including thumbnails of images. A double-click on the image will display a larger version and details such as its size, description, tags, and dimensions.
While determining the folder structure of the contents within the DAM is entirely to the authors’ discretion, keeping it similar to the site structure in the WCM is suggested. This will offer a visual reference between the relationship of the files in the DAM and the pages in the WCM.
All files must be uploaded to the DAM before they can be used; the system cannot access online files. Each must be activated (the same way as activating a content page), otherwise it will not appear on the published page, and it will only be in the authorrsquo;s editing window.
Clustering In Cq5?
In computing, a cluster is a group of computers linked together to work, in some respects, as a single computer. Every Cq5 CRX instance comes pre-configured to run within a cluster,even when running a singular instance. This design feature allows the configuration of multi-node clusters with little effort.
How Good Is Cq5 When Compared To Other Cms?
CQ5 is perfect for large content-driven sites.
Flexibility:
Even non-technical users can update the content.
Duplicating the site will be very easy to create a mobile friendly version.
Excellent at managing multiple touch-points.
It is very easy to deploy and scale up or down.
Time management:
Very less amount of time to develop.
Relies on real open standards which are not de facto standards.
Best integration with third party systems.
Content reusability.
Adobe CQ5 provides automation, a very intuitive interface and great performance
What Is Authoring?
An author in CQ generates the material which will, at some point, be published to your website. Depending on how your instance and your personal access rights are configured you can perform many tasks, including amongst others
generate new content,
Edit existing content,
create new pages using predefined templates,
move, copy or delete pages,
Activate (or deactivate) pages,
Participate in workflows that control how changes are managed.
When authoring a mobile page, the page is displayed in a way that emulates the mobile device, called an emulator. When authoring the page, you can switch between several emulators to get a real view of what the end-user will see when accessing the page.
Slinghttpservletrequest, Explain?
“org.apache.sling.api.SlingHttpServletRequest” interface defines the basic data available from the client request to both action processing and response rendering. The SlingHttpServletRequest extends the javax.servlet.http.HTTPServletRequest.
Slinghttpservletresponse, Explain?
“org.apache.sling.api.SlingHttpServletResponse” interface extends the ”javax.servet.http.HttpServletResponse” interface and is currently empty.
It merely exists for symmetry with the SlingHttpServletRequest.
Cq Workflow Engine, Explain?
CQ encompasses several applications that are designed to interact and complement each other. In particular, the Workflow Engine can be used in tight conjunction with several of the other applications.
Workflows are at the center of how form submissions in CQ WCM are typically processed. When creating a new form, the form submission can be easily associated with a workflow model, for example to store the content in a particular location of the repository or to notify a user about the form submission and its content.
Cq Widgets, Explain?
Are the highly polished user interface elements that work across all the most important browsers and allow the creation of desktop-grade UI experiences.
These widgets are included within CQ and, in addition to being used by CQ itself, can be used by any website built using CQ.
What Are The Benefits Of Osgi Application Framework?
Aplications are portable, easier to re-engineer, and adaptable to changing requirements.
It supports administration of application bundle dependencies and versions, simplifying and standardizing third-party library integration.
The framework provides isolation for enterprise applications that are composed of multiple, versioned bundles with dynamic life cycles.
OSGi applications can access external bundle repositories. The framework reinforces service-oriented design at the module level.
What Is The Purpose Of Clientlibs?
It is used for adding site specific js and css files to the page and also thridparty js and css files.
What Is Dependency/dependencies In Client Library?
It is a list of other client library categories on which this library folder depends. For example, given two cq:ClientLibraryFolder nodes F and G, if a file in F requires another file in G in order to function properly, then at least one of the categories of G should be among the dependencies of F.
Difference Between Package And Bundle?
Package:
A Package is a zip file that contains the content in the form of a file-system serialization (called “vault” serialization) that displays th content from the repository as an easy-to-use-and-edit representation of files and folders. Packages can include content and project-related data.
Bundle:
Bundle is a tightly coupled, dynamically loadable collection of classes, jars, and configuration files that explicitly declare their external dependencies (if any).
Can You Explain Life Cycle Of Osgi Bundle?
Following are the life cycle states of OSGI:
Installed:
The bundle has been successfully installed.
Resolved:
All Java classes that the bundle needs are available. This state indicates that the bundle is either ready to be started or has stopped.
Starting:
The bundle is being started, the BundleActivator.start method will be called, and this method has not yet returned. When the bundle has an activation policy, the bundle will remain in the STARTING state until the bundle is activated according to its activation policy.
Active:
The bundle has been successfully activated and is running; its Bundle Activator start method has been called and returned.
Stopping:
The bundle is being stopped. The BundleActivator.stop method has been called but the stop method has not yet returned.
Uninstalled:
The bundle has been uninstalled. It cannot move into another state.
What Is Difference Between Parsys And Iparsys?
parsys –
It is called “Paragraph System” component in which you can add other components at page level.
iparsys –
It is inherited paragraph system, which inherits parent page “paragraph system”.
What Is Process Step In Workflow?
It is a workflow component which can be found at:
“/libs/cq/workflow/components/model/process”, this is used for calling a java class in workflow.
Role Of Dispatcher In Cq5?
Dispatcher is CQ5 caching and/or load balancing tool. Dispatcher also helps to protect your AEM server from attack. It cache responses from publish instance, to increase the responsiveness and security of your externally facing published website
What Is Replication? And What Are The Steps Involved In Replication?
Steps involved in replication:
The author requests that certain content be published (activated); this can be initiated by a manual request, or by automatic triggers which have been preconfigured.
The request is passed to the appropriate default replication agent; an environment can have several default agents which will always be selected for such actions.
The replication agent “packages” the content and places it in the replication queue.
The content is lifted from the queue and transported to the publish environment using the configured protocol; usually this is HTTP.
A servlet in the publish environment receives the request and publishes the received content; the default servlet is http://localhost:4503/bin/receive.
State Various Strategies Used By Dispatcher?
Cache as much content as possible as static pages.
Accessing layout engine as little as possible.
How Clustering Is Done In Cq5?
CQ5 CRX is pre-loaded to run within a cluster,even when running a single instance. Hence the configuration of multi-node clusters with little effort happens in CQ5.
How Bundles Are Loaded And Installed In Cq5?
This is managed by the Sling Management Console of CQ5.
Explain Osgi[open Systems Gateway Initiative] In Cq5?
Dynamic module system for Java.
Universal Middleware Category.
Helps applications to be constructed from small, reusable and collaborative components.
OSGi bundles can contain compiled Java code, scripts, or any contents to be loaded in the repository.
Helps the bundles to be loaded, installed.