Re: How to implement Smartfrog application descriptions

Denis Weerasiri <[email protected]> Wed, 6 Nov 2013 23:17:03 +1100
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <CAJ4miD3U5W6e-guaJFKL9zHGSbfk3EKzQCUpvVkYjuJQy773oQ@mail.gmail.com>
--===============3570278612888323503==
Content-Type: multipart/alternative; boundary=047d7b343eca4ec60f04ea8122e3

--047d7b343eca4ec60f04ea8122e3
Content-Type: text/plain; charset=ISO-8859-1

Hi,
I went through your tutorial at
http://www.hpl.hp.com/research/smartfrog/releasedocs/smartfrogdoc/SmartFrogTutorial.html
with
the intension of realizing what your tool does and what not.
I have three questions.

   - How your tool is different from Puppet, Chef like tools?

Regarding the DynamicWebServer example, I went through
http://sourceforge.net/p/smartfrog/svn/HEAD/tree/trunk/core/smartfrog/src/org/smartfrog/examples/dynamicwebserver/apache/
to
realize how SmartFrog describe the configuration of an Apache Web server
component and how SmartFrog implement operations like sfDeploy and sfStart.

   - Based on my understanding, SmartFrog uses both .sf and .java file to
   describe a configuration of a component. What is the intention of having
   .sf and a .java file?, Why can't we use a single .java file to describe an
   component?
   - Also I could not find the concrete deployment workflow implementation
   of the Web server (as specified in
   http://www.hpl.hp.com/research/smartfrog/releasedocs/smartfrogdoc/sfDynamicWebServerExample.html#How+it+works)
in
   here (
   http://sourceforge.net/p/smartfrog/svn/HEAD/tree/trunk/core/smartfrog/src/org/smartfrog/examples/dynamicwebserver/apache/ApacheImpl.java#l77)
   is it implemented in any other place?





On Wed, Nov 6, 2013 at 7:30 PM, Denis Weerasiri <[email protected]>wrote:

> Hi,
> I went through your page at http://www.hpl.hp.com/research/smartfrog/ but
> could not find a tutorial which explains how to implement an application
> description. Can please you point me to any tutorial if there's any.
>
>
> --
> Thanks,
> Denis
> ----------------------------------------------------------
> *Denis Weerasiri*
>
>  <http://wso2.com/> <http://wso2.com/>*site: **https://sites.google.com/site/ddweerasiri/
> <https://sites.google.com/site/ddweerasiri/>*
>


-- 
Thanks,
Denis
----------------------------------------------------------
*Denis Weerasiri*

 <http://wso2.com/> <http://wso2.com/>*site: *
*https://sites.google.com/site/ddweerasiri/*<https://sites.google.com/site/ddweerasiri/>

--047d7b343eca4ec60f04ea8122e3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div>I went through your tutorial at=A0<a href=3D"http:=
//www.hpl.hp.com/research/smartfrog/releasedocs/smartfrogdoc/SmartFrogTutor=
ial.html" target=3D"_blank">http://www.hpl.hp.com/research/smartfrog/releas=
edocs/smartfrogdoc/SmartFrogTutorial.html</a>=A0with the intension of reali=
zing what your tool does and what not. =A0</div>


<div>I have three questions.=A0</div><div><ul><li>How your tool is differen=
t from Puppet, Chef like tools?<br></li></ul></div><div>Regarding the Dynam=
icWebServer example, I went through=A0<a href=3D"http://sourceforge.net/p/s=
martfrog/svn/HEAD/tree/trunk/core/smartfrog/src/org/smartfrog/examples/dyna=
micwebserver/apache/" target=3D"_blank">http://sourceforge.net/p/smartfrog/=
svn/HEAD/tree/trunk/core/smartfrog/src/org/smartfrog/examples/dynamicwebser=
ver/apache/</a>=A0to realize how SmartFrog describe the configuration of an=
 Apache Web server component and how SmartFrog implement operations like sf=
Deploy and sfStart.=A0</div>


<div><ul><li>Based on my understanding, SmartFrog uses both .sf and .java f=
ile to describe a configuration of a component. What is the intention of ha=
ving .sf and a .java file?, Why can&#39;t we use a single .java file to des=
cribe an component?<br>


</li><li>Also I could not find the concrete deployment workflow implementat=
ion of the Web server (as specified in=A0<a href=3D"http://www.hpl.hp.com/r=
esearch/smartfrog/releasedocs/smartfrogdoc/sfDynamicWebServerExample.html#H=
ow+it+works" target=3D"_blank">http://www.hpl.hp.com/research/smartfrog/rel=
easedocs/smartfrogdoc/sfDynamicWebServerExample.html#How+it+works</a>)=A0in=
 here (<a href=3D"http://sourceforge.net/p/smartfrog/svn/HEAD/tree/trunk/co=
re/smartfrog/src/org/smartfrog/examples/dynamicwebserver/apache/ApacheImpl.=
java#l77" target=3D"_blank">http://sourceforge.net/p/smartfrog/svn/HEAD/tre=
e/trunk/core/smartfrog/src/org/smartfrog/examples/dynamicwebserver/apache/A=
pacheImpl.java#l77</a>) is it implemented in any other place?</li>


</ul></div><div><br></div><div><br></div><div class=3D"gmail_extra"><br><br=
><div class=3D"gmail_quote">On Wed, Nov 6, 2013 at 7:30 PM, Denis Weerasiri=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a>&gt;</span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi,<div>I went through your=
 page at=A0<a href=3D"http://www.hpl.hp.com/research/smartfrog/" target=3D"=
_blank">http://www.hpl.hp.com/research/smartfrog/</a> but could not find a =
tutorial which explains how to implement an application description. Can pl=
ease you point me to any tutorial if there&#39;s any.</div>



<div><br clear=3D"all"><div><img border=3D"0" src=3D"http://www.hpl.hp.com/=
research/smartfrog/graphics/smartfrog_overview_picture.gif" width=3D"271" h=
eight=3D"350"><span><font color=3D"#888888"><br></font></span></div>
<span><font color=3D"#888888">-- <br>Thanks,<br>Denis<br>------------------=
----------------------------------------<br>
<div><b>Denis Weerasiri</b></div><div><font size=3D"1"><b><br></b></font></=
div><div><a href=3D"http://wso2.com/" target=3D"_blank"></a><i></i><a href=
=3D"http://wso2.com/" target=3D"_blank"><i></i></a><i><font size=3D"1">sit<=
/font><span style=3D"font-size:x-small">e:=A0</span></i><i><span style=3D"f=
ont-size:x-small"><a href=3D"https://sites.google.com/site/ddweerasiri/" ta=
rget=3D"_blank">https://sites.google.com/site/ddweerasiri/</a></span></i></=
div>

</font></span></div></div></blockquote></div><br clear=3D"all"><div><br></d=
iv>-- <br>Thanks,<br>Denis<br>---------------------------------------------=
-------------<br><div><b>Denis Weerasiri</b></div><div><font size=3D"1"><b>=
<br>

</b></font></div>
<div><a href=3D"http://wso2.com/" target=3D"_blank"></a><i></i><a href=3D"h=
ttp://wso2.com/" target=3D"_blank"><i></i></a><i><font size=3D"1">sit</font=
><span style=3D"font-size:x-small">e:=A0</span></i><a href=3D"https://sites=
.google.com/site/ddweerasiri/" target=3D"_blank"><i><span style=3D"font-siz=
e:x-small">https://sites.google.com/site/ddweerasiri/</span></i></a></div>


<div><br></div>

</div></div>

--047d7b343eca4ec60f04ea8122e3--


--===============3570278612888323503==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
--===============3570278612888323503==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Smartfrog-developer mailing list
Smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-developer

--===============3570278612888323503==--