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

Performance Tuning


OpenCms, written in Java and running as a servlet, is a resource-intensive application. Because of the nature of the content management process, OpenCms uses many synchronized objects—the cost of synchronization is decreased performance. While a fast processor and lots of memory are necessary for good performance, there are some small software adjustments that can help squeeze a little more performance out of the system. One of the easiest and most common ways to increase the performance of a Java application is to adjust the memory settings for the JVM as already discussed in Chapter 2. Let's move on to discuss the other ways.

Database Tuning

OpenCms supports several databases, including SQL Server, MySQL, and Oracle. Each database has different methods of tuning, and there are books and manuals that deal with this subject for each of them. However, there are a few common performance issues that continually come up in OpenCms discussions, and I will talk about those here...