Step two: data is copied from the kernel buffer into the user buffer, and the read system call returns. The return from the call caused a context switch from kernel back touser mode.
All user actions are handled by servlets that call the appropriate methods on the corresponding session beans, then call the appropriate JSP pages to return the results of the action to the user.
In order to switch a user on a trusted connection, the application must first call xa_end (TM_SUCCESS) and specify the new user ID and optional password by calling SQLSetConnectAttr.