If I am trying to connect to as AS/400(iSeries) using JDBC in an applet, is this how the code should look to just establish the connection?
public static java.sql.Connection opnAS400Conn() throws Exception
{
String url = "domainName";
String userName = "my400UserName";
String password = "my400Password";
String libraryName = "my400LibraryName"; //This should be the library
where the datafile resides, right?
java.sql.Connection cn = null;
Class.forName("com.ibm.as400.access.AS400JDBCDriver");
cn = DriverManager.getConnection("jdbc:as400:" + url + "; translate
binary=true; naming=system; " + "extended metadata=true;libraries=" +
libraryName + "; date format=iso",userName,password);
return cn;
}