DIAGRAM: Point of Interception
    Client calls CheckPassword()
    
    Proxy instantiates bean implementation
    
    Entity Context is set on the implementation
    
    Ask database connection to start a transaction
    
    Database instantiates transaction object
    
    Bean told to load its state
    
    Bean uses SQL query to retrieve state
    
    Proxy now calls actual CheckPassword() implementation
    
    Proxy tells bean to store state.
    
    Bean writes state back to database (if changed)
    
    Transaction is told to commit
    
    Proxy returns result to caller
    

Next Slide >>