Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (108)
games submitted by our members
Games in WIP (536)
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 10367 times)
0 Members and 1 Guest are viewing this topic.
Offline sanojo

Junior Member


Projects: 1


I love YaBB 1G - SP1!


« Posted 2007-04-12 20: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:

http://www.gweep.net/~jonas/images/COI_screen1.JPG
Offline sanojo

Junior Member


Projects: 1


I love YaBB 1G - SP1!


« Reply #1 - Posted 2007-04-12 20: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 Member





« Reply #2 - Posted 2007-04-13 05: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 Member


Projects: 1


I love YaBB 1G - SP1!


« Reply #3 - Posted 2007-04-13 14: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 23: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 Member




We live for the code, we die for the code


« Reply #5 - Posted 2007-08-01 19: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:

http://www.1and1.com/?k_id=6834063.

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 Member


Projects: 1


I love YaBB 1G - SP1!


« Reply #6 - Posted 2009-10-14 16: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.

 

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

The first screenshot will be displayed as a thumbnail.

CogWheelz (16 views)
2014-07-30 21:08:39

Riven (23 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (33 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43
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!