this is a DoConnect for the java form