running java app on server?
I am making a chat feature on a android app(android doesnt really have to do with it) and i want to have a main server and the clients. I have done a server/client thing before and ran them both on different computers before, but i want to the server app on a host so the client can connect to it anytime. So my real question is that can you run a java application on a server and connect to it form a client? Or do i have to use something else like java EE. do know it thought
Thanks in advance