<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Bundling ErlyBank as an Application</title>
	<atom:link href="http://spawnlink.com/articles/bundling-erlybank-as-an-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://spawnlink.com/articles/bundling-erlybank-as-an-application/</link>
	<description>Linking You to Erlang</description>
	<pubDate>Thu, 29 Jul 2010 20:02:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: snaky</title>
		<link>http://spawnlink.com/articles/bundling-erlybank-as-an-application/#comment-8765</link>
		<dc:creator>snaky</dc:creator>
		<pubDate>Fri, 19 Jun 2009 09:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://spawnlink.com/?p=111#comment-8765</guid>
		<description>Is there a way to automatically generate the Application Resource file? What if some modules will be removed from a project and the resource file isn't correspondingly updated? It's rather inconvenient to write a list of all included modules manually.</description>
		<content:encoded><![CDATA[<p>Is there a way to automatically generate the Application Resource file? What if some modules will be removed from a project and the resource file isn&#8217;t correspondingly updated? It&#8217;s rather inconvenient to write a list of all included modules manually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Witold Baryluk</title>
		<link>http://spawnlink.com/articles/bundling-erlybank-as-an-application/#comment-722</link>
		<dc:creator>Witold Baryluk</dc:creator>
		<pubDate>Fri, 14 Nov 2008 16:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://spawnlink.com/?p=111#comment-722</guid>
		<description>Actully this should be:

start(_Type, _StartArgs) -&#62;
  eb_sup:start_link().

stop(_State) -&#62;   % where _State is return value of start, or M:prep_stop/1 if exists
  ok.


This exactly the same. Additionaly stop/1 is called by application master AFTER the application was already stoped.

maxP is deprecated, and is ignored. (it was maximal number of allowed processes).

maxT is maximal time in ms that app is allowed to run. after it it will be terminated.

There is also very important callback M:config_change/3 used in upgrades, but it is anothere story.

Anyway nice article!</description>
		<content:encoded><![CDATA[<p>Actully this should be:</p>
<p>start(_Type, _StartArgs) -&gt;<br />
  eb_sup:start_link().</p>
<p>stop(_State) -&gt;   % where _State is return value of start, or M:prep_stop/1 if exists<br />
  ok.</p>
<p>This exactly the same. Additionaly stop/1 is called by application master AFTER the application was already stoped.</p>
<p>maxP is deprecated, and is ignored. (it was maximal number of allowed processes).</p>
<p>maxT is maximal time in ms that app is allowed to run. after it it will be terminated.</p>
<p>There is also very important callback M:config_change/3 used in upgrades, but it is anothere story.</p>
<p>Anyway nice article!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://spawnlink.com/articles/bundling-erlybank-as-an-application/#comment-166</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 01 Oct 2008 18:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://spawnlink.com/?p=111#comment-166</guid>
		<description>Do you know why it happens?
When I tried to load the app, it threw an error complaining the sasl module is not loaded:

3&#62; application:loaded_applications().
[{kernel,"ERTS  CXC 138 10","2.12.4"},
 {stdlib,"ERTS  CXC 138 10","1.15.4"}]
4&#62; application:load(erlybank).
ok
5&#62; application:loaded_applications().
[{kernel,"ERTS  CXC 138 10","2.12.4"},
 {erlybank,"ErlyBank system.","1.0"},
 {stdlib,"ERTS  CXC 138 10","1.15.4"}]
6&#62; application:start(erlybank).
{error,{not_started,sasl}}
7&#62; application:start(erlybank).
{error,{not_started,sasl}}

And I tried to modified the erlybank.app to remove that sasl module this is what  get

2&#62; application:loaded_applications().
[{kernel,"ERTS  CXC 138 10","2.12.4"},
 {stdlib,"ERTS  CXC 138 10","1.15.4"}]
3&#62; application:load(erlybank).
ok
4&#62; application:loaded_applications().
[{kernel,"ERTS  CXC 138 10","2.12.4"},
 {erlybank,"ErlyBank system.","1.0"},
 {stdlib,"ERTS  CXC 138 10","1.15.4"}]
5&#62; application:start(erlybank).
{error,{bad_return,{{eb_app,start,[normal,[]]},
                    {'EXIT',{undef,[{eb_app,start,[normal,[]]},
                                    {application_master,start_it_old,4}]}}}}}

=INFO REPORT==== 1-Oct-2008::13:34:36 ===
    application: erlybank
    exited: {bad_return,
                {{eb_app,start,[normal,[]]},
                 {'EXIT',
                     {undef,
                         [{eb_app,start,[normal,[]]},
                          {application_master,start_it_old,4}]}}}}
    type: temporary
6&#62;

Thanks</description>
		<content:encoded><![CDATA[<p>Do you know why it happens?<br />
When I tried to load the app, it threw an error complaining the sasl module is not loaded:</p>
<p>3&gt; application:loaded_applications().<br />
[{kernel,"ERTS  CXC 138 10","2.12.4"},<br />
 {stdlib,"ERTS  CXC 138 10","1.15.4"}]<br />
4&gt; application:load(erlybank).<br />
ok<br />
5&gt; application:loaded_applications().<br />
[{kernel,"ERTS  CXC 138 10","2.12.4"},<br />
 {erlybank,"ErlyBank system.","1.0"},<br />
 {stdlib,"ERTS  CXC 138 10","1.15.4"}]<br />
6&gt; application:start(erlybank).<br />
{error,{not_started,sasl}}<br />
7&gt; application:start(erlybank).<br />
{error,{not_started,sasl}}</p>
<p>And I tried to modified the erlybank.app to remove that sasl module this is what  get</p>
<p>2&gt; application:loaded_applications().<br />
[{kernel,"ERTS  CXC 138 10","2.12.4"},<br />
 {stdlib,"ERTS  CXC 138 10","1.15.4"}]<br />
3&gt; application:load(erlybank).<br />
ok<br />
4&gt; application:loaded_applications().<br />
[{kernel,"ERTS  CXC 138 10","2.12.4"},<br />
 {erlybank,"ErlyBank system.","1.0"},<br />
 {stdlib,"ERTS  CXC 138 10","1.15.4"}]<br />
5&gt; application:start(erlybank).<br />
{error,{bad_return,{{eb_app,start,[normal,[]]},<br />
                    {&#8217;EXIT&#8217;,{undef,[{eb_app,start,[normal,[]]},<br />
                                    {application_master,start_it_old,4}]}}}}}</p>
<p>=INFO REPORT==== 1-Oct-2008::13:34:36 ===<br />
    application: erlybank<br />
    exited: {bad_return,<br />
                {{eb_app,start,[normal,[]]},<br />
                 {&#8217;EXIT&#8217;,<br />
                     {undef,<br />
                         [{eb_app,start,[normal,[]]},<br />
                          {application_master,start_it_old,4}]}}}}<br />
    type: temporary<br />
6&gt;</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitchell</title>
		<link>http://spawnlink.com/articles/bundling-erlybank-as-an-application/#comment-84</link>
		<dc:creator>Mitchell</dc:creator>
		<pubDate>Tue, 16 Sep 2008 15:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://spawnlink.com/?p=111#comment-84</guid>
		<description>Harish, 

I have another article coming on Wednesday and it has a ZIP file attached to it. If I have time I'll do the same with this one, but I just wanted to let you know that I have noticed that the number of source files is getting a bit large to keep pasting them into pages. :)</description>
		<content:encoded><![CDATA[<p>Harish, </p>
<p>I have another article coming on Wednesday and it has a ZIP file attached to it. If I have time I&#8217;ll do the same with this one, but I just wanted to let you know that I have noticed that the number of source files is getting a bit large to keep pasting them into pages. <img src='http://spawnlink.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harish Mallipeddi</title>
		<link>http://spawnlink.com/articles/bundling-erlybank-as-an-application/#comment-83</link>
		<dc:creator>Harish Mallipeddi</dc:creator>
		<pubDate>Tue, 16 Sep 2008 09:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://spawnlink.com/?p=111#comment-83</guid>
		<description>Excellent series Mitchell. Keep them coming!

Just one suggestion - can you dump your code at github.com or just offer a zip file at the end of each article? Your examples can serve as templates for all my future OTP projects!</description>
		<content:encoded><![CDATA[<p>Excellent series Mitchell. Keep them coming!</p>
<p>Just one suggestion - can you dump your code at github.com or just offer a zip file at the end of each article? Your examples can serve as templates for all my future OTP projects!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erlang Info @ spawn_link - Simplish</title>
		<link>http://spawnlink.com/articles/bundling-erlybank-as-an-application/#comment-82</link>
		<dc:creator>Erlang Info @ spawn_link - Simplish</dc:creator>
		<pubDate>Tue, 16 Sep 2008 09:56:44 +0000</pubDate>
		<guid isPermaLink="false">http://spawnlink.com/?p=111#comment-82</guid>
		<description>[...] running Simplish - but I was subscribed to the feed before I left. Mitchell&#8217;s post about grouping program parts together into single-management-point units with Erlang&#8217;s application ... was enlightening, and like a lot I learn about Erlang, describes runtime features that certainly [...]</description>
		<content:encoded><![CDATA[<p>[...] running Simplish - but I was subscribed to the feed before I left. Mitchell&#8217;s post about grouping program parts together into single-management-point units with Erlang&#8217;s application &#8230; was enlightening, and like a lot I learn about Erlang, describes runtime features that certainly [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
