Running hibernate as a web application – HP Integrity NonStop H-Series User Manual
Page 293

Figure 14-2 Hibernate Application: Message Flow in a Standalone Application
A Hibernate message flows through all the components in the following sequence:
1.
A Java client program makes a function call and passes the input parameter(s) to the
Hibernate application.
2.
The Hibernate application, which is deployed on a NonStop system, processes the request
and performs the business validations.
3.
The Hibernate application passes the request to the JDBC layer.
4.
JDBC establishes the database connection with the NonStop SQL/MX database for retrieval
or manipulation of data. NonStop SQL/MX retrieves the data from the data repository.
5.
The Hibernate application forwards the retrieved response/data to the Java client, which is
displayed to the user.
NOTE:
Because JDBC Type 2 is a dynamic-link library (DLL), it is loaded as a part of the
Hibernate application process. However, when the JDBC Type 4 driver is used, the JDBC process
runs as a separate process external to the Hibernate application process.
Running Hibernate as a Web Application
illustrates the message flow of Hibernate running as a web application.
Message Flow in a Hibernate Application on NonStop
293