|
| Hi!
Can someone give me some example of HTTP tunneling of an java applet?
Configuration of parameters... what listeners should EAServer have and so
on...
I wrote a light applet for test the tunneling.
The applet is connecting to EAServer iiop 9000 and instantiate a component
and call a method that
returns a string.
Each time I try to access the html page a connection from the client machine
to the EAServer machine port 9000 is created.
I see that in the TCP viewer.
I close the 9000 port outside the server machine (from firewall) and there
is no tunneling happening... The applet is not working after that.
Do I miss something?
This is the html file:
<HTML>
<HEAD>
<TITLE>Say Hello</TITLE>
</HEAD>
<BODY>
<APPLET CODE="testPackClient.class"
ARCHIVE="testPackClient.jar,easclient.jar" WIDTH=400 HEIGHT=200>
<PARAM NAME="protocol" VALUE="iiop">
<PARAM NAME="port" VALUE="9000">
<PARAM NAME="com.sybase.CORBA.http" VALUE="true">
<PARAM NAME="com.sybase.CORBA.https" VALUE="false">
<PARAM NAME="com.sybase.CORBA.useJSSE" VALUE="false">
<PARAM NAME="com.sybase.CORBA.forceSSL" VALUE="false">
<PARAM NAME="com.sybase.CORBA.HttpUsePost" VALUE="false">
<PARAM NAME="com.sybase.CORBA.RetryCount" VALUE="3">
<PARAM NAME="com.sybase.CORBA.RetryDelay" VALUE="2000">
</APPLET>
</BODY>
</HTML>
Regards,
Remus
|
|