Book Image

Liferay Portal 6.x Enterprise Intranets (Update)

Book Image

Liferay Portal 6.x Enterprise Intranets (Update)

Overview of this book

Table of Contents (19 chapters)
Liferay Portal 6.2 Enterprise Intranets
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
9
Web Content Management
Index

Introducing Liferay Portal's architecture and framework


Liferay Portal's architecture supports high availability for mission-critical applications using clustering and the fully distributed cache and replication support across multiple servers. The following diagram has been taken from the Liferay forum written by Jorge Ferrer. This diagram depicts the various architectural layers and functionalities of portlets:

Figure 1.1: The Liferay architecture

The Liferay Portal architecture is designed in such a way that it provides tons of features at one place:

  • Frontend layer: This layer is the end user's interface

  • Service layer: This contains the great majority of the business logic for the portal platform and all of the portlets included out of the box

  • Persistence layer: Liferay relies on Hibernate to do most of its database access

  • Web services API layer: This handles web services, such as JSON and SOAP

In Liferay, the service layer, persistence layer, and web services API layer are built automatically by that wonderful tool called Service Builder.

Note

Service Builder is the tool that glues together all of Liferay's layers and that hides the complexities of using Spring or Hibernate under the hood.