File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

running the server

Kavita Ghia
Ranch Hand

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

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
Thankyou
regards
saibaskar
Arunagiri, Shanmugham
Ranch Hand

Joined: Jan 23, 2001
Posts: 46
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


Sun Certified Programmer for Java2 Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: running the server
 
Similar Threads
Free Live Chat integeration
Chat application with android
how to call servlet and get back the response....?
udp sockets
How To implement chat application