LRP-614 practice question 5 of 25

The following statements about plugins are true: (Please select all correct answers.)

Full set: 144 questions
Answer options
A: All plugins are hot-deployable
B: Plugins can be used to modify core portal behavior Correct answer
C: Plugins can be used to modify the layout of a page Correct answer
D: Liferay supports six different types of plugins Correct answer
E: Plugins are the preferred development approach Correct answer
Correct Answer:
B. Plugins can be used to modify core portal behavior; C. Plugins can be used to modify the layout of a page; D. Liferay supports six different types of plugins; E. Plugins are the preferred development approach
Explanation

Liferay's plugin architecture is the standard, recommended method for extending portal functionality. Plugins are designed to be modular and upgrade-friendly. Hook and EXT plugins can modify core portal behavior by overriding services, JSPs, or even core Java classes (B). Layout Template and Theme plugins are specifically used to define the structure and appearance of portal pages (C). For Liferay 6.1/6.2, there are six officially supported plugin types: Portlets, Themes, Layout Templates, Hooks, Web plugins, and EXT plugins (D). Using this plugin-based approach is the preferred development strategy over direct modification of the portal source code, as it ensures better maintainability and simplifies future upgrades (E).

Why Incorrect

A. The EXT (Extensibility) plugin modifies core portal files and is not hot-deployable; it requires a full server restart to apply changes.

References

1. Liferay, Inc. (2013). Liferay Portal 6.2 Developer's Guide. Chapter 1: Overview of Liferay Development, Section: "Liferay's Plugin-Based Architecture", pp. 10-11. (Confirms options D and E by listing the six plugin types and stating that the plugin model is the best practice for customization).

2. Liferay, Inc. (2013). Liferay Portal 6.2 Developer's Guide. Chapter 11: Extending Liferay with Ext Plugins, Section: "Introduction to Ext Plugins", p. 289. (Confirms option A is incorrect by stating, "Ext plugins are not hot-deployable").

3. Liferay, Inc. (2013). Liferay Portal 6.2 Developer's Guide. Chapter 10: Customizing Liferay with Hooks, Section: "Introduction to Hooks", p. 261. (Supports option B by explaining how hooks can customize the portal without modifying core source files).

4. Liferay, Inc. (2013). Liferay Portal 6.2 Developer's Guide. Chapter 8: Themes and Layout Templates, Section: "Creating a Layout Template", p. 208. (Supports option C by describing the purpose of layout templates in defining page structure).

Scroll to Top