It's simple to have your applet connect to a Filemaker advanced server. Make sure the jdbc jar file is in the webservices library.
String url = "jdbc:filemaker://" + fmAddress + "/" + fmDataBase;
Connection conn = DriverManager.getConnection(url, "username",
Now the conn can be used for executing querries.