1. Define the application callback module. 2. Define the application resource description file. The resource description file name must be the same as the application name and be suffixed. app, such as bank. the app then places the resource description file in the path that erlang can search for. 3. start applicationapplication: start (bank ). compared with Exercise 1, appl
1. Define the application callback module. 2. Define the application resource description file. The resource description file name must be the same as the application name and be suffixed. app, such as bank. the app then places the resource description file in the path that erlang can search for. 3. start application: start (bank ). compared with Exercise 1, appl
1. Define the application callback Module
2. Define the application resource description file
The Resource Description file name must be the same as the application name and be suffixed with. app,
For example, bank. app
Then, place the resource description file in the path that erlang can search.
3. Start application
Application: start (bank ).
Compared with Exercise 1, before the application is started,
You do not need to call application: load/1 to load the application yourself.
Start the application monitor to check whether the application is started:
Appmon: start ().
If you already see the bank, the kernel is started by default.
4. Stop application
Application: stop (bank ).
5. Uninstall the application
Application: unload (bank ).