I've been trying to write a simple client/server program to connect from the client (my side) to the remote server but I keep getting a connection refused error message. Tech support say that
support for Java has been deprecated in Plesk 17.8, so what do I do now ? Tomcat is now deprecated so does that mean that my Java programming books regarding Java client and server code are now obsolete ?
This sounds odd. Plesk is an environment for managing hosted services and servers. It doesn't use Java (at least not the versions I have used over the years), and there is no reason why it should stop supporting Java-based servers like Tomcat.
There could be many reasons for a "connection refused" to happen, though. How are you running the server part? Which port does it try to open on the server (you may very well be limited in which ones you can use)?
There are several alternatives to Plesk. cPanel is great but the recent price increase made me switch to a free http://fastpanel.direct As far as I know, it supports Tomcat. Another full-featured free panel is VestaCP.