Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Building Exhibitor

Randgalt edited this page Jan 26, 2012 · 30 revisions

Some Assembly Required

Exhibitor is not a complete application. You can add to it or use it as is. Follow these steps to build a complete Exhibitor based application.

JAX-RS Implementation

You need to choose a JAX-RS implementation. The industry standard is Jersey. TBD

Container

Exhibitor must be part of a Java Web Application Container. Some common containers are:

  • Tomcat
  • Jetty
  • JBoss

SPI

You will need to write implementations (or use supplied defaults) for several interfaces:

Class Default Implementation(s) Description
BackupSource FileBasedBackupSource Used to backup/restore ZooKeeper data
GlobalSharedConfig FileBasedGlobalSharedConfig
JDBCBasedGlobalSharedConfig
Stores shared configuration between all instances being managed by Exhibitor
ProcessOperations StandardProcessOperations Methods to start/stop/etc. the local ZooKeeper instance