aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Develop Chat Server application using EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Develop Chat Server application using EJB" Watch "Develop Chat Server application using EJB" New topic
Author

Develop Chat Server application using EJB

Faiz Chachiya
Greenhorn

Joined: Nov 06, 2006
Posts: 6
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
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
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.


Ping & DNS - my free Android networking tools app
Faiz Chachiya
Greenhorn

Joined: Nov 06, 2006
Posts: 6
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Develop Chat Server application using EJB