You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org> on 2006/05/04 09:53:16 UTC

[jira] Created: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Bigbank sample should demonstrate the SCA async PM
--------------------------------------------------

         Key: TUSCANY-270
         URL: http://issues.apache.org/jira/browse/TUSCANY-270
     Project: Tuscany
        Type: Bug

  Components: Java BigBank Scenario  
    Versions: 0.91    
    Reporter: Jean-Sebastien Delfino
     Fix For: 0.91


The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Posted by "Ignacio Silva-Lepe (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-270?page=comments#action_12412968 ] 

Ignacio Silva-Lepe commented on TUSCANY-270:
--------------------------------------------

In stock sell, it turns out that the DAS select command issued by the data service was not including symbol and purchaseLotNumber to be retrieved, so just changing the stockbylotSelect command to the following, fixes the problem:

    <Command name="stockbylotSelect" SQL="select purchaseLotNumber, symbol, quantity  from STOCKS  WHERE purchaseLotNumber = :PURCHASELOTNUMBER"  kind="Select" >

However, it turns out that purchase stock also has a semi-populated stock summary object to work with. Unfortunately, in this case the value is coming from the client and it is missing the purchaseLotNumber, which is the key. Fixing the client will require somehow passing this value to purchaseStock.jsp

> Bigbank sample should demonstrate the SCA async PM
> --------------------------------------------------
>
>          Key: TUSCANY-270
>          URL: http://issues.apache.org/jira/browse/TUSCANY-270
>      Project: Tuscany
>         Type: Bug

>   Components: Java BigBank Scenario
>     Versions: Java-Mx
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Ignacio Silva-Lepe
>      Fix For: Java-Mx
>  Attachments: async-bigbank-mediator.txt, async-bigbank-new.txt, async-bigbank.txt
>
> The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Posted by "Rick Rineholt (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-270?page=comments#action_12378115 ] 

Rick Rineholt commented on TUSCANY-270:
---------------------------------------

The idea I had was to implement what I think is called a mediator.  This mediator would really do nothing to the messages but would log the transaction that were occurring, specifically deposit, withdrawals, sellStock, purchaseStock. The demo could run without this but when it is wired up in the SCDL between the AccountService and accountDataService it would capture the operation and arguments and invoke asynchronously so that on another thread it would collect the transactions that occurred and log them.  This could be in a flat file/ xml / or Derby via das.  A simple Web interface would be provided to return (query?) the transaction that have transpired.   This would show not only asynch but another example of how an SCA systems can be enhanced through component wiring.

> Bigbank sample should demonstrate the SCA async PM
> --------------------------------------------------
>
>          Key: TUSCANY-270
>          URL: http://issues.apache.org/jira/browse/TUSCANY-270
>      Project: Tuscany
>         Type: Bug

>   Components: Java BigBank Scenario
>     Versions: M1
>     Reporter: Jean-Sebastien Delfino
>      Fix For: M1

>
> The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Posted by "Ignacio Silva-Lepe (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-270?page=comments#action_12412970 ] 

Ignacio Silva-Lepe commented on TUSCANY-270:
--------------------------------------------

Ok, never mind the previous comment on purchase stock. Of course, purchaseLotNumber is generated, so the data service needs to find out what this generated value was and return it ...

> Bigbank sample should demonstrate the SCA async PM
> --------------------------------------------------
>
>          Key: TUSCANY-270
>          URL: http://issues.apache.org/jira/browse/TUSCANY-270
>      Project: Tuscany
>         Type: Bug

>   Components: Java BigBank Scenario
>     Versions: Java-Mx
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Ignacio Silva-Lepe
>      Fix For: Java-Mx
>  Attachments: async-bigbank-mediator.txt, async-bigbank-new.txt, async-bigbank.txt
>
> The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Posted by "Ignacio Silva-Lepe (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-270?page=comments#action_12383405 ] 

Ignacio Silva-Lepe commented on TUSCANY-270:
--------------------------------------------

I am attaching a diff file with sample code. A logger service is used by the account service to async'y log deposits, withdrawals, stock sells and buys. The web client, from the summary page, can view the current log. It asks the account service to get the account log for a customer id, which then asks the logger service for the log.

In stock sell, the logger relies on the stock summary returned by the account data service, which it was not previously returning, and which now for some reason does not have all info, in particular the symbol, filled in.

> Bigbank sample should demonstrate the SCA async PM
> --------------------------------------------------
>
>          Key: TUSCANY-270
>          URL: http://issues.apache.org/jira/browse/TUSCANY-270
>      Project: Tuscany
>         Type: Bug

>   Components: Java BigBank Scenario
>     Versions: Java-M1
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Ignacio Silva-Lepe
>      Fix For: Java-M1

>
> The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Posted by "Ignacio Silva-Lepe (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-270?page=all ]

Ignacio Silva-Lepe updated TUSCANY-270:
---------------------------------------

    Attachment: async-bigbank.txt

> Bigbank sample should demonstrate the SCA async PM
> --------------------------------------------------
>
>          Key: TUSCANY-270
>          URL: http://issues.apache.org/jira/browse/TUSCANY-270
>      Project: Tuscany
>         Type: Bug

>   Components: Java BigBank Scenario
>     Versions: Java-M1
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Ignacio Silva-Lepe
>      Fix For: Java-M1
>  Attachments: async-bigbank.txt
>
> The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Posted by "Ignacio Silva-Lepe (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-270?page=all ]

