You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <de...@tuscany.apache.org> on 2008/07/02 01:38:45 UTC

[jira] Created: (TUSCANY-2448) Support cross-domain invocations in Web 2.0 bindings

Support cross-domain invocations in Web 2.0 bindings
----------------------------------------------------

                 Key: TUSCANY-2448
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2448
             Project: Tuscany
          Issue Type: Wish
            Reporter: Jean-Sebastien Delfino
             Fix For: Java-SCA-Next


I'd like to have support for cross-domain invocations: a client javascript component uses a reference wired to a service hosted on a different host than the host that served the Javascript code.

This should be done for the JSON-RPC and Atom bindings. The usual solution for this problem is to proxy out calls on the host that served the Javascript. I think there is a better way: serve the piece of code that declares each Javascript proxy from the host that runs the target service (and have it loaded by the code-behind Javascript that we currently generate). I think that technique is commonly called on-demand javascript.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TUSCANY-2448) Support cross-domain invocations in Web 2.0 bindings

Posted by "Jean-Sebastien Delfino (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Sebastien Delfino updated TUSCANY-2448:
--------------------------------------------

    Component/s: Java SCA JSON-RPC Binding Extension
                 Java SCA ATOM Binding Extension

> Support cross-domain invocations in Web 2.0 bindings
> ----------------------------------------------------
>
>                 Key: TUSCANY-2448
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2448
>             Project: Tuscany
>          Issue Type: Wish
>          Components: Java SCA ATOM Binding Extension, Java SCA JSON-RPC Binding Extension
>            Reporter: Jean-Sebastien Delfino
>             Fix For: Java-SCA-Next
>
>
> I'd like to have support for cross-domain invocations: a client javascript component uses a reference wired to a service hosted on a different host than the host that served the Javascript code.
> This should be done for the JSON-RPC and Atom bindings. The usual solution for this problem is to proxy out calls on the host that served the Javascript. I think there is a better way: serve the piece of code that declares each Javascript proxy from the host that runs the target service (and have it loaded by the code-behind Javascript that we currently generate). I think that technique is commonly called on-demand javascript.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.