DocBook|Search
Class Reference
%Net.Remote.Java.Test
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%Net] >  [Remote] >  [Java] >  [Test]
Private  Storage  

abstract class %Net.Remote.Java.Test extends %RegisteredObject

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6


Summary

Methods
%%OIDGet %AddToSaveSet %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Extends %GetParameter %IsA %IsModified
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %RemoveFromSaveSet %SerializeObject %SetModified
%ValidateObject Connect JDBC ProcessError
Test TestArrays TestEager


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)
• final classmethod Test(port As %Integer, host As %String = "127.0.0.1")
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)
• final classmethod TestArrays(port As %Integer, host As %String = "127.0.0.1")
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)
• final classmethod TestEager(port As %Integer, eager As %Boolean = 1, runs As %Integer = 1000, host As %String = "127.0.0.1")