On Thu, Feb 12, 2009 at 8:33 AM, Simon Nash <[email protected]> wrote: > Raymond Feng wrote: > >> The creditcardpayment-contribution was initially added by me to test the >> payment component and it uses JAXB databinding. The one in chapter-09 uses >> SDO databinding which matches the draft in the book. >> >> Should we remove creditcardpayment-contribution or should we keep both >> versions to demonstrate the flexibility of switching databinding? >> >> +1 for keeping both versions. The book could mention both versions > even if only one of them actually appears within the book itself. > > If we do this, it would be good to use names like > creditcardpayment-sdo-contribution and creditcardpayment-jaxb-contribution > to make it clear which version is which. > > Is any other code using the JAXB version? I am wondering why it > is part of shared-contributions. > > snip...
+1 having some notion in the name of why the implementation is different. For example, for the BPEL example I have payment-bpel-contribution. The jaxb version of the credit card payment component is used in the bpel scenario. Simon
