Hi !
Featured games (88)
games approved by the League of Dukes
Games in Showcase (681)
Games in Android Showcase (196)
games submitted by our members
Games in WIP (744)
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  
  Hosting for JSP game  (Read 11143 times)
0 Members and 1 Guest are viewing this topic.
Offline sanojo

Junior Devvie

Projects: 1

I love YaBB 1G - SP1!

« Posted 2007-04-12 18:32:26 »

Long ago I wrote an online turn-based game  for up to 256 players.  It consists of JSP pages and two server-side apps for computing the turns and managing player chat.

I hosted the game on my home network and had about 30 players (mostly friends).  I thought it might be fun to brush the dust off and make it available for anyone to play.  Can anyone suggest a cheap hosting service that could handle a game like this?  I don't want to risk running afoul of Verizon by running a website on my home connection since I rely on it for my living (contract programmer).

I could just host it on an alternative port (ie 8080) but then most of my players could not log in from work.  Its a game where users will need to log in for 5-30 minutes a few times a day to manage their kingdoms.

Here is a screenshot of the game in case anyone is interested:
Offline sanojo

Junior Devvie

Projects: 1

I love YaBB 1G - SP1!

« Reply #1 - Posted 2007-04-12 18:45:00 »

I forgot to add that it uses MySQL to store all of the world information.  Any database would probably do though.
Offline nva225

Junior Devvie

« Reply #2 - Posted 2007-04-13 03:38:48 »

Interesting, do you use asynchronous server requests to manage that chat? Possibly something like DWR? Or is it just a frame refresh, since it seems you have the game separated pretty well.

Looks pretty cool for JSP though. Surprised you never ran into the 64kb limit issue (or did you and you were forced to "piece together" the files?).

And is that entire graphical frame clickable? I assume that map in the top left is also draggable... and apparently zoomable. Is there a ton of javascript behind this or is it more of a jsp refresh thing? Looks pretty impressive, I'd like to try it if you ever get it hosted.

Sorry no advice for you, but I thought the game looked interesting. Hope you find a web host.

I don't think Verizon would mind if you tried to host a website from your home PC. At least I've never heard of anything like that (but I don't really know). And people shouldn't be playing from work anyway  Wink
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline sanojo

Junior Devvie

Projects: 1

I love YaBB 1G - SP1!

« Reply #3 - Posted 2007-04-13 12:45:36 »

The chat is an applet that makes a socket connection to the server.    Everything else is just Javascript.  I avoided size issues by using frames.

It would be cool to rewrite this using lots of AJAX, but alas I have no time for it.

The graphical frame is clickable.  It doesn't do the google maps scroll n zoom thing (another cool addition I have no time for).  Scrolling and zooming is done from the mini-map on the upper left.  Thats all javascript.

Thanks for your comments.  I'll post it to Games Showcase if I ever get hosting figured out.
Offline dray

Junior Newbie

« Reply #4 - Posted 2007-07-26 21:46:41 »

eApps has the best customer service and their tech guys are quick. Hosting runs about $30 a month for VPS, but it's the best I've tried.
Offline beowulf03809

Junior Devvie

We live for the code, we die for the code

« Reply #5 - Posted 2007-08-01 17:35:37 »

I've been a very happy customer of 1&1 for a couple years now as a hosting service.  I have not used their VPS service yet but when the time comes to unleash a mighty Java game creation onto the unsuspecting world they are probably how I'll do it.  Both their Linux and 'doze VPS servers are $29 / month and they have a special for 3-months free:

They are very fast to respond and very technically savy and are very large and well established.  My web hosting is full shell access and I run multiple wikis in addition to static sites and hosting mail for several family and friends.  With the root Linux server you could setup the Java environment you want and have full control. 

Offline sanojo

Junior Devvie

Projects: 1

I love YaBB 1G - SP1!

« Reply #6 - Posted 2009-10-14 14:11:57 »

I figured I would update this old thread. 

I finally decided on MochaHost.  They have some good deals on JVM hosting.  I had to make a few changes to the game architecture to get it  to play by their rules, but it all seems to be working fine now.  Their first-tier support hasn't been able to handle my technical questions/requests but they seem to have some competent people behind-the-scenes to pick up the slack.

I am planning a beta test sometime in the next couple of months.  It remains to be seen if the plan that I chose is going to be able to handle the load.

Thanks again for the suggestions.
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Hydroque (42 views)
2016-06-22 02:17:53

SwampChicken (44 views)
2016-06-20 13:22:57

SwampChicken (43 views)
2016-06-20 13:22:49

SwampChicken (37 views)
2016-06-20 13:22:26

Hydroque (79 views)
2016-06-15 08:22:50

Hydroque (71 views)
2016-06-13 06:40:55

DarkCart (191 views)
2016-05-29 02:30:33

Hydroque (159 views)
2016-05-26 14:45:46

Mac70 (167 views)
2016-05-24 21:16:33

theagentd (150 views)
2016-05-14 18:38:35
Java Data structures
by BinaryMonkL
2016-06-13 21:22:09

Java Data structures
by BinaryMonkL
2016-06-13 21:20:42

FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47 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‑
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!