Using JARs to import third party code
Starting Martini Runtime v1.3, you can drag and drop services from JAR files into your services. Effectively, this means you can easily use third party code to build your services and applications.
To get started, you will need your JAR file.
To import, drag and drop the file to your Martini package's lib
directory.
After importing, reload your package.
A package reload is needed in order to add the JAR classes to the class path.
After a successful reload, you may browse and invoke services from your JAR.
To invoke a service from your JAR,
navigate to the JAR service (or method) you want to invoke.
Invocable methods consist of public
static
methods,
and public
instance methods of classes with public
nullary constructors.