Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2001 Systek Normal Entity Bean ClientInterfaceContainerDatabaseEntity businessMethod ejbLoad readData Transaction starts.

Similar presentations


Presentation on theme: "Copyright © 2001 Systek Normal Entity Bean ClientInterfaceContainerDatabaseEntity businessMethod ejbLoad readData Transaction starts."— Presentation transcript:

1 Copyright © 2001 Systek Normal Entity Bean ClientInterfaceContainerDatabaseEntity businessMethod ejbLoad readData Transaction starts businessMethod ejbStore writeData commit Transaction ends

2 Copyright © 2001 Systek Exception ClientInterfaceContainerDatabaseEntity businessMethod ejbLoad readData Transaction starts businessMethod Exception discard Bean rollback

3 Copyright © 2001 Systek Entity2 Two Entity Beans ClientInterfaceContainerDatabaseEntity1 businessMethod ejbLoad readData businessMethod ejbStore writeData businessMethod ejbLoad ejbStore readData writeData businessMethod commit

4 Copyright © 2001 Systek Exception (gal oppførsel) Entity2ClientInterfaceContainerDatabaseEntity1 businessMethod ejbLoad readData businessMethod ejbStore writeData businessMethod ejbLoad readData businessMethod discard Bean Exception commit rollback

5 Copyright © 2001 Systek Med SessionBean Entity2ClientInterfaceContainerDatabaseEntity1 businessMethod ejbLoad readData businessMethod readData businessMethod commit Session businessMethod find... ejbLoad ejbStore writeData ejbStore writeData

6 Copyright © 2001 Systek Exception (riktig oppførsel) Entity2ClientInterfaceContainerDatabaseEntity1 businessMethod ejbLoad readData businessMethod readData businessMethod rollback Session businessMethod find... ejbLoad Exception

7 Copyright © 2001 Systek showAccount.jsp > : Account Client : CreateAccount > AccountHome HTTP POST (accuntName=...) create(accountName) ejbCreate(...) redirect Opprette konto ejbPostCreate(...)

8 Copyright © 2001 Systek index.jsp Overføre penger > payer : Account Client : TransferServlet > payee : Account HTTP POST processTransfer > : Transfer debit credit redirect


Download ppt "Copyright © 2001 Systek Normal Entity Bean ClientInterfaceContainerDatabaseEntity businessMethod ejbLoad readData Transaction starts."

Similar presentations


Ads by Google