PIA Transaction Processed by the Application Server


The steps in the figure are as follows:
·         A Java class request is received from the servlet.

·         The JSH needs to know which Tuxedo service corresponds to the Java class, so it enqueues a request for the JREPSVR.
·         JREPSVR picks up the request from the JSH.
·         JREPSVR looks up the Java class in the JREPOSITORY database (a flat file) to find the Tuxedo service that maps to the Java class.

·         JREPSVR returns the Tuxedo service name to the JSH via the queue JSHQ.
·         The JSH interrogates the BB to determine which queue the request should be placed on.
·         From this point, the transaction is the same as the three-tier transaction. The Tuxedo service request is sent to the appropriate server, and the response is transmitted back via the same JSH to the servlet.