3 Replies Latest reply on Apr 26, 2007 12:50 PM by weston.price

    Starting threads?

      Hi,

      I need to listen to pop3 connections coming from clients,
      Is it ok to open threads from within jboss in order to listen to the clients?

      Thanks

      Tomer

        • 1. Re: Starting threads?
          weston.price

          You may want to consider using JCA for this.

          http://java.sun.com/j2ee/connector

          There is nothing to prevent you from starting threads using JMX or in Tomcat, but JCA is generally the preferred approach for this type of integration.


          • 2. Re: Starting threads?

            Hi,

            I'm reading about JCA but from what I see, JCA is for connecting to EIS, ERP, databases, mainframes, with emphasis on connecting *to* those datastores, but in my case I dont want to connect to a datastore, I would like other people to connect to me, is that also a purpose of JCA? I dont see mentioning of that...

            Thanks,

            Tomer

            • 3. Re: Starting threads?
              weston.price

              JCA provides for inbound connectivity as well as outbound. We have quite a few examples of this in our code base under the 'connector' project.