Question

If I have client server application written in java, the client is jApplet and the server is server class the use Socket to listen to any coming request, and also used thread.

The communication between client and server is object serializable classes. Japplet uses localhost and port 8080 to connect to the server.

Now if I want to deploy this client server application to external server, where I have to add the server class, is it under Public_html folder, or under www? the external server has tomcat use 8080 and it is installed under /var/lib, and also has port 80 for regular HTTP request.

And where to add jApplet client class so it can be accessible by the user.

Was it helpful?

Solution

the server could be anywhere the important is what port is listening and for the client is the same. if you need pass across a router you need verify the redirections ports are succefull.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top