First, my installation has several J2EE app servers clustered, so the web and ejb tier are running on each server.
The enterprise app i am working on has a partner integration subsystem wich should handle the connections from my site to the partner system. This connections are TCP/IP connections plus a propietary protocol with a constraint: won't be more than 10 active connections, so we must handle a pool of connections to follow their instructions.
How could i do that? Is EJB the right way?