File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

running the server

 
Kavita Ghia
Ranch Hand
Posts: 91
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have developed a chat application in RMI using Applet.Locally it works fine and now I want to incorporate it in one of the website.Now my question is how do I start the server once the customer clicks on the chat link and how do I load the applet.
Meaning I want to embed the entire client-server application in my website and how do I go about.Also for that do I have to contact the person hosting website for necessary requirements.
I would be glad to receive your response immediately,bcoz its quite urgent.Thanking in advance,
Regards,
Kavita
 
Saibaskar Parthasarathy
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem is exactly similar to that of urs. We have developed a chat application in RMI we want it to be web based. So, if u get any reply kindly forward it to me too. Should multi threading be used in chat application? The chat application i've created does not use any thread.. The client periodically invokes few methods in the server and retrieves whatever messages it has recieved.. I've tested it with running over 5 clients in parallel, it did not give any problem.. Is that a proper design for chat? If u could kindly suggest me on this too
Thankyou
regards
saibaskar
 
Arunagiri, Shanmugham
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
U have to contact the Web Space provider. U can ask them to start the rmiregistry in their server. The Applet has to be uploaded to the web Server. It case of uploading the Applet to the server, U will have to edit the policy file in the webserver in case of writing anything on the server.
Arun
Sun Certified Programmer for Java2 Platform
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic