java - How to create my own custom Dropwizard bundle? -
in documentation there short note bundles :
a dropwizard bundle reusable group of functionality, used define blocks of application’s behavior.
and that's all. know there's interface called bundle, configuredbundle , managedbundle, there's neither example nor tutorial how use these interfaces.
can show example?
possible duplicate of looking dropwizard
bundles addons dropwizard make easy add small pieces of functionality. example, if use assets bundle, can attach ui api testing purposes , run on same port , easy use. example migrations bundle ties liquibase dropwizard can run database migrations same jar. works since api accessing sql database has connection parameters defined in yml file, migrations able run on same database.
i highly suggest looking this git repository, there 2 or 3 examples there might give better idea on dropwizard bundles are.
Comments
Post a Comment