1. OCEE的主要功能
从OCEE主要的几份文档我们可以看得出OCEE的主要功能有以下几点
Accelerator: 主要提供高速缓存,官方描述如下
The Accelerator is a module that allows configuring a fully cached environment. That means
that every object that is read from the database is cached as long as possible, to minimize the
expensive database accesses.
cluster: 配置OpenCms的集群环境,多个OpenCms可以共享一个数据库,一般由一个Master和多个Slave组成,Master负责编辑发布,Slave一般只提供浏览,因为他们共享一个数据库所以是Master发布后,Slave都是即时生效的,官方解释如下
The Cluster Manager is a module that allows configuring a clustered environment with several
OpenCms instances installed on separated machines, where all instances access the same
database, so serving the same content. This requires a hardware load-balancer in front of the
cluster to distribute the request to the different OpenCms instances.
ldap: 和企业已有的LDAP集成,这样不必再重新创建一套新的登录用户和密码,很实用的一个功能
license: 导入该模块后可以在ocee-license.xml中输入KEY,格式如下:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE opencms SYSTEM "http://www.alkacon.com/dtd/6.0/ocee-license.dtd">
<opencms>
<license>
<name>xxxxxx</name>
<key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</key>
</license>
</opencms>
不过也可以通过OpenCms的后台License Manager输入
replication:非常强大,有用的功能,假设中开发过程中有几个环境:开发环境,测试环境,产品环境
开发环境中内容是不断增加的,要迁移到测试环境去测试,当然我们可以把整个数据库导入到测试环境,但这样做动作太大,而且会把所有测试环境的数据冲掉
replication提供了一个非常有效率的办法,只要在开发环境中做一些简单配置,主要是把测试环境的数据库连接信息告诉开发环境,开发环境就可以以增量导出的方式把有变化的内容添加、删除,修改到测试环境中,此功能依赖于Cluster和Transaction模块
Transaction:事务管理,维护数据的统一性,官方解释如下
A transaction is a unit of interaction with the database, the ability to handle transactions allows
the user to ensure that integrity of the data is maintained.
A single database operation might require several queries, each reading and/or writing
information in the database. When this happens it is usually important to be sure that the
database is not left with only some of the queries carried out. For example, when publishing a
resource, the resource is written in the online project. Additionally, a backup for the history of
the resource is also written.
If the transaction fails at any point before finishing, OpenCms will rollback any changes. All
other transactions will behave the same way as if the transaction had never existed.
2. 申请OCEE
OCEE是OpenCms企业级组件不属于免费服务,所以要么购买,或者可以申请试用版的KEY,一般试用版有效期为一个月,有问题或者申请KEY可以通过下面的地址
http://www.alkacon.com/en/company/contact/form.html
提交后对方会给你一个回复,给你一个下载连接和一个下载帐号,一个KEY