Book Image

Building Websites with OpenCms

Book Image

Building Websites with OpenCms

Overview of this book

This book takes you through the process of creating content-rich websites and applications using OpenCms. Although powerful and flexible, OpenCms can be daunting on first approach, but its advanced features reward the investment in learning. This book exists to ease Java developers into getting the most from OpenCms. OpenCms OpenCms is a professional-level, open source Website Content Management System, with which you can create and manage complex websites. Based on Java and XML technology, it fits into almost any modern IT environment. With hard-won experience of the practical difficulties faced by developers working with OpenCms, this book is the embodiment of the author's expertise, and the perfect way to master the system.
Table of Contents (12 chapters)
Building Websites with OpenCms
About the Author

Serving Static versus Dynamic Content

In OpenCms, there are three ways of serving published content:

  • Serving statically from the OpenCms servlet

  • Serving dynamically from the OpenCms servlet

  • Exporting from OpenCms and serving from another web server

In this section, I will describe the first two cases, explaining the relative advantages of each. In the next section, I will discuss the option to statically export and serve the content from another server.

Up to this point, we have performed all of our tasks (except for logging in) as a system user of OpenCms. Most of our work has been conducted through the Workplace tool, and other than testing material, we have not done much with the public side of OpenCms.

By nature, the Workplace is dynamic. Files and folders are created, locked, edited, unlocked, and removed; templates are created and updated. In short, the CMS itself is in a state of flux. However, once resources are published, the published copies become static. Until another publish event...