[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tuscany-user
Subject:    Re: DOJO and Tuscany 2.0
From:       Simon Laws <simonslaws () googlemail ! com>
Date:       2010-08-16 20:53:32
Message-ID: AANLkTinzej6Qab1nC8U5tpU+Cd9yVaMfqNyoTokwQyCL () mail ! gmail ! com
[Download RAW message or body]

Hi Fabiano

I added a new sample which packages the Calculator as a WAR and calls if
from Javascript using DOJO. It seems to work in this simple same so I need
you to take a look and see how this differs from your example.

Take a look at the code here [1]. If you check this out of subversion you
should be able to build it using the "mvn" command. The resulting war can be
found in the target directory. You can deploy this directly to you container
and point your browser at...

http://localhost:8080/sample-contribution-binding-jsonrpc-calculator-webapp/

If you want to load it into eclipse then use "mvn eclipse:eclipse" which
will generate the eclipse project files for you.

Let me know how you get on.

[1]
http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/binding-jsonrpc/contribution-calculator-webapp/


Regards

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com


[Attachment #3 (text/html)]

Hi Fabiano<br><br>I added a new sample which packages the Calculator as a WAR and \
calls if from Javascript using DOJO. It seems to work in this simple same so I need \
you to take a look and see how this differs from your example. <br> <br>Take a look \
at the code here [1]. If you check this out of subversion you should be able to build \
it using the &quot;mvn&quot; command. The resulting war can be found in the target \
directory. You can deploy this directly to you container and point your browser \
at...<br> <br><a href="http://localhost:8080/sample-contribution-binding-jsonrpc-calcu \
lator-webapp/">http://localhost:8080/sample-contribution-binding-jsonrpc-calculator-webapp/</a><br><br>If \
you want to load it into eclipse then use &quot;mvn eclipse:eclipse&quot; which will \
generate the eclipse project files for you. <br> <br>Let me know how you get \
on.<br><br>[1] <a href="http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/sam \
ples/binding-jsonrpc/contribution-calculator-webapp/">http://svn.apache.org/repos/asf/ \
tuscany/sca-java-2.x/trunk/samples/binding-jsonrpc/contribution-calculator-webapp/</a><br>
 <br>Regards<br><br>Simon<br clear="all"><br>-- <br>Apache Tuscany committer: <a \
href="http://tuscany.apache.org">tuscany.apache.org</a><br>Co-author of a book about \
Tuscany and SCA: <a href="http://tuscanyinaction.com">tuscanyinaction.com</a><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic