Home > Archive > EAserver > November 2005 > Example of HTTP tunneling anyone!?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Example of HTTP tunneling anyone!?

2005-11-01, 7:23 am

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


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com