6 Replies Latest reply on Jul 11, 2002 6:22 AM by Javier Ortiz

    Maintaining single connection to Serial Device

    Ian Cole Newbie

      I have some java classes that work with a specific serial device - I want to push the incoming traffic into JMS, have multiple clients process that traffic, and have the clients push messages back to JMS to then be sent to the serial device.

      My question: I cannot find a logical way to implement a singleton type class for the serial connection, and it seemed like an MBean might be a good place for this functionality.

      I have minimal experience with EJB at this point, much less MBeans, so I'm hoping someone can validate this logic or point me to a more elegant solution.

      Thanks!
      Ian