On Sun, Oct 24, 2010 at 5:06 PM, Luciano Resende <[email protected]> wrote: > On Sun, Oct 24, 2010 at 8:40 AM, ant elder <[email protected]> wrote: >> On Sun, Oct 24, 2010 at 4:30 PM, Luciano Resende <[email protected]> >> wrote: >>> On Sun, Oct 24, 2010 at 4:17 AM, Simon Nash <[email protected]> wrote: >>>> ant elder wrote: >>>>> >>>>> I'm trying to understand what it is the real purpose of all the >>>>> Tuscany dojo modules: >>>>> >>>>> tuscany-binding-atom-js-dojo >>>>> tuscany-binding-jsonrpc-js-dojo >>>>> tuscany-implementation-widget-runtime-dojo >>>>> tuscany-web-javascript-dojo >>>>> >>>>> Can anyone help with some details? >>>>> >>>>> ...ant >>>>> >>>>> >>>> These are used by the store-dojo sample. If you look at the store.html >>>> file >>>> within that sample you will find some Javascript references to dojo things. >>>> There are also a few differences in the Javascript code when compared with >>>> the same code in the store sample. This might provide some clues :-) >>>> >>>> Simon >>>> >>>> >>> >>> These modules provide support for "Javascript Proxies" for >>> Implementation widget. They are based on Dojo Javascript Framework. >>> >> >> So they're only used with implementation.widget? >> >> ...ant >> > > Yes, and some of they are optional depending on the binding you are > using in conjunction with implementation.widget. > > -- > Luciano Resende > http://people.apache.org/~lresende > http://twitter.com/lresende1975 > http://lresende.blogspot.com/ >
As an aside, what controls what port these dojo resources are exposed on. I'm looking at a user issue and as far as I can tell I've set everything to work of 8085, bindings, wsdl etc. but these still come out on 8080, e.g. INFO: Added Servlet mapping: http://IBM-7A66AA9141B:8080/MyStore/dojo 05-Nov-2010 09:41:34 org.apache.tuscany.sca.host.webapp.WebAppServletHost addSer vletMapping INFO: Added Servlet mapping: http://IBM-7A66AA9141B:8080/MyStore/dojo/* 05-Nov-2010 09:41:34 org.apache.tuscany.sca.host.webapp.WebAppServletHost addSer vletMapping INFO: Added Servlet mapping: http://IBM-7A66AA9141B:8080/MyStore/tuscany 05-Nov-2010 09:41:34 org.apache.tuscany.sca.host.webapp.WebAppServletHost addSer vletMapping INFO: Added Servlet mapping: http://IBM-7A66AA9141B:8080/MyStore/tuscany/* 05-Nov-2010 09:41:34 org.apache.tuscany.sca.web.javascript.dojo.DojoWidgetJavasc riptProvider start INFO: Registered Dojo and Tuscany Dojo extensions (counter=1) 05-Nov-2010 09:41:36 org.apache.tuscany.sca.host.webapp.WebAppServletHost addSer vletMapping INFO: Added Servlet mapping: http://localhost:8085/MyStore/CatalogService 05-Nov-2010 09:41:36 org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryI mpl addEndpoint INFO: Add endpoint - (@25330548)Endpoint: URI = Store#service-binding(CatalogSe rvice/catalogWS) 05-Nov-2010 09:41:36 org.apache.tuscany.sca.host.webapp.WebAppServletHost addSer vletMapping INFO: Added Servlet mapping: http://localhost:8085/MyStore/CatalogServiceJSONRPC /* 05-Nov-2010 09:41:36 org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryI mpl addEndpoint I can't make them come up on anything but 8080 even if I specify a service binding for the impl.widget component. Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
