[erlang-questions] start/stop applications without a callback module

Xavier Noria fxn@REDACTED
Tue Jan 2 09:23:42 CET 2018

If library applications are started and stopped, this paragraph in the official
OTP intro to applications
<http://erlang.org/doc/design_principles/applications.html> is accurate

*When you have written code implementing some specific functionality you
might want to make the code into an application, that is, a component that
can be started and stopped as a unit, and which can also be reused in other

but the next one says

*To do this, create an application callback module, and describe how the
application is to be started and stopped.*

and that may mislead the reader I think. To start, stop, and reuse and
application, you do not need to create an application callback module. You
need if you want run custom code when it starts or stops.

Should it be reworded? (Could volunteer a patch.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180102/de92f52e/attachment.htm>

More information about the erlang-questions mailing list