I have a stateful session bean on the JBoss server which is used by a Swing client. In some cases the client may exit abnormally (power down, network cable fault ... ). This leaves the stateful session bean hanging on the server. Is there a way to check if the client is still connected on the server side? That way I can clean up. Can anyone help?
No, but the SFSB will quickly become passivated and eventually removed so there is no reason to worry about cleaning it up yourself.