If you don't use username and password in XServer then you can login to XServer using Telnet. Otherwise, you need to write program using our supplied PLCmon.jar which provides API for interfacing to the XServer and TLServer.
Please refer to XServer installation guide regarding writing your own applet. You need to obtain XServer manager from us after signing an NDA.