In a two-tier configuration, the Web server and SAP Adaptive Server are both installed on the same host.
Install SAP jConnect on the Web server host.
No gateway is required.