I am not new to Java but new to j2ee. I don't know if it is the right place to ask this type of question. If not then please point me to the right place.
I want to make a client server application over http. I want to make a server that generates some data and over http i want to send this data to client.
Client will further process this data. That is my goal.
I have no clue how to start. I mean logic is not a problem but shall i make simple servlet and then use JMS to send data in queue or there is better way to do it??
Can anyone please help me to make things bit clear.
HTTP can be used if the client queries the server for data, but if the server pushes the data then you would need an HTTP server on each client. You don't want that. You should use a different communication mechanism, like direct socket communication or JMS. At work we once used RMI for that.
Hi all, Thanks for the reply. I want to make application focusing on only one client right now. So HTTP iwon't be any problem. I don't need to set up multiple http server on clients. Only one client receiving data.
So if I consider this kind of system then what should i use? So i was thinking like this.
create sever side application using jBoss and send message with JMS.
And on the other side client application also running JBOss and it can collect data from the queue.
Does it make any sense what I just said or not.