This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 41124
    
  45
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.
 
 
subject: Develop Chat Server application using EJB
 
Similar Threads
How To implement chat application
sample ejb application
APIs/Strategy to be used in developing web-based chat Application using Servlets.
How to create a chat server for my hostel
where is the good weblogic website