Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Network chat app  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i run a java based chat program in different computers?
 
Rancher
Posts: 1832
15
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you done on this so far.  What kind application is going to be?  Is it web based application, then you need to implement it using web technologies like servlet/jsp etc, and if it is desktop based app you need to implement it using java socket programming.
 
Rancher
Posts: 2862
32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using sockets you will need the IP addresses of the other computers on the LAN to be able to connect to them.
 
Saloon Keeper
Posts: 4336
108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It also depends a lot on whether this is a point-to-point system (meaning there are exactly 2 clients which talk to each other directly), or whether multiple clients are involved (in which case a central server will likely be involved).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!