- Liferay Beginner’s Guide
- Robert Chen Sandeep Nair Samir Bhatt
- 410字
- 2021-08-27 12:04:28
Liferay Portal architecture
The popularity of Liferay Portal largely comes from its adaptable architecture. There are three aspects to it.
Web service provider
Liferay Portal adopts a Service Oriented Architecture (SOA). Its architectural diagram is as follows:

In this diagram, Liferay Portal handles Hypertext Transfer Protocol (HTTP) requests from a user. The request will first be received by the Struts servlet. This servlet runs and renders portlets. During the process, the code invokes singletons, configured with Spring Application Programming Interface (API) and plain Java objects. It uses the Hibernate API to get data from or enter data into the database. Optionally, it may use the Java Messaging Service (JMS) to send out messages.
On the other hand, Liferay Portal also provides web services for programs running on other servers. The portal uses Apache Axis specification to generate web services. The Axis configuration is specified in the server-config.wsdd
file under the portal/tunnel-web/docroot/WEB-INF/
folder. These are a list of Simple Object Access Protocol (SOAP) services. When an external program asks for a web service from the Liferay Portal, the Axis servlet in Liferay Portal will answer it. It will also call singletons initialized through Spring framework and call the plain Java objects. These plain Java objects will use Hibernate API to access the database.
Liferay is flexible
The architecture of Liferay Portal allows it to run on all major application servers and servlet containers, databases, and operating systems. It can be deployed on over 700 infrastructure combinations. For example, you can use MySQL or Oracle; you can run Liferay Portal in Tomcat or WebSphere.
You can plug in Solr for searching and Kaleo for workflow to Liferay Portal.
The portal administrator can apply different themes on different Liferay Portal pages. He can change the layout template of every portal page. By drag-and-drop, he can add portlets onto a portal page.
Liferay is standard compliant
Liferay Portal is compliant with Java and portlet standards. The following standards have been used in the development of Liferay Portal:
Pop quiz – multiple choices
Choose the correct statements:
a. Liferay Portal is a web service producer out-of-the-box
b. Liferay Portal adheres to Portlet 2.0 Specification
c. The development of Liferay Portal started in 2000
d. All of the above
- 觸摸屏實用技術(shù)與工程應(yīng)用
- 圖解西門子S7-200系列PLC入門
- Istio入門與實戰(zhàn)
- 深入淺出SSD:固態(tài)存儲核心技術(shù)、原理與實戰(zhàn)
- 嵌入式系統(tǒng)設(shè)計教程
- micro:bit魔法修煉之Mpython初體驗
- 電腦軟硬件維修從入門到精通
- 嵌入式系統(tǒng)中的模擬電路設(shè)計
- 筆記本電腦維修實踐教程
- 無蘋果不生活:OS X Mountain Lion 隨身寶典
- LPC1100系列處理器原理及應(yīng)用
- 圖解計算機(jī)組裝與維護(hù)
- 可編程邏輯器件項目開發(fā)設(shè)計
- 多媒體應(yīng)用技術(shù)(第2版)
- 微服務(wù)架構(gòu)實戰(zhàn):基于Spring Boot、Spring Cloud、Docker