Antollini, Mario wrote:
Hello Jean-Sebastien,
I just want you to know that I have been working hard on getting a nice sample
application to be presented at ApacheCon.
What I have been doing is modeling Amazon as services running on Tuscany while
still sticking to Amazon's latest WSDL.
What I have now is a simple SCA Composite providing only one service (4
operations) through web services. It means that all the required pieces for the
demo are now properly running and connected (quite tough indeed).
What I did so far:
- Generation of code (stub and skeleton) out of Amazon WSDL (not
straightforward)
- Definición of services and their operations
- Implementation of one whole service (I coded the Shopping Cart)
- Describe it as a component/composite for Tuscany
- Get the composite running (not straightforward)
- Coded a WS client which invokes the service in order to test if
everything was working fine (there were some complications with databiding here)
What is still required is just implementing the core business logic for the
remaining services/components and their operations. Fortunately, this will be a
simple task (fingers crossed). Anyway, I do not consider such functionality to
be so important. I think we need to highlight the benefits of Tuscany and
having Amazon's complete set of business logic is not essential for that.
As soon as I consider the demo is good enough, I will start writing a tutorial
about it (any help will be greatly appreciated here) which we can hand out to
participants in the training session.
Any feedback will be welcome.
Best regards,
Mario Antollini
Hi Mario,
This looks like great progress! I created a new apachecon-training
folder under demos/ to start hosting this work. Would you like to submit
some of this in a patch in a JIRA? I'll be happy to help review and
integrate it under demos/, once it's there all the people interested can
look at it and pitch in with comments, help, code, diagrams,
documentation describing it etc.
I like the idea of using real services! I noticed that Axis2 has a
sample that uses the Amazon queuing service so there's probably no
problem with the Amazon license, but I thought I'd double check... Do
others on the list know if there's going to be any licensing matters
with client code generated from the Amazon WSDL and accessing Amazon
services? Will the demo need to point to the Amazon license from a
Notice files?
Also, you mentioned some difficulties with WSDL2Java and complications
with data bindings. Did you run into any bugs or any other Tuscany
issues while building the demo? Do you have any thoughts about Tuscany
improvements or simplications that we could discuss here?
Thanks!
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]