TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
X-To:
Terry Westley <[log in to unmask]>
Date:
Mon, 12 Feb 2001 19:46:44 +0100
Reply-To:
Pascal Obry <[log in to unmask]>
Subject:
From:
Pascal Obry <[log in to unmask]>
Content-Transfer-Encoding:
7bit
In-Reply-To:
Content-Type:
text/plain; charset=us-ascii
MIME-Version:
1.0
Parts/Attachments:
text/plain (43 lines)
Terry Westley writes:
 > But, the JVM is important to the Ada community, not just for Java.
 > Specifically, If you wish to build an industrial-strength dynamic,
 > data-rich web site with Ada, your only choice today is the technology
 > of JavaServer Pages (JSP) which is based on Java servlet technology
 > and the JVM.  You can write Java Beans and Java servlets with Ada
 > using JGNAT (which I've done) and also, I assume, with Object Ada.
 > Yes, I know you can write CGI programs in Ada (plug here for David
 > Wheeler's excellent AdaCGI, <http://www.dwheeler.com/>), but the CGI

Sure, but you should use this to ONLY get the CGI parameters. Never ever put
your HTML page (Put_Line ("<HTML>"); ...) into the CGI... This mistake is
made often. The code and the design must be separated. This is why I have
build the Template_Parser package (simple but it has proved to be useful to
me).

 > technique is terribly slow and very little used any more in large,
 > modern web sites.  This is primarily due to the fact that CGI creates
 > a new process on every request.

What about AWS ? There is no program spawned, it is fast and very safe since
there is no spawned programs (the spawning mechanism is one common attack to
the Web servers).

 >
 > As far as I know, template server systems (e.g., ColdFusion, PHP, ASP,
 > JSP) other than JSP have no method for using Ada as the programming
 > language.

Well AWS is all Ada :) and provides an Ada framework to build Web site.

Pascal.

--

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"

ATOM RSS1 RSS2