%Net.Remote.Java.Test
abstract class %Net.Remote.Java.Test extends %Library.RegisteredObject
Method Inventory
Methods
classmethod Connect(port As %Integer, host As %String) as %Net.Remote.Gateway
final classmethod JDBC(port As %Integer, host As %String = "127.0.0.1", jdbcPort As %Integer = 1972, jdbcHost As %String = "127.0.0.1")
This example establishes a connection with Cache JDBC driver, then executes
some standard JDBC code. This code should work against any database that
has a JDBC driver. Simply change the connection parameters (driver class name,
url, username and password)
To run the example, start the Java Gateway Super Server, then from your
ENSEMBLE namespace type in Do ##class(%Net.Remote.Java.Test).JDBC(port,host,jdbcPort,jdbcHost)
final classmethod ProcessError(status As %Status)
This shows how to use the sample classes delivered with Ensemble (under /dev/java/samples).
To run the example, start the Java Gateway Super Server, then from your
ENSEMBLE namespace type in Do ##class(%Net.Remote.Java.Test).Test(port,host)
This shows how to use arrays. The test uses sample classes delivered with
Ensemble (under /dev/java/samples).
To run the example, start the Java Gateway Super Server, then from your
ENSEMBLE namespace type in Do ##class(%Net.Remote.Java.Test).TestArrays(port,host)
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()