2.9.1 What is the naming service error detection functionality

If you use the naming service error detection functionality, the J2EE server detects the error when the naming service stops or if machine error or network error occurs on Application Server.

In the Naming Service Error Detection functionality, the J2EE server monitors the status of the Naming Service functionality and can control the use of the Naming Service functionality that can no longer communicate. Therefore, the EJB client need not perform unnecessary communication.

The following figure shows the flow of processing when you use the naming service error detection functionality.

Figure 2-13 Flow of processing when the naming service error detection functionality is used

[Figure]

If the naming service error detection functionality is not used, the communication is necessarily performed with the naming service when a name is looked up. Therefore, a lot of time might be taken until an error occurs due to inability to communicate with the naming service. On the other hand, if you use the naming service error detection functionality, communication does not take place with the naming service where the error occurs and the error can be detected. Therefore, this does not take a long time.