Child pages
  • Network Related Settings

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

* See #SSL Encryption for additional settings

...