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

[1106 byte] By [dakgera] at [2007-11-27 4:35:23]
# 1

Hi,

I don't understand the problem.

You probably already knows that you should layer your applications / modules, so the adapters shouldn't depend on the communication to the backend. Just create a custom API that is used between the adapters and the communication component.

Kaj

kajbja at 2007-7-12 9:45:25 > top of Java-index,Java Essentials,Java Programming...
# 2
Hi Kay,thank you very much for your answer. But what kind of api would you recommend? - What technical base?Would you recommend a application server with JMS? - I could use JMS for message exchange.What is your opinion?
dakgera at 2007-7-12 9:45:25 > top of Java-index,Java Essentials,Java Programming...
# 3

Hello together,

do anyone else have a suggestion?

My central application should get the input of the distributed in/output channels (web site, gateway, hardware-device) and should be able to return a special output to a channel. The communication between the devices and the central application can be synchron or asynchron.

What technical solution should I use?

- Should I use web services to control all the devices?

- Do I need a application server for my central application which handles all the input from the devices?

Thank you very much for your suggestions!

dakgera at 2007-7-12 9:45:25 > top of Java-index,Java Essentials,Java Programming...