Re-Establishing a Connection Between Your Java Application and Luna PCIe HSM 7
Thales provides Java code samples for performing various application functions. For the proper method for performing a reconnect between a Java application and the Luna PCIe HSM 7 in the event of a disconnect, see MiscReconnectDemo.java in the Samples folder.