Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Develop Chat Server application using EJB

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic