Need to host a Chat Server on the web

Hi,

I've created a simple chat application, but the server I created needs to be run on a machine, its got the main method in it.

The client side is working fine, I've packaged it up as a jar file and got it signed so that i can use it as an applet on my website.

The problem is that the server needs to be running 24/7 in order for it to accept connections from clients, but I want to put everything on a web hosting site, is there anyway I can do this?

Thanks

Message was edited by:

Mozy420

Mozy420

[553 byte] By [Mozy420a] at [2007-10-3 6:11:40]
# 1

Yes, you can. But it depends on your agreement with the hosting provider.

Basic service - not likely, you're too cheap!

Shared Host - most, you're in business.

Dedicated - 100% it's yours!

Your chat app will need to open port(s) on the host, and most providers only allow that from shared or dedicated accounts. For those, you will be paying more - that's how they make their moola.

watertownjordana at 2007-7-15 0:55:18 > top of Java-index,Archived Forums,Socket Programming...
# 2
Money is not an issue, thanks for the reply.I'm just wondering if my server is in a .bat file, will a web host allow me to run that?Or will i have to use JSP or something and code a brand new server?
Mozy420a at 2007-7-15 0:55:18 > top of Java-index,Archived Forums,Socket Programming...
# 3
Package it up as a servlet in a WAR. There are many Java ISPs out there that will host those.
ejpa at 2007-7-15 0:55:18 > top of Java-index,Archived Forums,Socket Programming...
# 4
WAR - Web Application Resource
watertownjordana at 2007-7-15 0:55:18 > top of Java-index,Archived Forums,Socket Programming...
# 5
Thanks thats great.Can you guys recomend any books, or provide some background info, on this subject as WAR is something new to me?
Mozy420a at 2007-7-15 0:55:18 > top of Java-index,Archived Forums,Socket Programming...
# 6
Read the Java web services tutorials.
watertownjordana at 2007-7-15 0:55:18 > top of Java-index,Archived Forums,Socket Programming...