Hi,
With Lotus Domino 8.5.1, one can use "standard" Java classes into server side Javascript (embedded into an Xpage), or Java classes available in the WEB-INF/lib folder. For example :
var driverClass:java.lang.Class;
var driver:java.sql.Driver;
var connection:java.sql.Connection;
var statement:java.sql.Statement;
driverClass = java.lang.Thread.currentThread().getContextClassLoader().loadClass("org.gjt.mm.mysql.Driver");
driver = driverClass.newInstance();
(sample found here here)
However, how could one use our own custom classes defined in Java script libraries ? In an Xpage, one can only import server side javascript libraries (not Java nor LS ones).
Thanks for your help
Cheers