I'm new to MINA and have only recently looked at the Reactor pattern. It seems that MINA is a replacement for that pattern. I'm confused about the threading in MINA. In the tutorial on "Configuring Thread Model", it states that it is only for MINA 1 and that later versions will not have the ThreadModel. I don't understand how MINA can perform asynchronously without threading.
The application I'm developing runs on UNIX System Services (USS), which is UNIX on an IBM z/OS machine. I'm using Java 5, derby, and log4j. An unknown number of clients can connect to this server application. In the initial release, there will be two different connection formats and message formats. The code that receives a message determines if the message is written to the database or processed immediately. In the majority of cases, there is a reply for every request. There is a thread for processing messages written to the database. There is also a thread to receive messages from the z/OS console. The Reactor pattern looked promising because I could start a short-lived thread to process received messages. The acceptor would be available to accept another message and start a message processor. How does MINA keep the acceptor available without threading? I've looked for some examples and found some at mvnbrowser.com. I downloaded the samples for MINA version 1.1.7, or so I think. I've not found anything on threading in them. Any help would be greatly appreciated. Walter Falby The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
