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
Credits
About the Author
Introduction

Chapter 8. Deploying an OpenCms Solution

In the last few chapters, we have focused our attention on developing code and content for the OpenCms platform. Now, we will return to the administrative aspect of managing OpenCms. In this chapter, we will examine the issues surrounding the deployment of an OpenCms solution. In this chapter, we will cover:

  • Serving static versus dynamic content

  • Static exports

  • User authentication and management

  • Backup and recovery

  • Performance tuning

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...