|
I have written a java chat program, I used java.net.socket to establish connections between the Server class and Client class.
Now i want the program to run online, so i need a place to host it.
I have startlogic web host, but i don't know how to start the Server class (an application, not applet).
How to run java class files in a server?
You might be better off getting a Shell Account or a VPS. Both will give you telnet and/or SSH access to a server and hopefully they will either have Java installed or will let you install it (VPSes definately would, Paid Shell Accounts probably would, free shell accounts might not)
For example here's a Shell Account Provider
http://www.shellxnet.com/shellhosting.ht...
How to run java class files in a server?
A java server needs to be INSTALLED on your web hosting (and its not too common)
i dont see anywhere that StartLogic even OFFERS a java server in any of its hosting packages..
How to run java class files in a server?
That is probably a standalone with main() not applet with init() and start() nor Servlet with doPost() and stuff.
Then in that case you don't need a web host but just a telnet host, and there's no such market for such a thing, you have to roll out your own domain if that program is part of a commercial development; otherwise residential ISPs may turn a blind eye if the program is really a study experiment.
|