The main purpose of this tech note is not to teach you how to create a Java application using 4D Open for Java, but to simply show you how to connect the client and server. Connecting through a web browser or through the DOS prompt are other ways of connecting, but there are some minor disadvantages to these types of connections. The biggest issue is time. Without using the policy tool, you will always have to type the IP address of the server. With an applet, you simply run the applet and click the Connect button. This saves you, the user, the time of having to type the IP address. Also, the biggest advantage of using the policytool is that it makes the connection faster. Otherwise, you would have to wait for the interface to load, which in some cases takes ten seconds or longer.
Download Complete Tech Note & Example: Windows | Mac