Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  How to make a sever in java run on a website?  (Read 2188 times)
0 Members and 1 Guest are viewing this topic.
Offline lostwake15

Senior Newbie





« Posted 2009-08-30 21: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

Beat the casino at there own game @ http://lucreenliven.com/
Offline Riven
« League of Dukes »

« JGO Overlord »


Medals: 840
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #1 - Posted 2009-08-30 22: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.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social
Offline lostwake15

Senior Newbie





« Reply #2 - Posted 2009-08-30 22: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?

Beat the casino at there own game @ http://lucreenliven.com/
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Riven
« League of Dukes »

« JGO Overlord »


Medals: 840
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #3 - Posted 2009-08-30 23:06:05 »

You need root access, if you want your own JRE.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social
Offline lostwake15

Senior Newbie





« Reply #4 - Posted 2009-08-31 00: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.

Beat the casino at there own game @ http://lucreenliven.com/
Offline markmistry

Junior Devvie





« Reply #5 - Posted 2009-08-31 05:32:13 »

would be a good idea to set aside 1 computer to act as your server/webserver .
you dont need to reformat it.
Offline lostwake15

Senior Newbie





« Reply #6 - Posted 2009-08-31 05:55:15 »

Thanks, do you know any information on the limitations of doing this? Like will the sever be really slow?

Beat the casino at there own game @ http://lucreenliven.com/
Offline markmistry

Junior Devvie





« Reply #7 - Posted 2009-08-31 11: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
Offline Riven
« League of Dukes »

« JGO Overlord »


Medals: 840
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #8 - Posted 2009-08-31 11: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.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social
Offline lostwake15

Senior Newbie





« Reply #9 - Posted 2009-08-31 19:45:12 »

Ic
Thanks for the information I will have to test this myself.

Beat the casino at there own game @ http://lucreenliven.com/
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (28 views)
2014-12-15 09:26:44

Mr.CodeIt (19 views)
2014-12-14 19:50:38

BurntPizza (35 views)
2014-12-09 22:41:13

BurntPizza (70 views)
2014-12-08 04:46:31

JscottyBieshaar (32 views)
2014-12-05 12:39:02

SHC (44 views)
2014-12-03 16:27:13

CopyableCougar4 (40 views)
2014-11-29 21:32:03

toopeicgaming1999 (108 views)
2014-11-26 15:22:04

toopeicgaming1999 (94 views)
2014-11-26 15:20:36

toopeicgaming1999 (29 views)
2014-11-26 15:20:08
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!