lostwake15
Senior Newbie 
|
 |
«
Posted
2009-08-30 23:45:18 » |
|
Hi, I have written a simple chat program to get a grasp of sever-client networking in java with help from outside resources. I now want to test this on my website but I do not know how to get the server on the website. For some reason I cannot find this information anywhere.
How do I get the java server of a chat program to run on my WebPage?
Any help would be appreciated.
Thank you in advance
|
|
|
|
Riven
|
 |
«
Reply #1 - Posted
2009-08-31 00:01:32 » |
|
You need either a Virtual Private Server (VPS) or a dedicated server.
You can also host from home, if you setup your NAT tables in your firewall.
|
|
|
|
lostwake15
Senior Newbie 
|
 |
«
Reply #2 - Posted
2009-08-31 00:37:12 » |
|
Is there anyways to get it to run off my current bandwidth I have with a server?
What about a servlet? Could this be the answer to my problem?
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Riven
|
 |
«
Reply #3 - Posted
2009-08-31 01:06:05 » |
|
You need root access, if you want your own JRE.
|
|
|
|
lostwake15
Senior Newbie 
|
 |
«
Reply #4 - Posted
2009-08-31 02:21:52 » |
|
Thanks for your help.
What about hosting from home what would I need to do to get that going? Also, what are my limitations, if I have Verizon Internet how well do you think a simple application will perform?
Will I have to set aside one of my computers for a server and reformat everything or just run it from a desktop?
Thanks in advance for any information.
|
|
|
|
markmistry
|
 |
«
Reply #5 - Posted
2009-08-31 07:32:13 » |
|
would be a good idea to set aside 1 computer to act as your server/webserver . you dont need to reformat it.
|
|
|
|
|
lostwake15
Senior Newbie 
|
 |
«
Reply #6 - Posted
2009-08-31 07:55:15 » |
|
Thanks, do you know any information on the limitations of doing this? Like will the sever be really slow?
|
|
|
|
markmistry
|
 |
«
Reply #7 - Posted
2009-08-31 13:11:37 » |
|
not had chance to test on large scale but seems to be coping quite well with a few connections. limitations is being on a slow 10mb connection rather than on a 100mb connection. if you have enough computers maybe a seperate machine for webserver and seperate machine for game/chat server
|
|
|
|
|
Riven
|
 |
«
Reply #8 - Posted
2009-08-31 13:30:05 » |
|
Let's say you have this 10mbit connection, then your upload is probably 1mbit, or 100KB/s.
You can imagine that this *could* be very slow, unless you're not doing that much I/O, like when you're hosting a simple chatroom.
|
|
|
|
lostwake15
Senior Newbie 
|
 |
«
Reply #9 - Posted
2009-08-31 21:45:12 » |
|
Ic Thanks for the information I will have to test this myself.
|
|
|
|
|