1 Reply Latest reply on Jul 17, 2009 2:29 PM by ron_sigal

    Remoting in JBoss 4.2.3 Question: handling timeout and disco

    frankthetank

      Hello,

      I don't know if this is the correct place to ask such questions so if it belongs elsewhere, pls move it.

      Anyway my question concerns handling timeouts and disconnects from clients.

      Example:
      Say I have an EJB3 Session bean's interface that I publish with a @Remote annotation.
      Clients will connect to this interface and do their thing.

      Now say a Client disconnects or times out for some reason.
      Is it possible to detect such?
      Say through some kind of callback method or event?

      On a side note:
      Does the RMI IIOP (IIRC) also allow callbacks?

      thanks