Design-Questions: Distributed in-/output-channels
Hello community,
I need some help in designing the architecture of my java application.
My situation: I have 3 types of interaction channels which a users uses to input some digits and to get a text based result.
The channels are:
1. web site
2. special hardware device with num pad and num display
3. sms-gateway
For all channels I have a "Java adaptor" which runs on each system. With this adaptor I can get the input of a channel and can write an output back.
I want to program a backend-application which is processing all inputs and is returning a output to the specific input-channel.
The backend-app should run continuously as a service in the background. That means: hold the database connection, load settings etc. I do not want to start a the java programm for each incomming message.
How would you design this application? - Which components would you recommend?
(I think the adaptors could communicate by using web services. But how do I run the backend server?)
Thank you very much for your suggestions.
Dak

