You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

sample-contribution-binding-rmi-calculator-service

  • isn't <java.interface /> mandatory for a <service />?
    • removed the line and ran the test case and it passed
  • <tuscany:binding.rmi uri="rmi://localhost:8099/CalculatorRMIService"/>
    • what does the uri attribute mean?
    • is it the uri where the service can be found? from what i understood tuscany will also deploy the service and make it available, what if the host is not localhost?

sample-contribution-binding-sca-calculator

  • what is enabling the loading of the .composite files? don't see any scaDomain...

sample-contribution-binding-ws-calculator

  • what would be the differences between <binding.ws /> inside <service/> and inside <reference />
  • is the one in <service> exposing the webservice and the one in <reference> specifying where the reference can be found?
  • what triggers the webservice to be deployed?

sample-contribution-implementation-java-calculator

  • what are the differences between this sample and sample-contribution-binding-sca-calculator?

sample-helloworld-jaxrs-webapp

  • <listener><listener-class>org.apache.tuscany.sca.host.webapp.TuscanyContextListener</listener-class></listener>
    • is this loading the tuscany runtime?

sample-helloworld-jms-webapp

  • what is org.apache.tuscany.sca.host.webapp.TuscanyServletFilter doing?
  • how is implementation.web working?

sample-helloworld-js-webapp & sample-helloworld-jsp-webapp

  • how is the domain injected on the client side (web page)? i see the calls are made directly from the html/jsp page, how is the page aware of the services it can call? it just receives a list of the services and their metods, or what is the format? i'm referring to things like:
    • componentContext.getService("service").sayHello(document.getElementById('name').value, sayHelloResponse); in javascript
    • <sca:reference name="service" type="sample.HelloworldService" /> in JSP

sample-helloworld-spring

  • how is implementation.spring working? only the spring file is specified, what if there were multiple beans inside?
  • could there be the bean instantiation done with spring and only the wiring with tuscany?

sample-store

  • how did var catalog = new tuscany.sca.Reference("catalog"); get imported?
  • in store.composite why does implementation.widget need binding.http but a servlet or jsp hasn't binding.http specified?
  • isn't this desktop application? Running Launch.java starts a Jetty server...

sample-store-webapp

general questions

  • how is tuscany runtime loaded in tomcat when deploying a war for instance. to be more specific, how is tomcat made aware of tuscany nature of the project?
  • No labels