Liferay Development Best Practises Quiz

Description

Liferay Portal is a platform based on standards that allows plenty of options to develop Web Portal projects. As a Liferay developer, it's very useful to be aware of the Liferay development best practises and available options.
hfernandes
Quiz by hfernandes, updated more than 1 year ago
hfernandes
Created by hfernandes over 9 years ago
301
0

Resource summary

Question 1

Question
What are the standards-based technologies supported by Liferay for incorporating your own applications into a Liferay portal?
Answer
  • Portlets
  • IFrame
  • OpenSocial gadgets
  • Web widget
  • Web Parts

Question 2

Question
Choose all the right definitions for Portlets.
Answer
  • Portlets are web components based in Java technology.
  • Portlet Specification 2.0 is defined in JSR-168.
  • A portlet is an application that provides a specific piece of content (information or service) to be included as part of a portal page.
  • The lifecycle of a portlet is managed by the servlet container.
  • Web clients interact with portlets via a request/response paradigm implemented by the portal.
  • The content generated by a portlet may vary from one user to another depending on the user configuration for the portlet.

Question 3

Question
Since they’re entirely self-contained, portlets are the least invasive mechanism for extending Liferay
Answer
  • True
  • False

Question 4

Question
Portlets are not the most forward compatible Liferay development option.
Answer
  • True
  • False

Question 5

Question
Choose which options are not correct about Liferay Portlets.
Answer
  • Portlets are hot-deployed as plugins into Liferay instances.
  • The hot-deploy mechanism results in a low downtime for Liferay Portal servers.
  • A single Liferay Portlet Plugin can contain multiple portlets.
  • Liferay Portlets can not be used to build complex applications.
  • Liferay Portlets can leverage the full suite of technologies and libraries for the Java platform.

Question 6

Question
Choose the possible options to reuse existing web applications in Liferay Portal
Answer
  • Create simple portlets that interact with the application (possibly using Web Services).
  • If the application is implemented using JSF, it can be converted to a portlet application.
  • Create a portlet that integrates the remote application either using an IFrame or an HTTP proxy (e.g., using Liferay’s WebProxy portlet).
  • Rewrite the application as a portlet.

Question 7

Question
Thanks to the portlet and Java EE specifications, each portlet application can use its own set of libraries and technologies, whether they are used by Liferay or not.
Answer
  • True
  • False

Question 8

Question
Ext plugins can use libraries that are not compatible with the ones used by the core Liferay code.
Answer
  • True
  • False

Question 9

Question
Select the best options to choose a development framework from the large set available.
Answer
  • Use a framework that the development team knows.
  • Choose the simpler solution that covers the project real needs.
  • Choose Liferay's MVC Portlet framework because it's lighter.
  • Choose JSF framework because it's a standard.

Question 10

Question
Liferay has its own JavaScript library called...
Answer
  • AlloyUI
  • YUI
  • jQuery UI
  • Dojo
  • Sencha
  • Sproutcore

Question 11

Question
Any JavaScript library can be used, as long as the library does not conflict with libraries referenced by other portlets deployed in the same portal.
Answer
  • True
  • False

Question 12

Question
Choose the right options regarding Liferay’s Service Builder framework.
Answer
  • Liferay’s Service Builder is a code generation tool
  • Service Builder automates creating interfaces and classes for database persistence and service layers
  • Service Builder automates creating user interfaces and workflow
  • The business logic is implemented in the remote interface
  • The permission checks are implemented in the local interface
  • Objects on the portal instance interact with the local interface
  • Objects outside the portal instance interact with the remote interface via JSON, SOAP, and Java RMI

Question 13

Question
Liferay is designed to be customized. Choose the available options for Liferay developers:
Answer
  • The platform look and feel can be customized using a Theme Plugin.
  • You can create custom layout templates to arrange portlets using Layout Templates Plugin.
  • Liferay Out-of-Box functionality can be customized or extended using a Hook Plugin.
  • Liferay core functionality can be customized using an Ext Plugin.
  • All the listed options are valid for Liferay custom developments.

Question 14

Question
Multiple plugins and plugin types can be combined into a single WAR file.
Answer
  • True
  • False

Question 15

Question
Liferay's Look and Feel can be fully customized with a custom plugin. Choose the following true options:
Answer
  • A theme plugin can specify color schemes.
  • A theme plugin allows to define commonly used images and style for fonts, links, navigation elements, page headers and page footers.
  • To customize the look and feel the developer just have option: use CSS or Velocity templates.
  • In order to create user interfaces consistent with Liferay built-in functionality the developer must use JQuery UI API framework.

Question 16

Question
Layouts specify the arrangement of portlets on a page rather than their look and feel. You can create custom layout templates to arrange portlets just the way you like them.
Answer
  • True
  • False
Show full summary Hide full summary

Similar

Language Development
aliceschofs
Development and Inequality Junior Cert
Gaeilge SPC
Piaget's Theory of Cognitive Development
Anja Starc
GCSE Biology Module B5
jessmitchell
HPS202 exam revision
kiera.mj
Piaget's Stages of Cognitive Development
Melissa Ramos
FAVORITE WEEKEND ACTIVITIES
sheena garcia
Histology of the Female Reproductive System
Matthew Coulson
Construcción de software
CRHISTIAN SUAREZ
Software Development Standards
beefycrisps99
Developmental Psychology
Ben Armstrong