METHOD FOR CLEANING UP INTERNAL STATE BY USING TRANSACTION SERVICE SYNCHRONOUS INTERFACE
PROBLEM TO BE SOLVED: To provide a method for cleaning up internal state inside a container related to a completed transaction by using a synchronous interface by calling operation on the synchronous object for the completed transaction and cleaning up an internal state in response to the operation....
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | PROBLEM TO BE SOLVED: To provide a method for cleaning up internal state inside a container related to a completed transaction by using a synchronous interface by calling operation on the synchronous object for the completed transaction and cleaning up an internal state in response to the operation. SOLUTION: When J2EE RI first knows the J2EE RI itself is related to a transaction, the synchronous object is registered in a transaction manager (40). When the transaction is completed, a method (operation) is called on the synchronous object by the transaction manager (44). When calling this method, the required container state is cleaned up for this transaction (46). Therefore, the distributed state in the container can be cleaned up without increasing additional codes or complexity. |
---|