Page History
...
| Direct Connection | Two-Way Socket | HTTP Tunnel | Socket Tunnel |
---|---|---|---|---|
Client machines require direct access to the Application Server's HTTP port | Yes Yes |
| Yes Yes |
|
Client machines require direct access to the Application Server's RMI port | Yes Yes |
| No | Yes |
Application Server requires direct access to all ports on each client machine | Yes | No No |
| No |
Supports client machines with proxy configuration | Yes Yes* | 1 | Yes Yes |
|
Supports SSL Encryption | No | Yes* 1 Yes |
| Yes |
Supports compression | No | Yes Yes |
| Yes |
Supports multiple IP addresses for the Application Server | No | Yes* 1 Yes |
| Yes |
* 1 See Two-Way socket under Connection Modes below
...
Setting the Connection mode
All connection modes can be configured through the Servoy Admin page, under Network Settings.
Direct Connection
...
...
SocketFactory.useTwoWaySocket:
...
set
...
to
...
false
...
SocketFactory.rmiServerFactory:
...
clear
...
the
...
field
...
SocketFactory.useSSL:
...
set
...
to
...
false
...
SocketFactory.compress:
...
set
...
to
...
false
...
Two-Way socket
...
...
SocketFactory.useTwoWaySocket:
...
set
...
to
...
true
...
SocketFactory.rmiServerFactory:
...
clear
...
the
...
field
...
If
...
the
...
fallback
...
to
...
direct
...
Connection
...
mode
...
is
...
required
...
to
...
work
...
when
...
clients
...
connection
...
with
...
Proxy
...
configuration
...
in
...
Java
...
WebStart:
...
SocketFactory.useSSL:
...
set
...
to false
...
SocketFactory.compress:
...
set
...
to false
...
Otherwise:
...
SocketFactory.useSSL:
...
set
...
to true^1^
...
SocketFactory.compress:
...
set
...
to true
...
Tunnel
SocketFactory.useTwoWaySocket: set to false
SocketFactory.rmiServerFactory: set to com.servoy.j2db.server.rmi.tunnel.ServerTunnelRMISocketFactoryFactory
SocketFactory.useSSL: set to true^1^
SocketFactory.compress: set to true
SocketFactory.tunnelConnectionMode: choose one of the three options^2^
...