Skip to content

BootstrappingApps

John Ament edited this page Jan 2, 2017 · 2 revisions

Bootstrapping Hammock

Hammock is based on the idea of starting a CDI container and tying into CDI container lifecycles to perform various operations - subscribing to queues, starting up HTTP listeners, etc. Some amount of servlet integration is required to make each container work. There are three bootstrap modules supported, which can be used to run your application

  • bootstrap-weld - Starts a Weld 2 (2.4.1) container, CDI 1.2 compatible
  • boostrap-weld3 - Starts a Weld 3 (3.0.0.Beta1) container, CDI 2.0 compatible
  • bootstrap-owb - Starts a container using Apache OpenWebBeans (1.7.0), CDI 1.2 compatible

Presently, all Hammock components are based on CDI 1.2 and will be for some time.

Clone this wiki locally