On Thu, Oct 20, 2011 at 5:43 AM, Willis C White <[email protected]> wrote: > > thank you for providing the demo. > > sorry to keep asking for more but my knowledge of how this all works is > seriously lacking. In the HelloWorldJSONRPC example tuscany is started from > the web.xml using a filter - does this serve the same purpose as the > Launch.java class you have? >
Yes > You also have some dojo included in you example but I don't see where it is > used. Did I miss something? If so what? > Some of the dojo details are hidden in the widget (see generated widget.js), but when i do personService.createPerson(person).addCallback... that's basically invoking a remote service via json-rpc using dojo. > The sample in the distribution is very close to what I need - starting > Tuscany form web.xml and not using dojo. I just need it to send objects to > back end. Good luck, you should be able to identify the things your application needs from the sample I provided. Please see how the model pojo is defined, the interface and annotations on the interface, and you should be good to go. -- Luciano Resende http://people.apache.org/~lresende http://twitter.com/lresende1975 http://lresende.blogspot.com/
