Hi there! I have a question about deploying java (Server)Socket applications.
I know how to make a client application and a server application. They just connect to eachother with a serversocket/socket.
I can run to two applications locally and they work fine. (they communicate)

The thing is: how can I deploy the server application on my server on the internet?
I have apache running over there. (not tomcat, but I dont need that for this simple program do I?)

Do I need to just upload some .class files with ftp? But how do I start them up over there?

In the future I want to make a simple game, where multible client applications can make a connection
with my server, where a java application is running. (with UDP in that case, right now TCP is fine)

Thanks in advance for your time/response,
Matthijs Dinant.