Company
Date Published
Author
Christer Fahlgren
Word count
654
Language
English
Hacker News points
None

Summary

Dropwizard is a Java service framework that provides a simple way to create RESTful APIs and other services, but it can be difficult to deploy in an old-school JEE server. To solve this problem, the authors created WizToWar, a utility library that allows Dropwizard applications to be deployed as WARs for JEE servers. This enables developers to use the benefits of Dropwizard while still being able to deploy their services in traditional JEE environments. The authors chose JEE because they needed to support SIP connectivity, which is only available through JSR-289 APIs, which are integrated with JEE application servers. WizToWar acts as a glue that hooks into the lifecycle of the WAR and initializes the Dropwizard service, making it possible to generate both a normal Dropwizard service and a WAR from the same source. This allows developers to continue using the standard Dropwizard programming model while still meeting integration requirements.