Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 9410 invoked from network); 18 Oct 1999 19:07:25 -0000 Received: from igw3.watson.ibm.com (198.81.209.18) by apache.org with SMTP; 18 Oct 1999 19:07:25 -0000 Received: from mailhub.watson.ibm.com (mailhub.watson.ibm.com [9.2.250.97]) by igw3.watson.ibm.com (8.9.3/8.9.3/05-14-1999) with ESMTP id PAA21366; Mon, 18 Oct 1999 15:07:21 -0400 Received: from lankabook ([9.2.46.131]) by mailhub.watson.ibm.com (8.8.7/Feb-20-98) with SMTP id PAA44254; Mon, 18 Oct 1999 15:07:21 -0400 Message-ID: <001e01bf199c$0137a600$832e0209@lankabook.watson.ibm.com> From: "Sanjiva Weerawarana" To: Cc: Subject: Re: Discussions on generating multiple languages from Jasper - where? Date: Mon, 18 Oct 1999 15:07:21 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 dIon Gillard writes: >Which list should I use if I want to start discussing how to implement >other languages in Jasper? > >I can see where code is generated and javac called for Jasper, but want to >talk design issues with others before I even think about source changes :) We have developed something called BSF (Bean Scripting Framework, http://www.alphaWorks.ibm.com/tech/bsf) which is a scripting architecture for Java. IBM WebSphere 3.0's JSP engine (which is based on the Sun Jasper code) now uses BSF to support mutliple language scripting. BSF supports today JavaScript (Rhino), NetRexx, Jacl, JPython, BML and LotusXSL. We have internally working code for all active scripting languages (VBScript, JScript, ...), LotusScript and are working on getting Perl integrated as well. WebSphere's JSP's actually support an optional "language" attribute on scriptlets (in the XML syntax only) which allows one to actually have *multiple* scripting languages on the same page. An example for where one may want such capability is to say access a MS database via an ADO in VB and feed the data into the Java JSP. BSF is currently released on binary form, but we're expecting to go to a full source, free-to-use license within a week or so. Once that happens we'll be happy to integrate BSF to Jasper (as a prototype of a way to do multiple languages) or whatever is the right thing. "We" is probably myself, Matt Duftler (who works in my dept and who did a bulk of the work of getting BSF plugged into WebSphere's JSP code) and Sam Ruby (IBM Software Group, who does a lot of stuff with BSF and other scripting issues). Sanjiva. ------------------------------------------------------------------------- Sanjiva Weerawarana, Ph.D. email: sanjiva@watson.ibm.com Manager, Component Systems tel: +1 914 784 7288 t/l 863 IBM TJ Watson Research Center fax: +1 914 784 6324 Hawthorne, NY 10598, USA. url: http://lanka.watson.ibm.com/~sanjiva -------------------------------------------------------------------------