public static void install(String url, String jar, long deploy) {
ServerQueryContext context = ServerCallContextStack.getCallingContext();
ServerSession server = context.getServer();
TableName jarName = jarName(server, jar);
DDLFunctions ddl = server.getDXL().ddlFunctions();
NewAISBuilder aisb = AISBBasedBuilder.create(server.getDefaultSchemaName(),
ddl.getTypesTranslator());
aisb.sqljJar(jarName).url(url, true);
SQLJJar sqljJar = aisb.ais().getSQLJJar(jarName);
ddl.createSQLJJar(server.getSession(), sqljJar);
if (deploy != 0) {
new SQLJJarDeployer(context, jarName).deploy();
}
}