From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,af2e7a78c5c6e7c4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-10 14:01:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!colt.net!deine.net!freenix!enst!enst.fr!not-for-mail From: "Hans-Olof Danielsson" Newsgroups: comp.lang.ada Subject: Re: Ada based web applications ( was JGnat support...) Date: Sun, 10 Mar 2002 21:44:53 +0100 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <3C8A2F63.E18B24D0@despammed.com> <3C8B53C6.BB216245@earthlink.net> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1015797662 59587 137.194.161.2 (10 Mar 2002 22:01:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 10 Mar 2002 22:01:02 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:21030 Date: 2002-03-10T21:44:53+01:00 "Ingo Marks" wrote: > > I don't think it's a clever idea just to imitate the JDK. > > An Ada based solution must provide far better features than J2EE and .NET > to make Ada attractive to developers. > > The current big problems Java and .NET suffer is performance. We all know > that Java is pretty slow compared to C++ and Ada. AFAIK Microsoft has the > same problem with .NET. Here it's not the C# compiler (they have a good JIT > compiler for it) but the very slow XML based webservices. In one computer > journal MS recently recommended NOT to use .NET based webservices. XML is > based on top of HTTP and that on TCPIP, so there is much overhead. > > Ada provides good networking and tasking capabilities. There exist an Ada > based webserver (AWS) which you can compile your own Ada applications into, > so that you don't have CGI overhead and compilation overhead (as PHP, Perl, > MSIL etc. suffer). With Adas tasking capabilities it should be possible to > write network "task" based web applications instead of page (session) based > like CGI. Currently you have the choice to use CGI (with C, C++ etc.) or > script based server modules (mod_php, mod_perl for Apache, for example). > They are all "paged based", that means they must use sessions to recover > all user data between page hits (for Java there exists another event based > solution). My idea is, that in Ada you could use tasks instead of sessions > or events. For every user a "session task" would be started which surveys > the user's actions and handle his requests. That way, even realtime > behaviour would be possible with Ada based web applications. I haven't > heard about any realtime features in Java oder .NET so far. > > Because Ada has standardized compilers (GNAT) for many platforms (Windows, > Linux, BSD, MacOSX, Sun etc.), AWS could run on several platforms and make > binary data exchange between different AWS possible. I have played a little > bit with AWS, it seems not to be pretty stable yet, but it could be > enhanced. > > The advantages of Ada based web applications are evident: > > - webserver integrated Ada applications (no CGI overhead, no compilation > overhead) > - binary data transfer between different AWS platforms (no XML overhead) > - session tasks survey user actions and allow proper actions within given > time restrictions > - better security (due to Ada features (no buffer overflows etc.)) > > could result to more powerful and much faster solutions than both J2EE > and.NET. It might be of value to have a look at http://conveyor.com/RESTwiki/moin.cgi/FrontPage and the link from there to "Principled Design of the Modern Web Architecture" to get a good foundation for the thoghts on webserver integrated Ada applications. ( eg No cookies! No frames! ) Hans-Olof