Date: Tue, 23 Feb 1999 13:04:09 -0500
From: "Stephane Tellier" <tellier@Techolap.COM>
To: java-security@java.sun.com
Subject: About http URL and firewalls
This is a multi-part message in MIME format.
--------------EEA2746DA11F87653ED14B94
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi!
Our company is actually working on a 'Billing System' Applet,
written in 100% Java with the following structure :
Applet
Servlet
calls servlets via http, listen for response;
-------------------> connect to a Java server via a port
by sockets ------------------------------
calls images via
http.
listen the Java Server and sends results to the applet
Java Server
---------------> has a connection to an Oracle Database
with JDBC-ODBC
execute queries and sends
results to the servlet.
The Applet calls the servlets using URL class as follows (jdk
1.0.2):
String urlString = "http://"+ servlet_server + ":" + servlet_Port +
"/" + servlet_name + "?";
urlString += "QUERY=SELECT&DATAS=SOME_DATAS";
URL link = new URL (urlString);
// Reading results
DataInputStream line = new DataInputStream (link.openStream ());
// Reading first line, for example
String sLine = = line.readLine ();
My question is :
Does this suppose to bypass a standard firewall or not? Because I've
heard that http packets shouldn't be stopped by firewalls.
And what can we do with images?
Thanks.
--------------EEA2746DA11F87653ED14B94
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Description: Card for Stiphane Tellier
Content-Disposition: attachment; filename="vcard.vcf"
Content-Transfer-Encoding: 7bit
begin: vcard
fn: Stiphane Tellier
n: Tellier;Stiphane
org: Tech-OLAP
adr: 300 St-Sacrement office 420;;;Montreal;Quebec;H2Y 1X4;Canada
email;internet: tellier@techolap.com
title: consultant
tel;work: (514) 284-5432 #223
tel;fax: (514 284-2342
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
version: 2.1
end: vcard
--------------EEA2746DA11F87653ED14B94--