0 Replies Latest reply on Jan 5, 2006 7:51 AM by dpocock

    starting new threads within SLSB?

    dpocock Newbie


      I am using the Westhawk Java SNMP stack in my application.

      The PDU objects create their own threads to handle network I/O.

      Is it safe to use objects like this within an EJB3 Stateless Session Bean?

      Alternatively, should I be using network I/O methods that block?

      Incidentally, when the PDU objects get their results, my callback function uses InitialContext.lookup to find a new instance of the SLSB to process the callback in the current thread.