Ignacio Silva-Lepe updated TUSCANY-270:
---------------------------------------

    Attachment: async-bigbank-mediator.txt

Here's an updated diff file that addresses Rick's request to make the logger behave more transparently and as a mediator

> Bigbank sample should demonstrate the SCA async PM
> --------------------------------------------------
>
>          Key: TUSCANY-270
>          URL: http://issues.apache.org/jira/browse/TUSCANY-270
>      Project: Tuscany
>         Type: Bug

>   Components: Java BigBank Scenario
>     Versions: Java-M1-tentative
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Ignacio Silva-Lepe
>      Fix For: Java-M1-tentative
>  Attachments: async-bigbank-mediator.txt, async-bigbank-new.txt, async-bigbank.txt
>
> The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Posted by "Ignacio Silva-Lepe (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ignacio Silva-Lepe closed TUSCANY-270.
--------------------------------------

    Resolution: Fixed

The basic mediator idea has been implemented. Also the sample has been evolving. If more functionality related to this JIRA is needed, it may be more appropriate to open a new JIRA.

> Bigbank sample should demonstrate the SCA async PM
> --------------------------------------------------
>
>                 Key: TUSCANY-270
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-270
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java BigBank Scenario
>    Affects Versions: Java-Mx
>            Reporter: Jean-Sebastien Delfino
>         Assigned To: Ignacio Silva-Lepe
>             Fix For: Java-Mx
>
>         Attachments: async-bigbank-mediator.txt, async-bigbank-new.txt, async-bigbank.txt
>
>
> The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Posted by "Ignacio Silva-Lepe (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-270?page=all ]

Ignacio Silva-Lepe updated TUSCANY-270:
---------------------------------------

    Attachment: async-bigbank-new.txt

I just realized that I missed one file in the previous attachment (accountLog.jsp in webclient/src/main/webapp), which is probably what is causing the failure Rick is seeing. Apologies for the trouble.

> Bigbank sample should demonstrate the SCA async PM
> --------------------------------------------------
>
>          Key: TUSCANY-270
>          URL: http://issues.apache.org/jira/browse/TUSCANY-270
>      Project: Tuscany
>         Type: Bug

>   Components: Java BigBank Scenario
>     Versions: Java-M1-tentative
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Ignacio Silva-Lepe
>      Fix For: Java-M1-tentative
>  Attachments: async-bigbank-new.txt, async-bigbank.txt
>
> The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-270?page=all ]

Jean-Sebastien Delfino reassigned TUSCANY-270:
----------------------------------------------

    Assign To: Ignacio Silva-Lepe

>From today's IRC discussion, assigning to Ignacio.

> Bigbank sample should demonstrate the SCA async PM
> --------------------------------------------------
>
>          Key: TUSCANY-270
>          URL: http://issues.apache.org/jira/browse/TUSCANY-270
>      Project: Tuscany
>         Type: Bug

>   Components: Java BigBank Scenario
>     Versions: M1
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Ignacio Silva-Lepe
>      Fix For: M1

>
> The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-270?page=comments#action_12378587 ] 

Jean-Sebastien Delfino commented on TUSCANY-270:
------------------------------------------------

Also see Jim's proposal slides in TUSCANY-338.

> Bigbank sample should demonstrate the SCA async PM
> --------------------------------------------------
>
>          Key: TUSCANY-270
>          URL: http://issues.apache.org/jira/browse/TUSCANY-270
>      Project: Tuscany
>         Type: Bug

>   Components: Java BigBank Scenario
>     Versions: M1
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Ignacio Silva-Lepe
>      Fix For: M1

>
> The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-270?page=all ]

ant elder updated TUSCANY-270:
------------------------------

    Fix Version: Java-Mx
                     (was: Java-M1-tentative)
        Version: Java-Mx
                     (was: Java-M1-tentative)

Not going to make M1 now

> Bigbank sample should demonstrate the SCA async PM
> --------------------------------------------------
>
>          Key: TUSCANY-270
>          URL: http://issues.apache.org/jira/browse/TUSCANY-270
>      Project: Tuscany
>         Type: Bug

>   Components: Java BigBank Scenario
>     Versions: Java-Mx
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Ignacio Silva-Lepe
>      Fix For: Java-Mx
>  Attachments: async-bigbank-mediator.txt, async-bigbank-new.txt, async-bigbank.txt
>
> The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (TUSCANY-270) Bigbank sample should demonstrate the SCA async PM

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-270?page=all ]

ant elder updated TUSCANY-270:
------------------------------

    Fix Version: Java-M1-tentative
                     (was: Java-M1)
        Version: Java-M1-tentative
                     (was: Java-M1)

> Bigbank sample should demonstrate the SCA async PM
> --------------------------------------------------
>
>          Key: TUSCANY-270
>          URL: http://issues.apache.org/jira/browse/TUSCANY-270
>      Project: Tuscany
>         Type: Bug

>   Components: Java BigBank Scenario
>     Versions: Java-M1-tentative
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Ignacio Silva-Lepe
>      Fix For: Java-M1-tentative
>  Attachments: async-bigbank.txt
>
> The Bigbank sample should demonstrate the SCA async PM. Rick, Jim, could you please add comments to this JIRA with your suggestions to improve the sample to demonstrate the SCA async PM? Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira