Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Distributed Java and the fly likes running the server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "running the server" Watch "running the server" New topic

running the server

Kavita Ghia
Ranch Hand

Joined: Oct 10, 2000
Posts: 91
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,
Saibaskar Parthasarathy

Joined: Dec 14, 2000
Posts: 5
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
Arunagiri, Shanmugham
Ranch Hand

Joined: Jan 23, 2001
Posts: 46
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.
Sun Certified Programmer for Java2 Platform

Sun Certified Programmer for Java2 Platform
I agree. Here's the link:
subject: running the server
It's not a secret anymore!