TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Pascal Obry <[log in to unmask]>
Reply To:
Pascal Obry <[log in to unmask]>
Mon, 12 Feb 2001 19:46:44 +0100
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, <>), 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"