I want to develop a Chat Server application which would have some large number of user interaction. I have develop a sample application which works on my local network (i.e GUI is designed in Swing) and server is running on the machine, i have used both TCP and UDP.
I want to develop similar application on EJB. so few questions.
1. Is it possible to do on EJB and is EJB a suitable pick.
2. What benefits would i get.
I don't have much idea on EJB, so please help me get a clean picture how to ahead with it.
Ulf Dittmer wrote:Why do you want to use EJB? Are the messages stored in a DB? If so, then EJB should work just as well as any other way of accessing the DB.
Yes, i would be storing all the client, server and chat room info to database and also the event tracking (i.e user ABC created room Friends) would be stored into DB. And there would be many users connecting to the server.
Can EJB help me with respect to Distributed feature, what other benefits can i have.