Denis Palencia

Greenhorn
+ Follow
since Jul 11, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Denis Palencia

Please help. I want to have my server running on the internet/webhost so people could use it by going through their client program (i don't think it will crash if many go on it because no one knows about it yet) which I will give them and chat and interact. I don't think applets or servlets are necessary just java standalone client program and server.

Hello I am a beginner to java and I am trying to put up a server program on the internet. I figure that I have to put my server on a webhost, run java on it, and run the server program with java interpreter. I dont think that I could run java off servers though because I never heard my host say anything about carrying the java interpreter. When I try to turn on the server by pointing to the CLASS file in the URL of the BROWSER, the browser just asks if I want to download it as a file and doesn't send it to the java interpreter. I have placed my server class files with my html documents. I have a java server and a java client that is not for applets but runs outside browsers.

What do I do? I think I need a computer to run the server program on 24hrs per day / 7days per week. This is my web host awardspace.com.
I also think that my client program can be given to my friends so that we can all access and interact together with the server program.

I got the pair working on my home desktop by running the cmd.exe and writing "java Server" and then opening another cmd.exe for each client "java Client". I opened several clients and shared info but only with myself pretending to be several people/clients.

I have heard that I need to point to a server computer so i put "http://webmaster.awardspace.com" as the ip/name and 4242 as the port all in my client program.
In my server program I just have 4242 as the port in the server socket.

In order to have the server socket listening the server program must be running with the java interpreter right? Or does it start running when client calls? do I have to configure some stuff on my web host? Is the server my desktop or is my web host suitible?

Please help. I want to have my server running on the internet/webhost so people could use it by going through their client program (i don't think it will crash if many go on it because no one knows about it yet) which I will give them and chat and interact. I don't think applets or servlets are necessary just java standalone client program and server.
15 years ago