TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Pascal Obry <[log in to unmask]>
Mon, 12 Feb 2001 11:44:06 -0800
"Robert C. Leif, Ph.D." <[log in to unmask]>
"Robert C. Leif, Ph.D." <[log in to unmask]>
text/plain; charset="iso-8859-1"
text/plain (59 lines)
From: Bob Leif
To: Pascal Obry et al.
What do I do with an HTML, XHTML, or preferably, XML web page to tell it to
use Ada as its scripting language? This could be Ada J codes or exe. Also
how does one make an Ada J code compiler call an Ada exe? Where can I find
an example of this? In any case, an Ada Virtual Machine has to be integrated
with the browser.

-----Original Message-----
From: Team Ada: Ada Advocacy Issues (83 & 95)
[mailto:[log in to unmask]]On Behalf Of Pascal Obry
Sent: Monday, February 12, 2001 10:47 AM
To: [log in to unmask]
Subject: Re: AVM vs. JVM

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, <>), 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

 > 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 Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--| "The best way to travel is by means of imagination"