File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Develop Chat Server application using EJB

 
Faiz Chachiya
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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.

Thanks in advance

Regards,
--Faiz.

 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Faiz Chachiya
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Can i go ahead with EJB, is it suitable.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic