Erlang: Build application exercise 2

Source: Internet
Author: User
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 ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.