Child pages
  • Network Related Settings

Versions Compared

Key

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

...

 

Direct Connection

Two-Way Socket

HTTP Tunnel

Socket Tunnel

Client machines require direct access to the Application Server's HTTP port

Yes (tick) Yes

(tick)

Yes (tick) Yes

(tick)

Client machines require direct access to the Application Server's RMI port

Yes (tick) Yes

(tick)

No (error)

Yes (tick)

Application Server requires direct access to all ports on each client machine

Yes (tick)

No (error) No

(error)

No (error)

Supports client machines with proxy configuration

Yes (tick) Yes*

(tick)1

Yes (tick) Yes

(tick)

Supports SSL Encryption

No (error)

Yes* (tick)1 Yes

(tick)

Yes (tick)

Supports compression

No (error)

Yes (tick) Yes

(tick)

Yes (tick)

Supports multiple IP addresses for the Application Server

No (error)

Yes* (tick)1 Yes

(tick)

Yes (tick)

* 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^

...