I'd recommend looking into the store-webapp sample [1], it uses
implementation.widget which gives you little more flexibility and a
programming model more similar to what you have been using with SCA.
See more info in [2]

[1] 
https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/samples/store-webapp/
[2] http://tuscany.apache.org/sca-java-implementationwidget.html

On Mon, Jun 8, 2009 at 12:56 AM, Ashish
Malviya<[email protected]> wrote:
>
>
>
> Hi Team,
>
>
>
> As I can understand from this example, this SCA component is included in the
> web app by using a Javascript scaDomain.js.
>
>
>
> <script type="text/javascript" src="SCADomain/scaDomain.js"></script>  is
> added to the html.
>
>
>
> Is there any way I can use this scaDomain.js in some other webapp and call
> the methods.
>
>
>
> Suppose the name of the application which is generating this Javascript is
> helloworld , we get this javascript on
>
> http://localhost:8080/helloworld/SCADomain/scaDomain.js
>
>
>
> What I want is to use this link in another application eg myhelloworld, so I
> want to do something like the following in the myhelloworld  application
>
>  <html>
>
> <head>
>
> <script
> src=”http://localhost:8080/helloworld/SCADomain/scaDomain.js”</script>
>
> </head>
>
> <body>
>
> </body>
>
> </html>
>
>
>
>
>
> Please let me know if it’s possible or not.
>
>
>
> Thanks and Regards
> Ashish Malviya
> Mobile No:+919999342340
> __________________________________________________________________________
> What gets us into trouble is not what we don't know. Its what we know for
> sure that just ain't so.
>
>
> ________________________________
> Share files, take polls, and make new friends - all under one roof. Click
> here.



-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Reply via email to