Page History
...
Setting the Connection mode
All connection modes can be configured through the Servoy Admin page, under Network Settings.
Direct Connection
Code Block |
---|
SocketFactory.useTwoWaySocket: set to false SocketFactory.rmiServerFactory: clear the field SocketFactory.useSSL: set to false SocketFactory.compress: set to false |
Two-Way socket
Code Block |
---|
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* SocketFactory.compress: set to true |
Tunnel
Code Block |
---|
SocketFactory.useTwoWaySocket: set to false SocketFactory.rmiServerFactory: set to com.servoy.j2db.server.rmi.tunnel.ServerTunnelRMISocketFactoryFactory SocketFactory.useSSL: set to true* SocketFactory.compress: set to true SocketFactory.tunnelConnectionMode: choose one of the three options |
...
Overview
Content Tools
Activity